diff options
author | Palmer Dabbelt <palmer.dabbelt@eecs.berkeley.edu> | 2016-06-29 15:53:22 -0700 |
---|---|---|
committer | Palmer Dabbelt <palmer.dabbelt@eecs.berkeley.edu> | 2016-06-29 15:53:22 -0700 |
commit | 2603bbc11617b2f18a31522777604da7cad9b5e1 (patch) | |
tree | 4d690cb66bd649ab435fff9abb42f56d16f48ea6 | |
parent | d1bd1b165f880c277aaa93ee59133237895b31fc (diff) | |
download | riscv-tools-2603bbc11617b2f18a31522777604da7cad9b5e1.zip riscv-tools-2603bbc11617b2f18a31522777604da7cad9b5e1.tar.gz riscv-tools-2603bbc11617b2f18a31522777604da7cad9b5e1.tar.bz2 |
Use "make -j3" on Travis
Their website
https://docs.travis-ci.com/user/ci-environment/
reports we get 2 cores and while this benchmark
https://blogs.gentoo.org/ago/2013/01/14/makeopts-jcore-1-is-not-the-best-optimization/
suggests to set "-jN" to the number of cores, that might just be because
of hyperthreading. Regardless, there isn't much of a dropoff for
"N = cores+1" and that's what's generally accepted so I'm using that
instead.
-rw-r--r-- | .travis.yml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index c55137f..aadc439 100644 --- a/.travis.yml +++ b/.travis.yml @@ -26,6 +26,7 @@ addons: env: global: - RISCV="/home/travis/riscv_install" + - MAKEFLAGS="-j3" before_install: # make install destination |