Revert "Ensure if TCL is already sourced on the system the lib paths don't in…"

This reverts commit aa86342814.
This commit is contained in:
Wouter Deconinck 2025-03-06 18:50:57 -06:00 committed by GitHub
parent ca977ea9e1
commit 06dbda7465
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -182,12 +182,6 @@ 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")