spack/lib/spack
Gregory Lee b56d65fce5
Compilers: make oneapi ifx version_regex tolerant to wrappers (#21742)
If a user creates a wrapper for the ifx binary called ifx_orig,
this causes the ifx --version command to produce:

$ ifx --version
ifx_orig (IFORT) 2021.1 Beta 20201113
Copyright (C) 1985-2020 Intel Corporation. All rights reserved.

The regex for ifx currently expects the output to begin with
"ifx (IFORT)..." so the wrapper would not be detected as ifx. This
PR removes the need for the static "ifx" string which allows wrappers
to be detected as ifx.

In general, the Intel compiler regexes do not include the invoked
executable name (i.e., ifort, icc, icx, etc.), so this is not
expected to cause any issues.
2021-02-26 14:57:40 -08:00
..
docs documentation: correct precedence of included configs in environment spack.yaml (#18663) 2021-02-19 13:31:47 +00:00
env Fix: Add a space between -isystem and the directory (#21599) 2021-02-10 15:56:42 -08:00
external Python 3.10 support: collections.abc (#20441) 2021-02-01 11:30:25 -06:00
llnl [WIP] relocate.py: parallelize test replacement logic (#19690) 2021-02-17 17:07:44 -08:00
spack Compilers: make oneapi ifx version_regex tolerant to wrappers (#21742) 2021-02-26 14:57:40 -08:00