summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBill Williams <william.williams@mailbox.tu-dresden.de>2023-03-17 00:30:48 +0100
committerGitHub <noreply@github.com>2023-03-16 16:30:48 -0700
commit09fd3e8e61e819c2fb207b1b9fefbea659d140a2 (patch)
tree300f8e3b015da9a076ebe7acf176faee567b6a9e
parente341dac0147d4a3aa25d452748ee8639e648c147 (diff)
downloadspack-09fd3e8e61e819c2fb207b1b9fefbea659d140a2.tar.gz
spack-09fd3e8e61e819c2fb207b1b9fefbea659d140a2.tar.bz2
spack-09fd3e8e61e819c2fb207b1b9fefbea659d140a2.tar.xz
spack-09fd3e8e61e819c2fb207b1b9fefbea659d140a2.zip
Add explicit configure args to fix instrumentation-time paths (#36089)
-rw-r--r--var/spack/repos/builtin/packages/cubelib/package.py2
-rw-r--r--var/spack/repos/builtin/packages/cubew/package.py2
-rw-r--r--var/spack/repos/builtin/packages/scorep/package.py3
3 files changed, 6 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/cubelib/package.py b/var/spack/repos/builtin/packages/cubelib/package.py
index fa437e7180..8a37906d7b 100644
--- a/var/spack/repos/builtin/packages/cubelib/package.py
+++ b/var/spack/repos/builtin/packages/cubelib/package.py
@@ -52,7 +52,7 @@ class Cubelib(AutotoolsPackage):
def configure_args(self):
configure_args = ["--enable-shared"]
-
+ configure_args.append("--with-frontend-zlib=%s" % self.spec["zlib"].prefix.lib)
return configure_args
def install(self, spec, prefix):
diff --git a/var/spack/repos/builtin/packages/cubew/package.py b/var/spack/repos/builtin/packages/cubew/package.py
index 099564d785..6b8aa96841 100644
--- a/var/spack/repos/builtin/packages/cubew/package.py
+++ b/var/spack/repos/builtin/packages/cubew/package.py
@@ -52,6 +52,8 @@ class Cubew(AutotoolsPackage):
def configure_args(self):
configure_args = ["--enable-shared"]
+ configure_args.append("--with-frontend-zlib=%s" % self.spec["zlib"].prefix.lib)
+ configure_args.append("--with-backend-zlib=%s" % self.spec["zlib"].prefix.lib)
return configure_args
diff --git a/var/spack/repos/builtin/packages/scorep/package.py b/var/spack/repos/builtin/packages/scorep/package.py
index d78ced739a..48720c1653 100644
--- a/var/spack/repos/builtin/packages/scorep/package.py
+++ b/var/spack/repos/builtin/packages/scorep/package.py
@@ -187,6 +187,9 @@ class Scorep(AutotoolsPackage):
elif spec.satisfies("^openmpi"):
config_args.append("--with-mpi=openmpi")
+ if spec.satisfies("^binutils"):
+ config_args.append("--with-libbfd=%s" % spec["binutils"].prefix)
+
config_args.extend(
[
"CFLAGS={0}".format(self.compiler.cc_pic_flag),