From 86d93b56c05609565a1a4566de37ae0283896bd7 Mon Sep 17 00:00:00 2001 From: Mohammad Akhlaghi Date: Wed, 1 May 2019 00:50:37 +0100 Subject: Problem in generic CMake rule corrected In the recent correction of backslashes, I had missed adding an `&&' before the `rm' command of the generic CMake building rule (`cbuild' of `build-rules.mk'). With this commit, this has been corrected. A multi-threaded Make was also added to build OpenMPI (which takes long and is often built alone because it takes so long and other things depend on it) and the HDF5 library. --- reproduce/software/make/build-rules.mk | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'reproduce/software/make/build-rules.mk') 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) -- cgit v1.2.1