Skip to content
Snippets Groups Projects
Commit 2d1adc2e authored by Eleni Mathioulaki's avatar Eleni Mathioulaki
Browse files

Merge branch 'brent-master-patch-39099' into 'master'

Add Arbor v0.9.0

See merge request technical-coordination/project-internal/devops/platform/ebrains-spack-builds!393
parents eccb6cfe c40a2958
No related branches found
No related tags found
No related merge requests found
# Copyright 2013-2022 Lawrence Livermore National Security, LLC and other
# Copyright 2013-2023 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
......@@ -12,27 +12,33 @@ 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.8.1/arbor-v0.8.1-full.tar.gz"
maintainers = ["bcumming", "brenthuisman", "haampie", "schmitts"]
url = "https://github.com/arbor-sim/arbor/releases/download/v0.9.0/arbor-v0.9.0-full.tar.gz"
maintainers = ["thorstenhater", "brenthuisman", "haampie"]
version("master", branch="master", submodules=True)
version("master", branch="master")
version("develop")
version(
"0.9.0",
sha256="5f9740955c821aca81e23298c17ad64f33f635756ad9b4a0c1444710f564306a",
url="https://github.com/arbor-sim/arbor/releases/download/v0.9.0/arbor-v0.9.0-full.tar.gz",
)
version(
"0.8.1",
sha256="caebf96676ace6a9c50436541c420ca4bb53f0639dcab825de6fa370aacf6baa",
url="https://github.com/arbor-sim/arbor/releases/download/v0.8.1/arbor-v0.8.1-full.tar.gz",
)
version(
"0.8",
"0.8.0",
sha256="18df5600308841616996a9de93b55a105be0f59692daa5febd3a65aae5bc2c5d",
url="https://github.com/arbor-sim/arbor/releases/download/v0.8/arbor-v0.8-full.tar.gz",
)
version(
"0.7",
"0.7.0",
sha256="c3a6b7193946aee882bb85f9c38beac74209842ee94e80840968997ba3b84543",
url="https://github.com/arbor-sim/arbor/releases/download/v0.7/arbor-v0.7-full.tar.gz",
)
version(
"0.6",
"0.6.0",
sha256="4cd333b18effc8833428ddc0b99e7dc976804771bc85da90034c272c7019e1e8",
url="https://github.com/arbor-sim/arbor/releases/download/v0.6/arbor-v0.6-full.tar.gz",
)
......@@ -74,8 +80,9 @@ class Arbor(CMakePackage, CudaPackage):
# 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("googletest@1.12.1", when="@0.7.1:")
depends_on("pugixml@1.11:", when="@0.7.1:")
depends_on("nlohmann-json")
depends_on("nlohmann-json@3.11.2")
depends_on("random123")
with when("+cuda"):
depends_on("cuda@10:")
......@@ -90,9 +97,9 @@ class Arbor(CMakePackage, CudaPackage):
depends_on("python@3.7:", when="+python", type=("build", "run"))
depends_on("py-numpy", when="+python", type=("build", "run"))
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"))
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")
......@@ -124,7 +131,7 @@ class Arbor(CMakePackage, CudaPackage):
return args
@run_after('install')
@run_after("install", when="+python")
@on_package_attributes(run_tests=True)
def install_test(self):
python('-c', 'import arbor')
python("-c", "import arbor")
......@@ -4,7 +4,7 @@ spack:
specs:
# EBRAINS tools
- apbs@3.4.0
- arbor@0.8.1 +python +mpi
- arbor@0.9.0 +python +mpi
- biobb-analysis@4.0.1
- biobb-chemistry@4.0.0
- biobb-common@4.0.0
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment