From ad4e58bff78d4e5b6816b67d7dd1691beeefd74e Mon Sep 17 00:00:00 2001 From: Mohammad Akhlaghi Date: Thu, 13 Dec 2018 11:47:59 +0000 Subject: Fixed numthreads in dependencies also Some problems with using the number of threads in dependency building were fixed. --- reproduce/src/make/dependencies-basic.mk | 6 +++--- reproduce/src/make/dependencies.mk | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'reproduce/src/make') diff --git a/reproduce/src/make/dependencies-basic.mk b/reproduce/src/make/dependencies-basic.mk index a852ae0..823a515 100644 --- a/reproduce/src/make/dependencies-basic.mk +++ b/reproduce/src/make/dependencies-basic.mk @@ -407,9 +407,9 @@ $(ibdir)/ls: $(tdir)/coreutils-$(coreutils-version).tar.xz \ $(ilidir)/openssl # Coreutils will use the hashing features of OpenSSL's `libcrypto'. # See Tar's comments for the `-j' option. - $(call gbuild, $<, coreutils-$(coreutils-version), static, \ - LDFLAGS="$(LDFLAGS)" CPPFLAGS="$(CPPFLAGS)" \ - --enable-rpath --disable-silent-rules --with-openssl, + $(call gbuild, $<, coreutils-$(coreutils-version), static, \ + LDFLAGS="$(LDFLAGS)" CPPFLAGS="$(CPPFLAGS)" \ + --enable-rpath --disable-silent-rules --with-openssl, \ -j$(numthreads)) $(ibdir)/pkg-config: $(tdir)/pkg-config-$(pkgconfig-version).tar.gz \ diff --git a/reproduce/src/make/dependencies.mk b/reproduce/src/make/dependencies.mk index 836bcfc..2b5a118 100644 --- a/reproduce/src/make/dependencies.mk +++ b/reproduce/src/make/dependencies.mk @@ -336,11 +336,11 @@ $(ibdir)/astnoisechisel: $(tdir)/gnuastro-$(gnuastro-version).tar.lz \ $(ilidir)/wcslib ifeq ($(static_build),yes) $(call gbuild, $<, gnuastro-$(gnuastro-version), static, \ - --enable-static=yes --enable-shared=no, -j8, \ - make check -j8) + --enable-static=yes --enable-shared=no, \ + -j$(numthreads), make check -j$(numthreads)) else - $(call gbuild, $<, gnuastro-$(gnuastro-version), , , -j8, \ - make check -j8) + $(call gbuild, $<, gnuastro-$(gnuastro-version), , , \ + -j$(numthreads), make check -j$(numthreads)) endif -- cgit v1.2.1