Objet : Developers list for StarPU
Archives de la liste
- From: Samuel Thibault <samuel.thibault@inria.fr>
- To: Florent Pruvost <florent.pruvost@inria.fr>, starpu-devel@lists.gforge.inria.fr
- Subject: Re: [Starpu-devel] build starpu+simgrid mac os x 10.9
- Date: Wed, 21 Oct 2015 15:13:40 +0200
- List-archive: <http://lists.gforge.inria.fr/pipermail/starpu-devel/>
- List-id: "Developers list. For discussion of new features, code changes, etc." <starpu-devel.lists.gforge.inria.fr>
Could you try the attached patch on starpu 1.1?
Samuel
Index: configure.ac
===================================================================
--- configure.ac (révision 16318)
+++ configure.ac (copie de travail)
@@ -127,8 +127,13 @@
libext=a
AC_DEFINE(STARPU_HAVE_WINDOWS, [], [Define this on windows.])
;;
+*-*darwin*)
+ starpu_darwin=yes
+ AC_DEFINE(STARPU_HAVE_DARWIN, [], [Define this on darwin.])
+ ;;
esac
AM_CONDITIONAL([STARPU_HAVE_WINDOWS], [test "x$starpu_windows" = "xyes"])
+AM_CONDITIONAL([STARPU_HAVE_DARWIN], [test "x$starpu_darwin" = "xyes"])
# on Darwin, GCC targets i386 by default, so we don't have atomic ops
AC_CHECK_SIZEOF([void *])
Index: src/Makefile.am
===================================================================
--- src/Makefile.am (révision 16317)
+++ src/Makefile.am (copie de travail)
@@ -1,6 +1,6 @@
# StarPU --- Runtime system for heterogeneous multicore architectures.
#
-# Copyright (C) 2009-2014 Université de Bordeaux
+# Copyright (C) 2009-2015 Université de Bordeaux
# Copyright (C) 2010, 2011, 2012, 2013, 2015 Centre National de la
Recherche Scientifique
# Copyright (C) 2011 INRIA
#
@@ -55,6 +55,10 @@
libstarpu_@STARPU_EFFECTIVE_VERSION@_la_LDFLAGS = $(ldflags) $(FXT_LDFLAGS)
-no-undefined
\
-version-info $(libstarpu_so_version)
+if STARPU_HAVE_DARWIN
+libstarpu_@STARPU_EFFECTIVE_VERSION@_la_LDFLAGS += -Wl,-U,_starpu_main
+endif
+
noinst_HEADERS = \
core/dependencies/data_concurrency.h \
core/dependencies/cg.h \
- [Starpu-devel] build starpu+simgrid mac os x 10.9, Florent Pruvost, 21/10/2015
- Re: [Starpu-devel] build starpu+simgrid mac os x 10.9, Samuel Thibault, 21/10/2015
- Re: [Starpu-devel] build starpu+simgrid mac os x 10.9, Florent Pruvost, 21/10/2015
- Re: [Starpu-devel] build starpu+simgrid mac os x 10.9, Samuel Thibault, 21/10/2015
- Re: [Starpu-devel] build starpu+simgrid mac os x 10.9, Samuel Thibault, 21/10/2015
- Re: [Starpu-devel] build starpu+simgrid mac os x 10.9, Florent Pruvost, 21/10/2015
- Re: [Starpu-devel] build starpu+simgrid mac os x 10.9, Samuel Thibault, 21/10/2015
- Re: [Starpu-devel] build starpu+simgrid mac os x 10.9, Samuel Thibault, 21/10/2015
- Re: [Starpu-devel] build starpu+simgrid mac os x 10.9, Florent Pruvost, 21/10/2015
- Re: [Starpu-devel] build starpu+simgrid mac os x 10.9, Samuel Thibault, 21/10/2015
Archives gérées par MHonArc 2.6.19+.