Skip to content

Commit

Permalink
set build_jobs=nproc to avoid OOM kill
Browse files Browse the repository at this point in the history
  • Loading branch information
BenWibking committed Aug 31, 2024
1 parent 79595f2 commit d05d48c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/docker/ascent_build.patch
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
enable_tests="${enable_tests:=OFF}"
enable_verbose="${enable_verbose:=ON}"
-build_jobs="${build_jobs:=6}"
+build_jobs="${build_jobs:=16}"
+build_jobs=`nproc`
build_config="${build_config:=Release}"
build_shared_libs="${build_shared_libs:=ON}"

Expand Down

0 comments on commit d05d48c

Please sign in to comment.