summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraeropl3b <77083938+aeropl3b@users.noreply.github.com>2022-09-12 09:46:19 -0500
committerGitHub <noreply@github.com>2022-09-12 08:46:19 -0600
commitd8e6782f42e6f9c62bd5a03775f1ab559ef6af31 (patch)
tree1b4ffd13cc4cfa8712589b2c0005f61acb042b53
parentf33b7c0a58670117e8d64f38948d0bb3c8404630 (diff)
downloadspack-d8e6782f42e6f9c62bd5a03775f1ab559ef6af31.tar.gz
spack-d8e6782f42e6f9c62bd5a03775f1ab559ef6af31.tar.bz2
spack-d8e6782f42e6f9c62bd5a03775f1ab559ef6af31.tar.xz
spack-d8e6782f42e6f9c62bd5a03775f1ab559ef6af31.zip
HIPSycl: LLVM@10: provides working clang with cuda >= 11 (#32512)
Co-authored-by: RJ <aeropl3b+dev@gmail.com>
-rw-r--r--var/spack/repos/builtin/packages/hipsycl/package.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/hipsycl/package.py b/var/spack/repos/builtin/packages/hipsycl/package.py
index 1cc18e1c2d..eb4fe07a61 100644
--- a/var/spack/repos/builtin/packages/hipsycl/package.py
+++ b/var/spack/repos/builtin/packages/hipsycl/package.py
@@ -45,7 +45,8 @@ class Hipsycl(CMakePackage):
depends_on("llvm@8: +clang", when="~cuda")
depends_on("llvm@9: +clang", when="+cuda")
# LLVM PTX backend requires cuda7:10.1 (https://tinyurl.com/v82k5qq)
- depends_on("cuda@9:10.1", when="@0.8.1: +cuda")
+ depends_on("cuda@9:10.1", when="@0.8.1: +cuda ^llvm@9")
+ depends_on("cuda@9:", when="@0.8.1: +cuda ^llvm@10:")
# hipSYCL@:0.8.0 requires cuda@9:10.0 due to a known bug
depends_on("cuda@9:10.0", when="@:0.8.0 +cuda")