summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRobert Underwood <robertu94@users.noreply.github.com>2022-10-17 15:30:54 -0400
committerGitHub <noreply@github.com>2022-10-17 13:30:54 -0600
commitda6aeaad44e434da5563d32f2fa9900de362b2ed (patch)
tree49c7bc8654d82f1a80d0edbfb5f726b3dc354a01 /lib
parentfb090a69f4ead786c5b0e016f402bb4d782ab313 (diff)
downloadspack-da6aeaad44e434da5563d32f2fa9900de362b2ed.tar.gz
spack-da6aeaad44e434da5563d32f2fa9900de362b2ed.tar.bz2
spack-da6aeaad44e434da5563d32f2fa9900de362b2ed.tar.xz
spack-da6aeaad44e434da5563d32f2fa9900de362b2ed.zip
Initial contribution of LibPressio ecosystem (#32630)
* Add libpressio and dependencies; some of these packages are maintained as forks of the original repositories and in those cases the docstring mentions this. * Add optional dependency in adios2 on libpressio * cub package: set CUB_DIR environment variable for dependent installations * Clear R_HOME/R_ENVIRON before Spack installation (avoid sources outside of Spack from affecting the installation in Spack) * Rename dlib to dorian3d-dlib and update dependents; add new dlib implementation. Pending an official policy on how to handle packages with short names, reviewer unilaterally decided that the rename was acceptable given that the new Spack dlib package is referenced more widely (by orders of magnitude) than the original Co-authored-by: Samuel Li <shaomeng@users.noreply.github.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/build_environment.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/spack/spack/build_environment.py b/lib/spack/spack/build_environment.py
index 63b1309a22..f8fda997d3 100644
--- a/lib/spack/spack/build_environment.py
+++ b/lib/spack/spack/build_environment.py
@@ -201,6 +201,8 @@ def clean_environment():
env.unset("CMAKE_PREFIX_PATH")
env.unset("PYTHONPATH")
+ env.unset("R_HOME")
+ env.unset("R_ENVIRON")
# Affects GNU make, can e.g. indirectly inhibit enabling parallel build
# env.unset('MAKEFLAGS')