diff options
author | ravil-mobile <ravil.mobile.com@gmail.com> | 2021-04-06 11:21:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-06 11:21:05 +0200 |
commit | 8b4cf24ba7b550dcbb092a18a18a1252b53c0001 (patch) | |
tree | 0853b470562b3e8b16d60a3a1c20c69a1249f19a /var | |
parent | 5b1fa20f87a98e05e84890af5c47756e1e30ff0f (diff) | |
download | spack-8b4cf24ba7b550dcbb092a18a18a1252b53c0001.tar.gz spack-8b4cf24ba7b550dcbb092a18a18a1252b53c0001.tar.bz2 spack-8b4cf24ba7b550dcbb092a18a18a1252b53c0001.tar.xz spack-8b4cf24ba7b550dcbb092a18a18a1252b53c0001.zip |
hipsycl: add v0.9.1 which partially implements SYCL 2020 standard (#22770)
Co-authored-by: ravil <ravil.dorozhinskii@tum.de>
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/hipsycl/package.py | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/hipsycl/package.py b/var/spack/repos/builtin/packages/hipsycl/package.py index 78ccc1fb9a..63e0593661 100644 --- a/var/spack/repos/builtin/packages/hipsycl/package.py +++ b/var/spack/repos/builtin/packages/hipsycl/package.py @@ -23,6 +23,10 @@ class Hipsycl(CMakePackage): version("stable", branch="stable", submodules=True) version( + "0.9.1", + commit="fe8465cd5399a932f7221343c07c9942b0fe644c", + submodules=True) + version( "0.8.0", commit="2daf8407e49dd32ebd1c266e8e944e390d28b22a", submodules=True, @@ -35,7 +39,8 @@ class Hipsycl(CMakePackage): ) depends_on("cmake@3.5:", type="build") - depends_on("boost +filesystem") + depends_on("boost +filesystem", when="@:0.8.99") + depends_on("boost@1.67.0:1.69.0 +filesystem +fiber +context cxxstd=17", when='@0.9.1:') depends_on("python@3:") depends_on("llvm@8: +clang", when="~cuda") depends_on("llvm@9: +clang", when="+cuda") @@ -46,9 +51,14 @@ class Hipsycl(CMakePackage): conflicts( "%gcc@:4.9999", + when='@:0.9.0', msg="hipSYCL needs proper C++14 support to be built, %gcc is too old", ) conflicts( + "%gcc@:8.9999", + when='@0.9.1:', + msg="hipSYCL needs proper C++17 support to be built, %gcc is too old") + conflicts( "^llvm build_type=Debug", when="+cuda", msg="LLVM debug builds don't work with hipSYCL CUDA backend; for " |