Define alias for common cflags re implicit definitions

This commit is contained in:
Jose Gracia 2024-07-16 04:29:29 -05:00
parent 1e7a11ac2d
commit 84c5821f85

View file

@ -4,6 +4,7 @@ spack:
- core_compiler: [gcc@7.5] - core_compiler: [gcc@7.5]
- compilers: [gcc@13.2, cce@18.0] - compilers: [gcc@13.2, cce@18.0]
- mpis: [cray-mpich@8.1.30] - mpis: [cray-mpich@8.1.30]
- cflags_noerror_implicit: ['cflags="-Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=int-conversion"']
packages: packages:
all: all:
prefer: ['%gcc@7.5'] prefer: ['%gcc@7.5']
@ -14,7 +15,7 @@ spack:
- [$%core_compiler] - [$%core_compiler]
- matrix: - matrix:
- [mpip, extrae] - [mpip, extrae]
- ['cflags="-Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=int-conversion"'] - [$cflags_noerror_implicit] # code is not fully C99
- [$^mpis] - [$^mpis]
- [$%compilers] - [$%compilers]
view: false view: false