spack/lib/spack
Dom Heinzeller 0902910784
Compiler wrapper: add env var to pass vcheck flags (#44588)
Fixes #43494

Add a set of environment variables SPACK_ALWAYS_CFLAGS (etc.) that
are always applied by the compiler wrapper.

Unlike SPACK_CFLAGS, for example, these will also be applied to
version checks (both SPACK_CFLAGS and SPACK_ALWAYS_CFLAGS will be
applied to the other invocation modes like ccld etc.).

Using this new functionality, the classic Intel and oneAPI compilers
are updated to pass compiler flags that disable warning messages
when newer versions are invoked via their older binary names
(these warnings were also generated for version checks, hence the
need for a new wrapper variable).

---------

Co-authored-by: Peter Josef Scheibel <scheibel1@llnl.gov>
2024-08-08 06:40:36 +00:00
..
docs build(deps): bump flake8 from 7.1.0 to 7.1.1 in /lib/spack/docs (#45588) 2024-08-06 07:08:57 +02:00
env Compiler wrapper: add env var to pass vcheck flags (#44588) 2024-08-08 06:40:36 +00:00
external Update vendored archspec to v0.2.4 (#44005) 2024-05-06 10:20:56 +02:00
llnl Fix bug in logfile parsing (#42706) 2024-06-27 07:07:30 -06:00
spack Compiler wrapper: add env var to pass vcheck flags (#44588) 2024-08-08 06:40:36 +00:00
spack_installable Update copyright year to 2024 (#41919) 2024-01-02 09:21:30 +01:00