aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMohammad Akhlaghi <mohammad@akhlaghi.org>2018-11-20 13:33:10 +0000
committerMohammad Akhlaghi <mohammad@akhlaghi.org>2018-11-20 13:33:10 +0000
commit1edf44917b4d28eba7d7344616b2ed3b43e29168 (patch)
tree98c8e3a6f60313f0f93166229843001d0835d3bc /configure
parentbcf45125dfb8c7940bfff9a95ca7ba87bb961b7b (diff)
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.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
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