Skip to content
Snippets Groups Projects
Commit 57bec9cf authored by Athanasios Karmas's avatar Athanasios Karmas
Browse files

Merge branch 'fix_oppulance' into 'master'

Fix oppulance

See merge request technical-coordination/project-internal/devops/platform/ebrains-spack-builds!94
parents d999fda4 080059b4
No related branches found
No related tags found
No related merge requests found
......@@ -41,18 +41,23 @@ class Oppulance(Package):
git='https://github.com/electronicvisions/{}'.format(res),
tag=release['tag'],
expand=False,
placement=res
)
def do_fetch(self, mirror_only=False):
super(Oppulance, self).do_fetch(mirror_only)
mkdirp(self.stage.source_path)
tar = which('tar')
ln = which('ln')
bash = which('bash')
with working_dir(self.stage.source_path):
for key in self.resources:
for res in self.resources[key]:
tar('xf', res.fetcher.stage.archive_file)
tar('xf', self.stage.archive_file)
if res.fetcher.stage.archive_file:
tar('xf', res.fetcher.stage.archive_file)
else:
# freshly download
ln('-sf', res.fetcher.stage.source_path, res.name)
bash('gcc/ci/00_download_prerequisites.sh')
def install(self, spec, prefix):
......@@ -60,6 +65,6 @@ class Oppulance(Package):
bash('binutils-gdb/ci/00_build_install.sh')
bash('gcc/ci/01_build_install_freestanding.sh')
bash('newlib/ci/00_build_install.sh')
bash('oppulance/ci/00_build_install_libstdc++.sh')
bash('ci/00_build_install_libstdc++.sh')
mkdirp(spec.prefix)
install_tree('install/.', spec.prefix)
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