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

Explicit negation of feature with ./wcb --with-*=no for Spack ~* variants #16

Open
brettviren opened this issue Jun 14, 2024 · 0 comments

Comments

@brettviren
Copy link
Member

It occurs to me that a potential bug can exist in the current WCT Spack recipe.

The user may not enable optional variants (eg no +hdf) or may explicitly disable (eg ~hdf) and this can still cause ./wcb configure to find some installation. For example if the build host has HDF5 OS packages installed, then wcb can find them "for us" via pkg-config.

What is needed is to remove ambiguity and explicitly turn off wcb build config options that were not explicitly turned on by a Spack variant.

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

No branches or pull requests

1 participant