Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build options broken with sysbuild #79099

Open
carlescufi opened this issue Sep 27, 2024 · 0 comments
Open

Build options broken with sysbuild #79099

carlescufi opened this issue Sep 27, 2024 · 0 comments
Assignees
Labels
area: Build System area: Sysbuild bug The issue is a bug, or the PR is fixing a bug

Comments

@carlescufi
Copy link
Member

After investigating #79057, we have discovered that build options, both with west and ninja, are broken with sysbuild.

So, this works:
west build -b nrf54h20dk/nrf54h20/cpuapp --build-opt=-j1 samples/hello_world (built by a single core)
but this is broken:
west build -b nrf54h20dk/nrf54h20/cpuapp --build-opt=-j1 --sysbuild samples/hello_world (ignores the-j1, uses all cores)

The only way to limit the cores with sysbuild is:
CMAKE_BUILD_PARALLEL_LEVEL=1 west build -b nrf54h20dk/nrf54h20/cpuapp --sysbuild samples/hello_world

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Build System area: Sysbuild bug The issue is a bug, or the PR is fixing a bug
Projects
None yet
Development

No branches or pull requests

2 participants