Skip to content
Snippets Groups Projects

check possible fix for hxtorch_2.0-rc8

Merged Eleni Mathioulaki requested to merge test_to_fix_hxtorch_2.0-rc8 into master
1 file
+ 9
0
Compare changes
  • Side-by-side
  • Inline
@@ -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: