summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikael Simberg <mikael.simberg@iki.fi>2023-05-08 12:24:02 +0200
committerGitHub <noreply@github.com>2023-05-08 12:24:02 +0200
commit273bccbccfc1ac9bb1caab9827e0eee4e0583284 (patch)
tree8866724cc0338145ab63941de63bba5865da5b91
parentd5d596a851f5050c086e0e37eda4e1a6b1baac8f (diff)
downloadspack-273bccbccfc1ac9bb1caab9827e0eee4e0583284.tar.gz
spack-273bccbccfc1ac9bb1caab9827e0eee4e0583284.tar.bz2
spack-273bccbccfc1ac9bb1caab9827e0eee4e0583284.tar.xz
spack-273bccbccfc1ac9bb1caab9827e0eee4e0583284.zip
Add HPX 1.9.0 (#37426)
-rw-r--r--var/spack/repos/builtin/packages/hpx/package.py13
1 files changed, 12 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/hpx/package.py b/var/spack/repos/builtin/packages/hpx/package.py
index 5d0ce6698e..7f4c21dc0a 100644
--- a/var/spack/repos/builtin/packages/hpx/package.py
+++ b/var/spack/repos/builtin/packages/hpx/package.py
@@ -14,7 +14,7 @@ class Hpx(CMakePackage, CudaPackage, ROCmPackage):
"""C++ runtime system for parallel and distributed applications."""
homepage = "https://hpx.stellar-group.org/"
- url = "https://github.com/STEllAR-GROUP/hpx/archive/1.2.1.tar.gz"
+ url = "https://github.com/STEllAR-GROUP/hpx/archive/v0.0.0.tar.gz"
git = "https://github.com/STEllAR-GROUP/hpx.git"
maintainers("msimberg", "albestro", "teonnik", "hkaiser")
@@ -22,6 +22,7 @@ class Hpx(CMakePackage, CudaPackage, ROCmPackage):
version("master", branch="master")
version("stable", tag="stable")
+ version("1.9.0", sha256="2a8dca78172fbb15eae5a5e9facf26ab021c845f9c09e61b1912e6cf9e72915a")
version("1.8.1", sha256="2fc4c10f55e2e6bcdc6f6ff950e26c6d8e218e138fdbd885ee71ccf5c5549054")
version("1.8.0", sha256="93f147ab7cf0ab4161f37680ea720d3baeb86540a95382f2fb591645b2a9b135")
version("1.7.1", sha256="008a0335def3c551cba31452eda035d7e914e3e4f77eec679eea070ac71bd83b")
@@ -125,6 +126,11 @@ class Hpx(CMakePackage, CudaPackage, ROCmPackage):
# Only ROCm or CUDA maybe be enabled at once
conflicts("+rocm", when="+cuda")
+ # Restrictions for 1.9.X
+ with when("@1.9:"):
+ conflicts("%gcc@:8")
+ conflicts("%clang@:9")
+
# Restrictions for 1.8.X
with when("@1.8:"):
conflicts("cxxstd=14")
@@ -188,6 +194,11 @@ class Hpx(CMakePackage, CudaPackage, ROCmPackage):
patch("git_external.patch", when="@1.3.0 instrumentation=apex")
patch("mimalloc_no_version_requirement.patch", when="@:1.8.0 malloc=mimalloc")
+ def url_for_version(self, version):
+ if version >= Version("1.9.0"):
+ return "https://github.com/STEllAR-GROUP/hpx/archive/v{}.tar.gz".format(version)
+ return "https://github.com/STEllAR-GROUP/hpx/archive/{}.tar.gz".format(version)
+
def instrumentation_args(self):
args = []
for value in self.instrumentation_values: