mirror of
https://github.com/Z3Prover/z3
synced 2026-08-02 20:23:27 +00:00
clang-tidy-warning-report: parallelize build using all available cores (#10351)
The clang-tidy warning report workflow was building Z3 single-threaded, making the job unnecessarily slow on multi-core runners. ## Change - Added `--parallel $(nproc)` to the `cmake --build` invocation, consistent with how `ci.yml` parallelizes builds (e.g. `make -j$(nproc)`). ```yaml cmake --build build --target shell test-z3 --parallel $(nproc) -- -k 0 ``` Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
This commit is contained in:
parent
373dbb2633
commit
7b0a54c849
1 changed files with 1 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ jobs:
|
|||
2>&1 | tee /tmp/clang-tidy-warning-report/configure.log || configure_status=$?
|
||||
|
||||
if [ "$configure_status" -eq 0 ]; then
|
||||
cmake --build build --target shell test-z3 -- -k 0 \
|
||||
cmake --build build --target shell test-z3 --parallel $(nproc) -- -k 0 \
|
||||
2>&1 | tee /tmp/clang-tidy-warning-report/build.log || build_status=$?
|
||||
else
|
||||
printf 'configure failed; build skipped\n' | tee /tmp/clang-tidy-warning-report/build.log
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue