spack/lib/spack/env
Andrew W Elble f1050c4be2
compiler wrappers: don't override -isystem with -I (#16077)
If the Spack compiler wrapper encounters any "-isystem" option, then
when adding include directories for Spack dependencies, Spack will
use "-isystem" instead of "-I". This prevents Spack-generated "-I"
options from overriding the "-isystem" options generated by the build
system. To ensure that build-system "-isystem" directories are
searched first, Spack places all of its inserted "-isystem"
directories after.

The new ordering of -isystem includes is:

* -isystem from build system (not system directories)
* -isystem from Spack
* -isystem from build system (for directories like /usr/include)

The prior order of "-I" arguments is preserved (although as of this
commit Spack no longer generates -I if -isystem is detected):

* -I from build system (not system directories)
* -I from Spack (only if there are no "-isystem" options)
* -I from build system (for directories like /usr/include)
2020-04-21 13:56:50 -07:00
..
arm Armcompiler (#9840) 2019-01-08 16:31:25 -08:00
case-insensitive
cce cc: clean up cray compilers, fix issues with case-insensitive filesystems (#10323) 2019-01-12 17:37:20 -08:00
clang
fj Add Fujitsu compiler to Spack. (#11287) 2019-05-21 20:31:14 -05:00
gcc
intel
nag
pgi
xl
xl_r
c89
c99
c++
cc compiler wrappers: don't override -isystem with -I (#16077) 2020-04-21 13:56:50 -07:00
cpp
f77
f90
f95
fc
ftn Add ftn to lib/spack/env (#11180) 2019-04-17 13:12:25 -07:00
ld