diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2024-06-04 12:46:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-04 03:46:35 -0700 |
commit | 89a0c9f4b3ed0df868c7afd2e2bc5e6f2837fe43 (patch) | |
tree | a6798610b364a26d56c5a88bad2077ada5936639 /pyproject.toml | |
parent | 259629c300d9f3d669a31eb75663655b0ef88a75 (diff) | |
download | spack-89a0c9f4b3ed0df868c7afd2e2bc5e6f2837fe43.tar.gz spack-89a0c9f4b3ed0df868c7afd2e2bc5e6f2837fe43.tar.bz2 spack-89a0c9f4b3ed0df868c7afd2e2bc5e6f2837fe43.tar.xz spack-89a0c9f4b3ed0df868c7afd2e2bc5e6f2837fe43.zip |
nvhpc: Do not use `-Wno-error` with `nvhpc` (#44142)
In #30882, we made Spack ignore `-Werror` calls so that it could more easily build
projects that inject `-Werror` into their builds. We did this by translating them to
`-Wno-error` in the compiler wrapper. However, some compilers (like `nvhpc`) do not
support `-Wno-error`. We need to exclude them from this feature until they do.
- [x] make a property on `PackageBase` for `keep_werror` that knows not to use it for
`nvhpc`.
- [x] update property so that it keeps only the specific `-Werror=...` args for newer nvhpc's,
which support `-Wno-error` but not `-Wno-error=...`
---------
Co-authored-by: William Mou <william.mou1024@gmail.com>
Co-authored-by: Tom Scogland <scogland1@llnl.gov>
Signed-off-by: Todd Gamblin <tgamblin@llnl.gov>
Diffstat (limited to 'pyproject.toml')
0 files changed, 0 insertions, 0 deletions