aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md7
-rw-r--r--build.common6
2 files changed, 3 insertions, 10 deletions
diff --git a/README.md b/README.md
index 462a3e1..cadf942 100644
--- a/README.md
+++ b/README.md
@@ -206,12 +206,7 @@ environment variable now:
$ export PATH=$PATH:$RISCV/bin
-One more thing: If your machine doesn't have the capacity to
-handle 16 make jobs (or conversely, it can handle more), edit
-`build.common` to change the number specified by
-`JOBS`.
-
- O$ sed -i 's/JOBS=16/JOBS=[number]/' build.common
+The number of parallel compiler runs is set by `$MAKEFLAGS`.
With everything else set up, run the build script. Recall that if you're using a new-version of gcc that isn't the default on your system, you'll need to precede the `./build.sh` with `CC=gcc-4.8 CXX=g++-4.8`:
diff --git a/build.common b/build.common
index 7a7e797..3b6a1c4 100644
--- a/build.common
+++ b/build.common
@@ -1,8 +1,6 @@
# Script to build RISC-V ISA simulator, proxy kernel, and GNU toolchain.
# Tools will be installed to $RISCV.
-JOBS=16
-
if [ "x$RISCV" = "x" ]
then
echo "Please set the RISCV environment variable to your preferred install path."
@@ -31,8 +29,8 @@ function build_project {
echo "Configuring project $PROJECT"
../configure $* > build.log
echo "Building project $PROJECT"
- $MAKE -j$JOBS >> build.log
+ $MAKE >> build.log
echo "Installing project $PROJECT"
- $MAKE -j$JOBS install >> build.log
+ $MAKE install >> build.log
cd - > /dev/null
}