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

brad at geodynamics.org brad at geodynamics.org
Tue Mar 13 09:39:08 PDT 2012


Author: brad
Date: 2012-03-13 09:39:08 -0700 (Tue, 13 Mar 2012)
New Revision: 19770

Modified:
   cs/buildbot/pylith_deps/src/makefile
Log:
Added env_flags for buildbot specific settings common across multiple packages.

Modified: cs/buildbot/pylith_deps/src/makefile
===================================================================
--- cs/buildbot/pylith_deps/src/makefile	2012-03-13 15:40:54 UTC (rev 19769)
+++ cs/buildbot/pylith_deps/src/makefile	2012-03-13 16:39:08 UTC (rev 19770)
@@ -13,6 +13,7 @@
 FETCH=wget -nd -r
 MAKE_THREADS=1
 mpich_sharedoptions=--enable-shared --enable-sharedlibs=cygwin-gcc --disable-static
+env_flags=LD_FLAGS=-no-undefined
 
 default:
 
@@ -95,7 +96,7 @@
 			$(mpich_sharedoptions) \
 			--disable-mpe \
 			--prefix=$(HOME)/install/$(BUILDBOT) \
-			CC=gcc CXX=g++ FC=gfortran && \
+			CC=gcc CXX=g++ FC=gfortran $(env_flags) && \
 		make && \
 		make install
 	if [ ! -z $(HOME)/install/$(BUILDBOT)/bin/mpirun ]; then cd $(HOME)/install/$(BUILDBOT)/bin && ln -s mpiexec mpirun; fi
@@ -106,7 +107,7 @@
 	tar --no-same-owner -zxf cppunit-1.12.1.tar.gz
 	mkdir -p cppunit-1.12.1-build
 	cd cppunit-1.12.1-build && \
-		../cppunit-1.12.1/configure --prefix=$(HOME)/pylith_deps && \
+		../cppunit-1.12.1/configure --prefix=$(HOME)/pylith_deps $(env_flags) && \
 		make -j $(MAKE_THREADS) && \
 		make install
 
@@ -116,7 +117,7 @@
 	tar --no-same-owner -zxf pcre-8.12.tar.gz
 	mkdir -p pcre-8.12-build
 	cd pcre-8.12-build && \
-		../pcre-8.12/configure --prefix=$(HOME)/pylith_deps && \
+		../pcre-8.12/configure --prefix=$(HOME)/pylith_deps $(env_flags) && \
 		make -j $(MAKE_THREADS) && \
 		make install
 
@@ -152,7 +153,7 @@
 	cd proj-4.7.0-build/nad && \
 		unzip ../../proj-datumgrid-1.3.zip
 	cd proj-4.7.0-build && \
-		../proj-4.7.0/configure --prefix=$(HOME)/install/$(BUILDBOT) && \
+		../proj-4.7.0/configure --prefix=$(HOME)/install/$(BUILDBOT)  $(env_flags) && \
 		make -j $(MAKE_THREADS) && \
 		make install
 
@@ -163,7 +164,7 @@
 	mkdir -p netcdf-4.1.1-build
 	cd netcdf-4.1.1-build && \
 		../netcdf-4.1.1/configure --prefix=$(HOME)/install/$(BUILDBOT) \
-			--enable-shared --disable-static --disable-netcdf-4 --disable-dap && \
+			--enable-shared --disable-static --disable-netcdf-4 --disable-dap  $(env_flags) && \
 		make -j $(MAKE_THREADS) && \
 		make install
 
@@ -173,7 +174,7 @@
 	tar --no-same-owner -zxvf hdf5-1.8.6.tar.gz
 	mkdir -p hdf5-1.8.6-build
 	cd hdf5-1.8.6-build && \
-		../hdf5-1.8.6/configure --enable-fortran --enable-parallel --enable-shared --disable-static --prefix=$(HOME)/install/$(BUILDBOT) CC=mpicc CXX=mpicxx FC=mpif90 && \
+		../hdf5-1.8.6/configure --enable-fortran --enable-parallel --enable-shared --disable-static --prefix=$(HOME)/install/$(BUILDBOT) CC=mpicc CXX=mpicxx FC=mpif90  $(env_flags) && \
 		make -j $(MAKE_THREADS) && \
 		make install
 



More information about the CIG-COMMITS mailing list