Ensure if TCL is already sourced on the system the lib paths don't interfere with spack's install step (#49325)
This commit is contained in:
parent
170a276f18
commit
aa86342814
@ -182,6 +182,12 @@ def setup_dependent_build_environment(self, env, dependent_spec):
|
|||||||
class AutotoolsBuilder(AnyBuilder, spack.build_systems.autotools.AutotoolsBuilder):
|
class AutotoolsBuilder(AnyBuilder, spack.build_systems.autotools.AutotoolsBuilder):
|
||||||
configure_directory = "unix"
|
configure_directory = "unix"
|
||||||
|
|
||||||
|
# if TCL is present on the system this may be set to the system's
|
||||||
|
# existing TCL so ensure it is unset
|
||||||
|
# https://wiki.tcl-lang.org/page/TCL%5FLIBRARY
|
||||||
|
def setup_build_environment(self, env):
|
||||||
|
env.set("TCL_LIBRARY", "")
|
||||||
|
|
||||||
def install(self, pkg, spec, prefix):
|
def install(self, pkg, spec, prefix):
|
||||||
with working_dir(self.build_directory):
|
with working_dir(self.build_directory):
|
||||||
make("install")
|
make("install")
|
||||||
|
Loading…
Reference in New Issue
Block a user