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 Armcompiler (#9840) 2019-01-08 16:31:25 -08:00
case-insensitive Dependencies now work. Added libelf, libdwarf. 2013-02-18 23:46:04 -08:00
cce cc: clean up cray compilers, fix issues with case-insensitive filesystems (#10323) 2019-01-12 17:37:20 -08:00
clang compilers/clang: add flang (#5503) 2017-10-10 13:52:10 -07:00
fj Add Fujitsu compiler to Spack. (#11287) 2019-05-21 20:31:14 -05:00
gcc Fix #254: libtool & distutils want certain compiler names. 2015-12-19 02:06:47 -08:00
intel Fix #254: libtool & distutils want certain compiler names. 2015-12-19 02:06:47 -08:00
nag Add symlink for NAG Fortran Compiler 2016-01-19 13:07:07 -06:00
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 Modifications to get PGI working 2016-03-03 16:50:51 -06:00
xl Fix #254: libtool & distutils want certain compiler names. 2015-12-19 02:06:47 -08:00
xl_r Add support for IBM threaded compilers: xl*_r (#2894) 2017-01-25 16:26:17 -07:00
c++ Dependencies now work. Added libelf, libdwarf. 2013-02-18 23:46:04 -08:00
c89 Dependencies now work. Added libelf, libdwarf. 2013-02-18 23:46:04 -08:00
c99 Dependencies now work. Added libelf, libdwarf. 2013-02-18 23:46:04 -08:00
cc cc: Use parameter expansion instead of basename (#24509) 2021-09-16 16:25:49 +00:00
cpp Dependencies now work. Added libelf, libdwarf. 2013-02-18 23:46:04 -08:00
f77 Fix for SPACK-35: Fortran not working properly 2014-07-09 01:28:23 -07:00
f90 Fix for SPACK-35: Fortran not working properly 2014-07-09 01:28:23 -07:00
f95 Fix for SPACK-35: Fortran not working properly 2014-07-09 01:28:23 -07:00
fc Fix for SPACK-35: Fortran not working properly 2014-07-09 01:28:23 -07:00
ftn Add ftn to lib/spack/env (#11180) 2019-04-17 13:12:25 -07:00
ld Dependencies now work. Added libelf, libdwarf. 2013-02-18 23:46:04 -08:00
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