exaca: add version 1.2 (#39810)

This commit is contained in:
Sam Reeve 2023-09-06 12:58:13 -04:00 committed by GitHub
parent f7d71ec792
commit 7fd7d0b9fd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,13 +12,14 @@ class Exaca(CMakePackage):
homepage = "https://github.com/LLNL/ExaCA"
git = "https://github.com/LLNL/ExaCA.git"
url = "https://github.com/LLNL/ExaCA/archive/1.0.0.tar.gz"
url = "https://github.com/LLNL/ExaCA/archive/1.2.0.tar.gz"
maintainers("streeve", "MattRolchigo")
tags = ["ecp"]
version("master", branch="master")
version("1.2.0", sha256="5038d63de96c6142ddea956998e1f4ebffbc4a5723caa4da0e73eb185e6623e4")
version("1.1.0", sha256="10106fb1836964a19bc5bab3f374baa24188ba786c768e554442ab896b31ff24")
version("1.0.0", sha256="48556233360a5e15e1fc20849e57dd60739c1991c7dfc7e6b2956af06688b96a")
@ -34,8 +35,9 @@ class Exaca(CMakePackage):
depends_on("cmake@3.12:", type="build", when="@master")
depends_on("googletest@1.10:", type="test", when="@1.1:+testing")
depends_on("kokkos@3.0:", when="@:1.1")
depends_on("kokkos@3.2:", when="@master")
depends_on("kokkos@3.2:", when="@1.2:")
depends_on("mpi")
depends_on("nlohmann-json", when="@1.2:")
def cmake_args(self):
options = [self.define_from_variant("BUILD_SHARED_LIBS", "shared")]