mirror of
https://github.com/openhwgroup/cvw
synced 2025-01-24 05:24:49 +00:00
Automatically determine number of threads to use in wally-tool-chain-install
This commit is contained in:
parent
e6b3257862
commit
676c6b88a0
@ -29,11 +29,8 @@
|
||||
## and limitations under the License.
|
||||
################################################################################################
|
||||
|
||||
# MODIFY FOR YOUR MACHINE
|
||||
# Increasing NUM_THREADS will speed up parallel compilation of the tools
|
||||
#NUM_THREADS=2 # for low memory machines > 16GiB
|
||||
NUM_THREADS=8 # for >= 32GiB
|
||||
#NUM_THREADS=16 # for >= 64GiB
|
||||
NUM_THREADS=$(nproc --ignore 1) # One less than the total number of threads
|
||||
|
||||
# Colors
|
||||
BOLD='\033[1m'
|
||||
|
Loading…
Reference in New Issue
Block a user