We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72c549e commit a03ccd8Copy full SHA for a03ccd8
.github/workflows/root-ci-config/build_root.py
@@ -376,10 +376,11 @@ def dump_requested_config(options):
376
@github_log_group("Build")
377
def cmake_build(buildtype):
378
generator_flags = "-- '-verbosity:minimal'" if WINDOWS else ""
379
+ parallel_jobs = "4" if WINDOWS else str(os.cpu_count())
380
381
builddir = os.path.join(WORKDIR, "build")
382
result = subprocess_with_log(f"""
- cmake --build '{builddir}' --config '{buildtype}' --parallel '{os.cpu_count()}' {generator_flags}
383
+ cmake --build '{builddir}' --config '{buildtype}' --parallel '{parallel_jobs}' {generator_flags}
384
""")
385
386
if result != 0:
0 commit comments