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

fix import

parent 91bc2377
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,6 @@
import os
from spack import *
from spack.pkg.builtin.boost import Boost
class Hxtorch(WafPackage):
......@@ -75,7 +74,7 @@ class Hxtorch(WafPackage):
include_dirs -= include_exclude_dirs
print('headers (', dep.name, '):', include_dirs, "\n")
include.extend(list(include_dirs))
except error.NoHeadersError:
except spack.error.NoHeadersError:
# we don't care if no header directories are found
pass
......@@ -88,7 +87,7 @@ class Hxtorch(WafPackage):
library_dirs -= library_exclude_dirs
print('libs (', dep.name, '):', library_dirs, "\n")
library.extend(list(library_dirs))
except error.NoLibrariesError:
except spack.error.NoLibrariesError:
# we don't care if no library directories are found
pass
......
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