aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--reproduce/software/make/build-rules.mk7
-rw-r--r--reproduce/software/make/high-level.mk7
2 files changed, 9 insertions, 5 deletions
diff --git a/reproduce/software/make/build-rules.mk b/reproduce/software/make/build-rules.mk
index f888df7..b82ccc0 100644
--- a/reproduce/software/make/build-rules.mk
+++ b/reproduce/software/make/build-rules.mk
@@ -110,7 +110,10 @@ cbuild = if [ x$(static_build) = xyes ] && [ $(3)x = staticx ]; then \
export LDFLAGS="$$LDFLAGS -static"; \
opts="-DBUILD_SHARED_LIBS=OFF"; \
fi; \
- cd $(ddir) && rm -rf $(2) && tar xf $(1) && cd $(2) \
+ cd $(ddir) \
+ && rm -rf $(2) \
+ && tar xf $(1) \
+ && cd $(2) \
&& rm -rf project-build \
&& mkdir project-build \
&& cd project-build \
@@ -119,4 +122,4 @@ cbuild = if [ x$(static_build) = xyes ] && [ $(3)x = staticx ]; then \
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON $$opts $(4) \
&& make && make install \
&& cd ../.. \
- rm -rf $(2)
+ && rm -rf $(2)
diff --git a/reproduce/software/make/high-level.mk b/reproduce/software/make/high-level.mk
index 3225e41..866d5d2 100644
--- a/reproduce/software/make/high-level.mk
+++ b/reproduce/software/make/high-level.mk
@@ -294,7 +294,7 @@ $(ibidir)/hdf5: $(tdir)/hdf5-$(hdf5-version).tar.gz \
export FC=mpif90; \
$(call gbuild, $<, hdf5-$(hdf5-version), static, \
--enable-parallel \
- --enable-fortran, V=1) \
+ --enable-fortran, -j$(numthreads) V=1) \
&& echo "HDF5 library $(hdf5-version)" > $@
$(ibidir)/libjpeg: $(tdir)/jpegsrc.$(libjpeg-version).tar.gz
@@ -327,7 +327,8 @@ $(ibidir)/libtiff: $(tdir)/tiff-$(libtiff-version).tar.gz \
&& echo "Libtiff $(libtiff-version)" > $@
$(ibidir)/openmpi: $(tdir)/openmpi-$(openmpi-version).tar.gz
- $(call gbuild, $<, openmpi-$(openmpi-version), static, , V=1) \
+ $(call gbuild, $<, openmpi-$(openmpi-version), static, , \
+ -j$(numthreads) V=1) \
&& echo "Open MPI $(openmpi-version)" > $@
$(ibidir)/atlas: $(tdir)/atlas-$(atlas-version).tar.bz2 \
@@ -451,7 +452,7 @@ $(ibidir)/libgit2: $(tdir)/libgit2-$(libgit2-version).tar.gz \
-DUSE_SSH=OFF -DBUILD_CLAR=OFF \
-DTHREADSAFE=ON )
- # Correct the shared library absolute address if necessary.
+ # Correct the shared library absolute address on Mac systems.
if [ x$(on_mac_os) = xyes ]; then
install_name_tool -id $(ildir)/libgit2.26.dylib \
$(ildir)/libgit2.26.dylib