extrae: fix import and issue with pthread (#24220)
This commit is contained in:
parent
eefcd3d00d
commit
a83b75b878
@ -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 @@ def configure_args(self):
|
||||
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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user