summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Kuberry <pakuber@sandia.gov>2022-09-14 06:49:52 -0600
committerGitHub <noreply@github.com>2022-09-14 06:49:52 -0600
commitf37e9addcddc8a1a7bb6a548361e75bf2a3b8f0a (patch)
tree0841941cb09ee8553ec31f4479c2744676b0b902
parentc1b3f0e02f1c23129fb79081af019d157506f737 (diff)
downloadspack-f37e9addcddc8a1a7bb6a548361e75bf2a3b8f0a.tar.gz
spack-f37e9addcddc8a1a7bb6a548361e75bf2a3b8f0a.tar.bz2
spack-f37e9addcddc8a1a7bb6a548361e75bf2a3b8f0a.tar.xz
spack-f37e9addcddc8a1a7bb6a548361e75bf2a3b8f0a.zip
compadre: add v1.5.0, v1.4.1 (#32609)
-rw-r--r--var/spack/repos/builtin/packages/compadre/package.py20
1 files changed, 14 insertions, 6 deletions
diff --git a/var/spack/repos/builtin/packages/compadre/package.py b/var/spack/repos/builtin/packages/compadre/package.py
index 0980627eea..df49ad93d8 100644
--- a/var/spack/repos/builtin/packages/compadre/package.py
+++ b/var/spack/repos/builtin/packages/compadre/package.py
@@ -15,16 +15,17 @@ class Compadre(CMakePackage):
constitute the rows of some globally sparse matrix.
"""
- homepage = "https://github.com/SNLComputation/compadre"
- git = "https://github.com/SNLComputation/compadre.git"
- url = "https://github.com/SNLComputation/compadre/archive/v1.3.0.tar.gz"
+ homepage = "https://github.com/sandialabs/compadre"
+ git = "https://github.com/sandialabs/compadre.git"
+ url = "https://github.com/sandialabs/compadre/archive/v1.3.0.tar.gz"
maintainers = ["kuberry"]
- version("master", branch="master", preferred=True)
+ version("master", branch="master")
+ version("1.5.0", "b7dd6020cc5a7969de817d5c7f6c5acceaad0f08dcfd3d7cacfa9f42e4c8b335")
+ version("1.4.1", "2e1e7d8e30953f76b6dc3a4c86ec8103d4b29447194cb5d5abb74b8e4099bdd9")
version("1.3.0", "f711a840fd921e84660451ded408023ec3bcfc98fd0a7dc4a299bfae6ab489c2")
- depends_on("kokkos@3.3.01:main")
- depends_on("kokkos-kernels@3.3.01:main")
+ depends_on("kokkos-kernels@3.3.01:3.6")
depends_on("cmake@3.13:", type="build")
variant(
@@ -37,6 +38,13 @@ class Compadre(CMakePackage):
variant("mpi", default=False, description="Enable MPI support")
depends_on("mpi", when="+mpi")
+ # fixes duplicate symbol issue with static library build
+ patch(
+ "https://patch-diff.githubusercontent.com/raw/sandialabs/Compadre/pull/286.patch?full_index=1",
+ sha256="e267b74f8ecb8dd23970848ed919d29b7d442f619ce80983e02a19f1d9582c61",
+ when="@1.5.0",
+ )
+
def cmake_args(self):
spec = self.spec