Open wdconinc opened 1 year ago
I think the way this could be handled is by adding a default value default
, which doesn't override the default c++ standard in the build. See e.g. jsoncpp, xerces-c, and a few others. I guess another approach could be to use the value default
to then pick an actual value to pass explicitly in cmake_args.
Steps to reproduce the issue
Error message
Error message
Information on your system
Additional information
Per https://spack.readthedocs.io/en/latest/packaging_guide.html#overriding-variants, the variant defaults for
cxxstd
are not actually taken into account. See example in the docs, in particular: "The default for this variant, when it is present, is always True, regardless of which condition of the variant is satisfied."Maintainers: @gartung @greenc-FNAL @marcmengel @vitodb
General information
spack debug report
and reported the version of Spack/Python/Platformspack maintainers <name-of-the-package>
and @mentioned any maintainers