[cig-commits] r18086 - cs/buildbot/pylith_deps/src

brad at geodynamics.org brad at geodynamics.org
Wed Mar 9 15:18:17 PST 2011


Author: brad
Date: 2011-03-09 15:18:17 -0800 (Wed, 09 Mar 2011)
New Revision: 18086

Modified:
   cs/buildbot/pylith_deps/src/makefile
Log:
Make makefile more portable.

Modified: cs/buildbot/pylith_deps/src/makefile
===================================================================
--- cs/buildbot/pylith_deps/src/makefile	2011-03-09 22:33:27 UTC (rev 18085)
+++ cs/buildbot/pylith_deps/src/makefile	2011-03-09 23:18:17 UTC (rev 18086)
@@ -1,5 +1,12 @@
-FETCH=wget -r
+# Linux
+#FETCH=wget -nd -r
+#MPICH_SHAREDARCH=GCC
 
+# Darwin
+FETCH=curl -O
+MPICH_SHAREDARCH=gcc-darwin
+
+
 default:
 
 all: gcc python mpich cppunit swig numpy fiat proj netcdf hdf5 nemesis
@@ -42,7 +49,7 @@
 	mkdir -p mpich2-1.3.2p1-build
 	cd mpich2-1.3.2p1-build && \
 		../mpich2-1.3.2p1/configure --with-pm=gforker \
-			--enable-shared --enable-sharedlibs=gcc \
+			--enable-shared --enable-sharedlibs=$(MPICH_SHAREDARCH) \
 			--disable-static --disable-mpe \
 			--prefix=$(HOME)/install/$(BUILDBOT) \
 			CC=gcc CXX=g++ FC=gfortran && \



More information about the CIG-COMMITS mailing list