Skip to content

Configure used cmake compiler #3783

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

Open
baszalmstra opened this issue May 19, 2025 — with Linear · 0 comments
Open

Configure used cmake compiler #3783

baszalmstra opened this issue May 19, 2025 — with Linear · 0 comments
Labels
area:build Related to pixi build cmake

Comments

Copy link
Contributor

Currently the cmake build backend always selects the `cpp` compiler. When we want to use CUDA we also need to add ${{ compiler("cuda") }}.

We want to keep using a sane default ("cpp", or magic in the future) but if the user explicitly configure it, it should also be possible to overwrite this behavior:

[package.build.configuration]
compilers = ["cpp"] # If not specified this will be the default
compilers = ["cpp", "cuda"]
@baszalmstra baszalmstra added area:build Related to pixi build cmake labels May 19, 2025 — with Linear
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:build Related to pixi build cmake
Projects
None yet
Development

No branches or pull requests

1 participant