Define alias for common cflags re implicit definitions
This commit is contained in:
parent
1e7a11ac2d
commit
84c5821f85
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue