From aca96a7f4d2e89c36f9731a6542b43fbb9744428 Mon Sep 17 00:00:00 2001 From: Jacob Gadikian Date: Wed, 19 Aug 2020 01:49:15 +0700 Subject: [PATCH] Update ubuntu-req.sh (#645) Use more cores when we can, and fewer when we can't use more --- scripts/ubuntu-req.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ubuntu-req.sh b/scripts/ubuntu-req.sh index f72c48f4..a4697174 100755 --- a/scripts/ubuntu-req.sh +++ b/scripts/ubuntu-req.sh @@ -24,4 +24,4 @@ sudo apt-get install -y device-tree-compiler git clone http://git.veripool.org/git/verilator cd verilator git checkout v4.034 -autoconf && ./configure && make -j16 && sudo make install +autoconf && ./configure && make -j$(nproc) && sudo make install