summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/arbor/package.py10
1 files changed, 7 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/arbor/package.py b/var/spack/repos/builtin/packages/arbor/package.py
index eaf42b6448..23798c0325 100644
--- a/var/spack/repos/builtin/packages/arbor/package.py
+++ b/var/spack/repos/builtin/packages/arbor/package.py
@@ -12,10 +12,11 @@ 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.5.2/arbor-v0.5.2-full.tar.gz'
- maintainers = ['bcumming', 'brenthuisman', 'haampie', 'halfflat']
+ url = 'https://github.com/arbor-sim/arbor/releases/download/v0.6/arbor-v0.6-full.tar.gz'
+ maintainers = ['bcumming', 'brenthuisman', 'haampie', 'schmitts']
version('master', branch='master', submodules=True)
+ version('0.6', sha256='4cd333b18effc8833428ddc0b99e7dc976804771bc85da90034c272c7019e1e8', url='https://github.com/arbor-sim/arbor/releases/download/v0.6/arbor-v0.6-full.tar.gz')
version('0.5.2', sha256='290e2ad8ca8050db1791cabb6b431e7c0409c305af31b559e397e26b300a115d', url='https://github.com/arbor-sim/arbor/releases/download/v0.5.2/arbor-v0.5.2-full.tar.gz')
version('0.5', sha256='d0c8a4c7f97565d7c30493c66249be794d1dc424de266fc79cecbbf0e313df59', url='https://github.com/arbor-sim/arbor/releases/download/v0.5/arbor-v0.5-full.tar.gz')
@@ -36,6 +37,7 @@ class Arbor(CMakePackage, CudaPackage):
depends_on('cmake@3.12:', type='build')
# misc dependencies
+ depends_on('fmt@7.1:', when='@0.5.3:') # required by the modcc compiler
depends_on('nlohmann-json')
depends_on('cuda@10:', when='+cuda')
depends_on('libxml2', when='+neuroml')
@@ -48,7 +50,9 @@ class Arbor(CMakePackage, CudaPackage):
extends('python', when='+python')
depends_on('python@3.6:', when="+python", type=('build', 'run'))
depends_on('py-numpy', when='+python', type=('build', 'run'))
- depends_on('py-pybind11@2.6:', when='+python', type=('build', 'run'))
+ with when('+python'):
+ depends_on('py-pybind11@2.6:', type=('build', 'run'))
+ depends_on('py-pybind11@2.8.1:', when='@0.5.3:', type=('build', 'run'))
# sphinx based documentation
depends_on('python@3.6:', when="+doc", type='build')