summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMosè Giordano <giordano@users.noreply.github.com>2023-10-27 20:33:48 +0100
committerGitHub <noreply@github.com>2023-10-27 21:33:48 +0200
commit9e01199e130784ff36268d409a441941658072f3 (patch)
treebe0560115d3de83707603f2cf7c8697ded57c508
parented7274a4d0d4b3d2657eb3aaeafae30f7e098d6d (diff)
downloadspack-9e01199e130784ff36268d409a441941658072f3.tar.gz
spack-9e01199e130784ff36268d409a441941658072f3.tar.bz2
spack-9e01199e130784ff36268d409a441941658072f3.tar.xz
spack-9e01199e130784ff36268d409a441941658072f3.zip
hipsycl: restrict compatibility with llvm for v0.8.0 (#40736)
-rw-r--r--var/spack/repos/builtin/packages/hipsycl/package.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/hipsycl/package.py b/var/spack/repos/builtin/packages/hipsycl/package.py
index e8a5ba9201..b6b30c2e5c 100644
--- a/var/spack/repos/builtin/packages/hipsycl/package.py
+++ b/var/spack/repos/builtin/packages/hipsycl/package.py
@@ -39,6 +39,9 @@ class Hipsycl(CMakePackage):
depends_on("python@3:")
depends_on("llvm@8: +clang", when="~cuda")
depends_on("llvm@9: +clang", when="+cuda")
+ # hipSYCL 0.8.0 supported only LLVM 8-10:
+ # (https://github.com/AdaptiveCpp/AdaptiveCpp/blob/v0.8.0/CMakeLists.txt#L29-L37)
+ depends_on("llvm@8:10", when="@0.8.0")
# https://github.com/OpenSYCL/OpenSYCL/pull/918 was introduced after 0.9.4
conflicts("^llvm@16:", when="@:0.9.4")
# LLVM PTX backend requires cuda7:10.1 (https://tinyurl.com/v82k5qq)