Skip to content

[Downstream CI] Fix build job limt#142

Merged
pearzt merged 1 commit into
tudasc:develfrom
pearzt:ci/fix-build-job-limit
May 29, 2026
Merged

[Downstream CI] Fix build job limt#142
pearzt merged 1 commit into
tudasc:develfrom
pearzt:ci/fix-build-job-limit

Conversation

@pearzt

@pearzt pearzt commented May 28, 2026

Copy link
Copy Markdown
Member

As it turns out, CMake counterintuitively only respects CMAKE_BUILD_PARALLEL_LEVEL when not passing --parallel.

@pearzt pearzt self-assigned this May 28, 2026
@jplehr

jplehr commented May 29, 2026

Copy link
Copy Markdown
Member

So this change still makes the build run in parallel?
That's indeed counter intuitive.

@pearzt

pearzt commented May 29, 2026

Copy link
Copy Markdown
Member Author

So this change still makes the build run in parallel?

Yes, since CMAKE_BUILD_PARALLEL_LEVEL is set. Passing --parallel makes it use Ninja's default number of processes (104, in our case), indepedent of CMAKE_BUILD_PARALLEL_LEVEL.

https://cmake.org/cmake/help/latest/manual/cmake.1.html#cmdoption-cmake-build-j

@pearzt pearzt merged commit 5100bc9 into tudasc:devel May 29, 2026
4 checks passed
@pearzt pearzt deleted the ci/fix-build-job-limit branch May 29, 2026 07:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants