From 1edf44917b4d28eba7d7344616b2ed3b43e29168 Mon Sep 17 00:00:00 2001 From: Mohammad Akhlaghi Date: Tue, 20 Nov 2018 13:33:10 +0000 Subject: Corrected call to nproc in configure script After installing the basic dependencies, we have access to the internally built `nproc' program (by Coreutils) to find the number of threads we can use for building the high-level batch of dependencies. Unfortunately, I had added an extra `./' before `$instdir' when calling `nproc' so the script failed. This problem is fixed now. --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure') diff --git a/configure b/configure index 908affc..fc3aa44 100755 --- a/configure +++ b/configure @@ -495,7 +495,7 @@ make -f reproduce/src/make/dependencies-basic.mk \ # Makefile. To make the job easier, we'll do it in a Makefile, not a # script. Bash and Make were the tools we need to run Makefiles, so we had # to build them in this script. But after this, we can rely on Makefiles. -numthreads=$(./$instdir/bin/nproc) +numthreads=$($instdir/bin/nproc) ./.local/bin/make -f reproduce/src/make/dependencies.mk \ static_build=$static_build #-j$numthreads -- cgit v1.2.1