diff options
author | Hervé Yviquel <hyviquel@gmail.com> | 2021-06-11 05:12:18 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-11 10:12:18 +0200 |
commit | a83b75b878b83540889a18ec2b09b881c5a10d10 (patch) | |
tree | 56722ff9b30371b2393218520d42a9685be0075c | |
parent | eefcd3d00da60973355588e4484e1532712d7d99 (diff) | |
download | spack-a83b75b878b83540889a18ec2b09b881c5a10d10.tar.gz spack-a83b75b878b83540889a18ec2b09b881c5a10d10.tar.bz2 spack-a83b75b878b83540889a18ec2b09b881c5a10d10.tar.xz spack-a83b75b878b83540889a18ec2b09b881c5a10d10.zip |
extrae: fix import and issue with pthread (#24220)
-rw-r--r-- | var/spack/repos/builtin/packages/extrae/package.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/extrae/package.py b/var/spack/repos/builtin/packages/extrae/package.py index d4531876e0..f16550569d 100644 --- a/var/spack/repos/builtin/packages/extrae/package.py +++ b/var/spack/repos/builtin/packages/extrae/package.py @@ -3,6 +3,7 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) +import os from spack import * # typical working line with extrae 3.0.1 @@ -109,9 +110,12 @@ class Extrae(AutotoolsPackage): make.add_default_arg("CXXFLAGS=%s" % self.compiler.cxx11_flag) args.append("CXXFLAGS=%s" % self.compiler.cxx11_flag) - # This was added due to configure failure + # This was added due to: + # - configure failure # https://www.gnu.org/software/gettext/FAQ.html#integrating_undefined - args.append('LDFLAGS=-lintl') + # - linking error + # https://github.com/bsc-performance-tools/extrae/issues/57 + args.append('LDFLAGS=-lintl -pthread') return(args) |