Skip to content

Commit b042476

Browse files
committed
Use a better default value for parallel jobs.
1 parent 04cc75f commit b042476

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export PATH="$ONL/tools/scripts:$ONL/tools:$PATH"
2323

2424
# Parallel Make Jobs
2525
# Default parallel build settings
26-
export ONL_MAKE_PARALLEL=-j16
26+
export ONL_MAKE_PARALLEL=-j$(echo "$(nproc) * 2" | bc)
2727

2828
# Version files
2929
$ONL/tools/make-versions.py --import-file=$ONL/tools/onlvi --class-name=OnlVersionImplementation --output-dir $ONL/make/versions

0 commit comments

Comments
 (0)