diff options
author | Matthieu Dorier <mdorier@anl.gov> | 2024-01-17 13:00:07 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-17 20:00:07 +0100 |
commit | e92716ff2df7f6ea1ac7d37b32701ebdcb4b3d0f (patch) | |
tree | 642d015c261d346b8be94a669c80ae7da96361f9 | |
parent | 0eaab09e8864bb063438d39698fad300e987fc1a (diff) | |
download | spack-e92716ff2df7f6ea1ac7d37b32701ebdcb4b3d0f.tar.gz spack-e92716ff2df7f6ea1ac7d37b32701ebdcb4b3d0f.tar.bz2 spack-e92716ff2df7f6ea1ac7d37b32701ebdcb4b3d0f.tar.xz spack-e92716ff2df7f6ea1ac7d37b32701ebdcb4b3d0f.zip |
build_environment.py: clean LUA_PATH and LUA_CPATH (#42101)
For better build isolation
-rw-r--r-- | lib/spack/spack/build_environment.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/spack/spack/build_environment.py b/lib/spack/spack/build_environment.py index 4e649ca0f3..1ef3c658dc 100644 --- a/lib/spack/spack/build_environment.py +++ b/lib/spack/spack/build_environment.py @@ -217,6 +217,9 @@ def clean_environment(): env.unset("R_HOME") env.unset("R_ENVIRON") + env.unset("LUA_PATH") + env.unset("LUA_CPATH") + # Affects GNU make, can e.g. indirectly inhibit enabling parallel build # env.unset('MAKEFLAGS') |