summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authoreugeneswalker <38933153+eugeneswalker@users.noreply.github.com>2023-08-08 12:03:23 -0700
committerGitHub <noreply@github.com>2023-08-08 12:03:23 -0700
commit5d70c0f1006fb8412bb3acdd9d28811d641345df (patch)
tree7a08493181cd3cd5a02a81b154a7113851c539fc /var
parent361632fc4be915651fe5751bf499c069b3ca168c (diff)
downloadspack-5d70c0f1006fb8412bb3acdd9d28811d641345df.tar.gz
spack-5d70c0f1006fb8412bb3acdd9d28811d641345df.tar.bz2
spack-5d70c0f1006fb8412bb3acdd9d28811d641345df.tar.xz
spack-5d70c0f1006fb8412bb3acdd9d28811d641345df.zip
e4s ci: add libpressio (#34222)
* e4s ci: add libpressio * libpressio ~cuda, +cuda: add +mgard
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/cusz/package.py1
-rw-r--r--var/spack/repos/builtin/packages/libpressio/package.py2
2 files changed, 3 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/cusz/package.py b/var/spack/repos/builtin/packages/cusz/package.py
index abfec5ad34..500886889a 100644
--- a/var/spack/repos/builtin/packages/cusz/package.py
+++ b/var/spack/repos/builtin/packages/cusz/package.py
@@ -20,6 +20,7 @@ class Cusz(CMakePackage, CudaPackage):
conflicts("cuda_arch=none", when="+cuda")
version("develop", branch="develop")
+ version("0.3.1", commit="02be3cbd07db467decaf45ec9eb593ba6173c809")
version("0.3", sha256="0feb4f7fd64879fe147624dd5ad164adf3983f79b2e0383d35724f8d185dcb11")
# these version of Cuda provide the CUB headers, but not CUB cmake configuration that we use.
diff --git a/var/spack/repos/builtin/packages/libpressio/package.py b/var/spack/repos/builtin/packages/libpressio/package.py
index 05f0f25d23..2c2bfa48e3 100644
--- a/var/spack/repos/builtin/packages/libpressio/package.py
+++ b/var/spack/repos/builtin/packages/libpressio/package.py
@@ -344,6 +344,8 @@ class Libpressio(CMakePackage, CudaPackage):
args.append("-DLIBPRESSIO_HAS_QoZ=ON")
if "+cusz" in self.spec:
args.append("-DLIBPRESSIO_HAS_CUSZ=ON")
+ if self.spec.satisfies("+cusz +cuda"):
+ args.append("-DCMAKE_EXE_LINKER_FLAGS=-Wl,--allow-shlib-undefined")
if "+core" in self.spec:
args.append("-DLIBPRESSIO_BUILD_MODE=FULL")
else: