Add explicit configure args to fix instrumentation-time paths (#36089)
This commit is contained in:
parent
e341dac014
commit
09fd3e8e61
@ -52,7 +52,7 @@ def url_for_version(self, version):
|
|||||||
|
|
||||||
def configure_args(self):
|
def configure_args(self):
|
||||||
configure_args = ["--enable-shared"]
|
configure_args = ["--enable-shared"]
|
||||||
|
configure_args.append("--with-frontend-zlib=%s" % self.spec["zlib"].prefix.lib)
|
||||||
return configure_args
|
return configure_args
|
||||||
|
|
||||||
def install(self, spec, prefix):
|
def install(self, spec, prefix):
|
||||||
|
@ -52,6 +52,8 @@ def url_for_version(self, version):
|
|||||||
|
|
||||||
def configure_args(self):
|
def configure_args(self):
|
||||||
configure_args = ["--enable-shared"]
|
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
|
return configure_args
|
||||||
|
|
||||||
|
@ -187,6 +187,9 @@ def configure_args(self):
|
|||||||
elif spec.satisfies("^openmpi"):
|
elif spec.satisfies("^openmpi"):
|
||||||
config_args.append("--with-mpi=openmpi")
|
config_args.append("--with-mpi=openmpi")
|
||||||
|
|
||||||
|
if spec.satisfies("^binutils"):
|
||||||
|
config_args.append("--with-libbfd=%s" % spec["binutils"].prefix)
|
||||||
|
|
||||||
config_args.extend(
|
config_args.extend(
|
||||||
[
|
[
|
||||||
"CFLAGS={0}".format(self.compiler.cc_pic_flag),
|
"CFLAGS={0}".format(self.compiler.cc_pic_flag),
|
||||||
|
Loading…
Reference in New Issue
Block a user