Skip to content
Snippets Groups Projects

feat: fetch before install

Merged Eric Müller requested to merge feat_fetch_before_install into master
6 files
+ 26
7
Compare changes
  • Side-by-side
  • Inline
Files
6
@@ -19,11 +19,13 @@ class Hxtorch(WafPackage):
@@ -19,11 +19,13 @@ class Hxtorch(WafPackage):
maintainers = ['emuller']
maintainers = ['emuller']
 
version('7.0-rc1-fixup3', tag='hxtorch-7.0-rc1-fixup3')
version('7.0-rc1-fixup2', tag='hxtorch-7.0-rc1-fixup2')
version('7.0-rc1-fixup2', tag='hxtorch-7.0-rc1-fixup2')
version('7.0-rc1-fixup1', branch='waf')
version('7.0-rc1-fixup1', branch='waf')
# compiler for the BrainScaleS-2 embedded processor ("PPU"); needed for
# compiler for the BrainScaleS-2 embedded processor ("PPU"); needed for
# building/linking, at runtime and for testing
# building/linking, at runtime and for testing
 
depends_on('oppulance@7.0-rc1-fixup3', when='@7.0-rc1-fixup3', type=('build', 'link', 'run', 'test'))
depends_on('oppulance@7.0-rc1-fixup2', when='@7.0-rc1-fixup2', type=('build', 'link', 'run', 'test'))
depends_on('oppulance@7.0-rc1-fixup2', when='@7.0-rc1-fixup2', type=('build', 'link', 'run', 'test'))
depends_on('oppulance@7.0-rc1-fixup1', when='@7.0-rc1-fixup1', type=('build', 'link', 'run', 'test'))
depends_on('oppulance@7.0-rc1-fixup1', when='@7.0-rc1-fixup1', type=('build', 'link', 'run', 'test'))
@@ -35,6 +37,7 @@ class Hxtorch(WafPackage):
@@ -35,6 +37,7 @@ class Hxtorch(WafPackage):
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
@@ -44,6 +47,7 @@ class Hxtorch(WafPackage):
@@ -44,6 +47,7 @@ class Hxtorch(WafPackage):
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'))
@@ -76,8 +80,8 @@ class Hxtorch(WafPackage):
@@ -76,8 +80,8 @@ class Hxtorch(WafPackage):
return
return
with working_dir(self.stage.source_path):
with working_dir(self.stage.source_path):
waf = which('./waf')
python = which('python3')
waf('setup', '--repo-db-url=https://github.com/electronicvisions/projects',
python('./waf', 'setup', '--repo-db-url=https://github.com/electronicvisions/projects',
'--clone-depth=2',
'--clone-depth=2',
'--without-munge',
'--without-munge',
'--without-hxcomm-hostarq',
'--without-hxcomm-hostarq',