diff options
author | Michael Kuhn <suraia@ikkoku.de> | 2018-03-06 18:07:37 +0100 |
---|---|---|
committer | Massimiliano Culpo <massimiliano.culpo@gmail.com> | 2018-03-06 18:07:37 +0100 |
commit | 17772fcd43ad083d15c3e0157c2f9ddb237308aa (patch) | |
tree | 3a66a24b7e0985db07b400b65048d9903024de76 /var | |
parent | 65a165502263cab2f22083c0b31df1e9a9631ce9 (diff) | |
download | spack-17772fcd43ad083d15c3e0157c2f9ddb237308aa.tar.gz spack-17772fcd43ad083d15c3e0157c2f9ddb237308aa.tar.bz2 spack-17772fcd43ad083d15c3e0157c2f9ddb237308aa.tar.xz spack-17772fcd43ad083d15c3e0157c2f9ddb237308aa.zip |
likwid: Fix build (#7244)
likwid uses the current directory when building the paths to its
internal libraries. Spack overwrites PWD, causing likwid to not find
hwloc.h.
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/likwid/package.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/likwid/package.py b/var/spack/repos/builtin/packages/likwid/package.py index 096f2772f3..8e3492ef1c 100644 --- a/var/spack/repos/builtin/packages/likwid/package.py +++ b/var/spack/repos/builtin/packages/likwid/package.py @@ -24,6 +24,7 @@ ############################################################################## from spack import * import glob +import os class Likwid(Package): @@ -105,5 +106,6 @@ class Likwid(Package): spec['lua'].prefix.bin), 'config.mk') + env['PWD'] = os.getcwd() make() make('install') |