spack/lib/spack/env
Michael Kuhn 2d34acf29e
cc: Use parameter expansion instead of basename (#24509)
While debugging #24508, I noticed that we call `basename` in `cc`. The
same can be achieved by using Bash's parameter expansion, saving one
external process per call.

Parameter expansion cannot replace basename for directories in some
cases, but is guaranteed to work for executables.
2021-09-16 16:25:49 +00:00
..
aocc Adding AOCC compiler to SPACK community (#19345) 2020-10-20 10:50:09 -05:00
arm
case-insensitive
cce
clang
fj
gcc
intel
nag
nvhpc New compiler: nvhpc (NVIDIA HPC SDK) (#19294) 2020-10-16 14:04:27 -07:00
oneapi Oneapi add compiler (#19330) 2020-10-29 16:52:54 -05:00
pgi
xl
xl_r
c89
c99
c++
cc cc: Use parameter expansion instead of basename (#24509) 2021-09-16 16:25:49 +00:00
cpp
f77
f90
f95
fc
ftn
ld
ld.gold Add ld.gold and ld.lld compiler wrapper (#25626) 2021-08-27 13:16:26 +02:00
ld.lld Add ld.gold and ld.lld compiler wrapper (#25626) 2021-08-27 13:16:26 +02:00