Add v0.8 to Arbor (#33916)

This commit is contained in:
Brent Huisman 2022-11-15 19:57:29 +01:00 committed by GitHub
parent 8dda4ff60b
commit 1aab5bb9f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,10 +12,15 @@ class Arbor(CMakePackage, CudaPackage):
homepage = "https://arbor-sim.org"
git = "https://github.com/arbor-sim/arbor.git"
url = "https://github.com/arbor-sim/arbor/releases/download/v0.7/arbor-v0.7-full.tar.gz"
url = "https://github.com/arbor-sim/arbor/releases/download/v0.8/arbor-v0.8-full.tar.gz"
maintainers = ["bcumming", "brenthuisman", "haampie", "schmitts"]
version("master", branch="master", submodules=True)
version(
"0.8",
sha256="18df5600308841616996a9de93b55a105be0f59692daa5febd3a65aae5bc2c5d",
url="https://github.com/arbor-sim/arbor/releases/download/v0.8/arbor-v0.8-full.tar.gz",
)
version(
"0.7",
sha256="c3a6b7193946aee882bb85f9c38beac74209842ee94e80840968997ba3b84543",
@ -53,20 +58,23 @@ class Arbor(CMakePackage, CudaPackage):
)
# https://docs.arbor-sim.org/en/latest/install/build_install.html#compilers
conflicts("%gcc@:8.3")
conflicts("%clang@:7")
conflicts("%gcc@:8")
conflicts("%clang@:9")
# Cray compiler v9.2 and later is Clang-based.
conflicts("%cce@:9.1")
conflicts("%intel")
depends_on("cmake@3.12:", type="build")
depends_on("cmake@3.19:", type="build")
# misc dependencies
depends_on("fmt@7.1:", when="@0.5.3:") # required by the modcc compiler
depends_on("fmt@9.1:", when="@0.7.1:")
depends_on("nlohmann-json")
depends_on("random123")
depends_on("cuda@10:", when="+cuda")
depends_on("libxml2", when="+neuroml")
with when("+cuda"):
depends_on("cuda@10:")
depends_on("cuda@11:", when="@0.7.1:")
# mpi
depends_on("mpi", when="+mpi")
@ -79,6 +87,7 @@ class Arbor(CMakePackage, CudaPackage):
with when("+python"):
depends_on("py-pybind11@2.6:", type=("build"))
depends_on("py-pybind11@2.8.1:", when="@0.5.3:", type=("build"))
depends_on("py-pybind11@2.10.1:", when="@0.7.1:", type=("build"))
# sphinx based documentation
depends_on("python@3.7:", when="+doc", type="build")