Fix errors found by running spack audit externals
(#47308)
The problem was that `+` is part of the regex grammar, so it needs to be escaped.
This commit is contained in:
parent
271106e5dd
commit
243ee7203a
@ -26,7 +26,7 @@ paths:
|
|||||||
extra_attributes:
|
extra_attributes:
|
||||||
compilers:
|
compilers:
|
||||||
c: ".*/bin/gcc"
|
c: ".*/bin/gcc"
|
||||||
cxx: ".*/bin/g++"
|
cxx: ".*/bin/g\\+\\+"
|
||||||
|
|
||||||
# Mock a version < 7 of GCC that requires -dumpversion and
|
# Mock a version < 7 of GCC that requires -dumpversion and
|
||||||
# errors with -dumpfullversion
|
# errors with -dumpfullversion
|
||||||
|
@ -24,7 +24,7 @@ paths:
|
|||||||
extra_attributes:
|
extra_attributes:
|
||||||
compilers:
|
compilers:
|
||||||
c: ".*/bin/nvc"
|
c: ".*/bin/nvc"
|
||||||
cxx: ".*/bin/nvc++"
|
cxx: ".*/bin/nvc\\+\\+"
|
||||||
fortran: ".*/bin/nvfortran"
|
fortran: ".*/bin/nvfortran"
|
||||||
- layout:
|
- layout:
|
||||||
- executables:
|
- executables:
|
||||||
@ -51,7 +51,7 @@ paths:
|
|||||||
extra_attributes:
|
extra_attributes:
|
||||||
compilers:
|
compilers:
|
||||||
c: ".*/bin/nvc"
|
c: ".*/bin/nvc"
|
||||||
cxx: ".*/bin/nvc++"
|
cxx: ".*/bin/nvc\\+\\+"
|
||||||
fortran: ".*/bin/nvfortran"
|
fortran: ".*/bin/nvfortran"
|
||||||
- layout:
|
- layout:
|
||||||
- executables:
|
- executables:
|
||||||
@ -78,5 +78,5 @@ paths:
|
|||||||
extra_attributes:
|
extra_attributes:
|
||||||
compilers:
|
compilers:
|
||||||
c: ".*/bin/nvc"
|
c: ".*/bin/nvc"
|
||||||
cxx: ".*/bin/nvc++"
|
cxx: ".*/bin/nvc\\+\\+"
|
||||||
fortran: ".*/bin/nvfortran"
|
fortran: ".*/bin/nvfortran"
|
||||||
|
Loading…
Reference in New Issue
Block a user