Skip to content
Snippets Groups Projects
Commit 6f1ded93 authored by Eleni Mathioulaki's avatar Eleni Mathioulaki
Browse files

Merge branch 'test_to_fix_hxtorch_2.0-rc8' into 'master'

check possible fix for hxtorch_2.0-rc8

See merge request technical-coordination/project-internal/devops/platform/ebrains-spack-builds!130
parents 20d73b96 f9b6d5f9
No related branches found
No related tags found
3 merge requests!148create new experimental release,!139create new experimental release,!130check possible fix for hxtorch_2.0-rc8
Pipeline #17665 failed with stage
in 15 minutes and 27 seconds
......@@ -83,6 +83,15 @@ class Hxtorch(WafPackage):
env.remove_path('SPACK_LINK_DIRS', d)
env.remove_path('SPACK_RPATH_DIRS', d)
continue
if dep.name == 'googletest':
for d in [self.spec['googletest'].prefix.lib64, self.spec['googletest'].prefix.lib]:
if os.path.exists(d):
print('manually inserting at front ', d)
env.remove_path('SPACK_LINK_DIRS', d)
env.prepend_path('SPACK_LINK_DIRS', d)
env.remove_path('SPACK_RPATH_DIRS', d)
env.prepend_path('SPACK_RPATH_DIRS', d)
continue
library.extend(query.libs.directories)
print('libs (', dep.name, '):', query.libs.directories, "\n")
except:
......
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