Skip to content
Snippets Groups Projects
Commit 5168af69 authored by Eric Müller's avatar Eric Müller :mountain_bicyclist: Committed by Eleni Mathioulaki
Browse files

chore(build-brainscales): define base dependencies

We do always depend on git to be available for `waf setup`.
parent 129cbeff
No related branches found
No related tags found
2 merge requests!529create new experimental release,!511fix(genpybind): Drop run-type dependency on llvm to avoid conflict
...@@ -14,6 +14,10 @@ import spack.build_environment ...@@ -14,6 +14,10 @@ import spack.build_environment
class BuildBrainscales(WafPackage): class BuildBrainscales(WafPackage):
"""Common stuff for BrainScaleS packages...""" """Common stuff for BrainScaleS packages..."""
# waf setup performs git clone and might query gerrit
depends_on('git', type=('build', 'link'))
depends_on('py-git-review', type=('build', 'link'))
def do_fetch(self, mirror_only=False): def do_fetch(self, mirror_only=False):
"""Setup the project.""" """Setup the project."""
......
...@@ -47,7 +47,6 @@ class Hxtorch(build_brainscales.BuildBrainscales): ...@@ -47,7 +47,6 @@ class Hxtorch(build_brainscales.BuildBrainscales):
depends_on('cppcheck', type=('build', 'link', 'run')) depends_on('cppcheck', type=('build', 'link', 'run'))
depends_on('genpybind@ebrains', type=('build', 'link', 'run')) depends_on('genpybind@ebrains', type=('build', 'link', 'run'))
depends_on('gflags', type=('build', 'link', 'run')) depends_on('gflags', type=('build', 'link', 'run'))
depends_on('git', type=('build', 'link'))
depends_on('googletest@1.11.0:+gmock', type=('build', 'link', 'run')) # variadic templates needed depends_on('googletest@1.11.0:+gmock', type=('build', 'link', 'run')) # variadic templates needed
depends_on('inja', type=('build', 'link', 'run', 'test')) # template engine for PPU source jit generation depends_on('inja', type=('build', 'link', 'run', 'test')) # template engine for PPU source jit generation
depends_on('intel-tbb', type=('build', 'link', 'run')) # ppu gdbserver depends_on('intel-tbb', type=('build', 'link', 'run')) # ppu gdbserver
...@@ -57,7 +56,6 @@ class Hxtorch(build_brainscales.BuildBrainscales): ...@@ -57,7 +56,6 @@ class Hxtorch(build_brainscales.BuildBrainscales):
depends_on('pkgconfig', type=('build', 'link', 'run')) depends_on('pkgconfig', type=('build', 'link', 'run'))
depends_on('psmisc', type=('run', 'test')) depends_on('psmisc', type=('run', 'test'))
depends_on('python@3.7.0:', type=('build', 'link', 'run')) # BrainScaleS-2 only supports Python >= 3.7 depends_on('python@3.7.0:', type=('build', 'link', 'run')) # BrainScaleS-2 only supports Python >= 3.7
depends_on('py-git-review', type=('build', 'link'))
depends_on('py-h5py', type=('build', 'link', 'run')) # PyNN tests need it depends_on('py-h5py', type=('build', 'link', 'run')) # PyNN tests need it
depends_on('py-jax@0.3.25:', type=('build', 'link', 'run')) depends_on('py-jax@0.3.25:', type=('build', 'link', 'run'))
depends_on('py-matplotlib', type=('build', 'link', 'run')) depends_on('py-matplotlib', type=('build', 'link', 'run'))
......
...@@ -47,7 +47,6 @@ class PynnBrainscales(build_brainscales.BuildBrainscales): ...@@ -47,7 +47,6 @@ class PynnBrainscales(build_brainscales.BuildBrainscales):
depends_on('cppcheck', type=('build', 'link', 'run')) depends_on('cppcheck', type=('build', 'link', 'run'))
depends_on('genpybind@ebrains', type=('build', 'link', 'run')) depends_on('genpybind@ebrains', type=('build', 'link', 'run'))
depends_on('gflags', type=('build', 'link', 'run')) depends_on('gflags', type=('build', 'link', 'run'))
depends_on('git', type=('build', 'link'))
depends_on('googletest@1.11.0:+gmock', type=('build', 'link', 'run')) # variadic templates needed depends_on('googletest@1.11.0:+gmock', type=('build', 'link', 'run')) # variadic templates needed
depends_on('inja', type=('build', 'link', 'run', 'test')) # template engine for PPU source jit generation depends_on('inja', type=('build', 'link', 'run', 'test')) # template engine for PPU source jit generation
depends_on('intel-tbb', type=('build', 'link', 'run')) # ppu gdbserver depends_on('intel-tbb', type=('build', 'link', 'run')) # ppu gdbserver
...@@ -58,7 +57,6 @@ class PynnBrainscales(build_brainscales.BuildBrainscales): ...@@ -58,7 +57,6 @@ class PynnBrainscales(build_brainscales.BuildBrainscales):
depends_on('psmisc', type=('run', 'test')) depends_on('psmisc', type=('run', 'test'))
depends_on('python@3.7.0:', type=('build', 'link', 'run')) # BrainScaleS-2 only supports Python >= 3.7 depends_on('python@3.7.0:', type=('build', 'link', 'run')) # BrainScaleS-2 only supports Python >= 3.7
depends_on('py-deap@1.3.1:', type=('build', 'link', 'run')) depends_on('py-deap@1.3.1:', type=('build', 'link', 'run'))
depends_on('py-git-review', type=('build', 'link'))
depends_on('py-h5py', type=('build', 'link', 'run')) # PyNN tests need it depends_on('py-h5py', type=('build', 'link', 'run')) # PyNN tests need it
depends_on('py-matplotlib', type=('build', 'link', 'run')) depends_on('py-matplotlib', type=('build', 'link', 'run'))
depends_on('py-nose', type=('build', 'link', 'run')) depends_on('py-nose', type=('build', 'link', 'run'))
......
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