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

feat(BSS2): add new versions for next release

parent b8074693
No related branches found
No related tags found
1 merge request!506feat(BSS2): New versions for next release
......@@ -19,12 +19,14 @@ class Hxtorch(WafPackage):
maintainers = ['emuller']
version('8.0-a1', tag='hxtorch-8.0-a1')
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-fixup1', branch='waf')
# compiler for the BrainScaleS-2 embedded processor ("PPU"); needed for
# building/linking, at runtime and for testing
depends_on('oppulance@8.0-a1', when='@8.0-a1', type=('build', 'link', 'run', 'test'))
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-fixup1', when='@7.0-rc1-fixup1', type=('build', 'link', 'run', 'test'))
......@@ -81,14 +83,23 @@ class Hxtorch(WafPackage):
with working_dir(self.stage.source_path):
python = which('python3')
python('./waf', 'setup', '--repo-db-url=https://github.com/electronicvisions/projects',
'--clone-depth=2',
'--without-munge',
'--without-hxcomm-hostarq',
'--without-hxcomm-extoll',
'--project=hxtorch',
'--release-branch=ebrains-' + str(self.spec.version)
)
if self.spec.satisfies('@:7'):
python('./waf', 'setup', '--repo-db-url=https://github.com/electronicvisions/projects',
'--clone-depth=2',
'--without-munge',
'--without-hxcomm-hostarq',
'--without-hxcomm-extoll',
'--project=hxtorch',
'--release-branch=ebrains-' + str(self.spec.version)
)
else:
python('./waf', 'setup', '--repo-db-url=https://github.com/electronicvisions/projects',
'--clone-depth=2',
'--without-munge',
'--without-hxcomm-hostarq',
'--project=hxtorch',
'--release-branch=ebrains-' + str(self.spec.version)
)
# in the configure step, we need access to all archived .git folders
def custom_archive(self, destination):
......
......@@ -21,6 +21,10 @@ class Oppulance(Package):
depends_on('gmp')
releases = [
{
'version': '8.0-a1',
'tag': 'ebrains-8.0-a1'
},
{
'version': '7.0-rc1-fixup3',
'tag': 'ebrains-7.0-rc1-fixup3'
......
......@@ -18,13 +18,15 @@ class PynnBrainscales(WafPackage):
git = "https://github.com/electronicvisions/pynn-brainscales.git"
maintainers = ['emuller']
version('8.0-a1', tag='pynn-brainscales-8.0-a1')
version('7.0-rc1-fixup3', tag='pynn-brainscales-7.0-rc1-fixup3')
version('7.0-rc1-fixup2', tag='pynn-brainscales-7.0-rc1-fixup2')
version('7.0-rc1-fixup1', branch='waf')
# compiler for the BrainScaleS-2 embedded processor ("PPU"); needed for
# building/linking, at runtime and for testing
depends_on('oppulance@8.0-a1', when='@8.0-a1', type=('build', 'link', 'run', 'test'))
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-fixup1', when='@7.0-rc1-fixup1', type=('build', 'link', 'run', 'test'))
......@@ -78,14 +80,24 @@ class PynnBrainscales(WafPackage):
with working_dir(self.stage.source_path):
python = which('python3')
python('./waf', 'setup', '--repo-db-url=https://github.com/electronicvisions/projects',
'--clone-depth=2',
'--without-munge',
'--without-hxcomm-hostarq',
'--without-hxcomm-extoll',
'--project=pynn-brainscales',
'--release-branch=ebrains-' + str(self.spec.version)
)
if self.spec.satisfies('@:7'):
python('./waf', 'setup', '--repo-db-url=https://github.com/electronicvisions/projects',
'--clone-depth=2',
'--without-munge',
'--without-hxcomm-hostarq',
'--without-hxcomm-extoll',
'--project=pynn-brainscales',
'--release-branch=ebrains-' + str(self.spec.version)
)
else:
python('./waf', 'setup', '--repo-db-url=https://github.com/electronicvisions/projects',
'--clone-depth=2',
'--without-munge',
'--without-hxcomm-hostarq',
'--project=pynn-brainscales',
'--release-branch=ebrains-' + str(self.spec.version)
)
# in the configure step, we need access to all archived .git folders
def custom_archive(self, destination):
......
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