diff options
author | Peter Scheibel <scheibel1@llnl.gov> | 2021-12-02 15:49:20 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-02 15:49:20 -0800 |
commit | edb971a10e360b673e9fb9a4a7ef09e597b7df5a (patch) | |
tree | 255fe1452019f960dc1e42a40ac0025a6d3b417a /lib/spack/env | |
parent | 693a15ea0012a8c44e316b7a2c3ffebf21bc0395 (diff) | |
download | spack-edb971a10e360b673e9fb9a4a7ef09e597b7df5a.tar.gz spack-edb971a10e360b673e9fb9a4a7ef09e597b7df5a.tar.bz2 spack-edb971a10e360b673e9fb9a4a7ef09e597b7df5a.tar.xz spack-edb971a10e360b673e9fb9a4a7ef09e597b7df5a.zip |
Support packages which need to explicitly refer to dpcpp by name (#27168)
* Hack to support packages which need to explicitly refer to dpcpp by name
* cc script needs to know about dpcpp
Diffstat (limited to 'lib/spack/env')
-rwxr-xr-x | lib/spack/env/cc | 2 | ||||
l--------- | lib/spack/env/oneapi/dpcpp | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/lib/spack/env/cc b/lib/spack/env/cc index c498db0583..59ff0001e1 100755 --- a/lib/spack/env/cc +++ b/lib/spack/env/cc @@ -248,7 +248,7 @@ case "$command" in lang_flags=C debug_flags="-g" ;; - c++|CC|g++|clang++|armclang++|icpc|icpx|pgc++|nvc++|xlc++|xlc++_r|FCC) + c++|CC|g++|clang++|armclang++|icpc|icpx|dpcpp|pgc++|nvc++|xlc++|xlc++_r|FCC) command="$SPACK_CXX" language="C++" comp="CXX" diff --git a/lib/spack/env/oneapi/dpcpp b/lib/spack/env/oneapi/dpcpp new file mode 120000 index 0000000000..82c2b8e90a --- /dev/null +++ b/lib/spack/env/oneapi/dpcpp @@ -0,0 +1 @@ +../cc
\ No newline at end of file |