diff options
author | eugeneswalker <38933153+eugeneswalker@users.noreply.github.com> | 2021-05-10 09:26:19 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-10 09:26:19 -0700 |
commit | ccdda9a74ef13c12506718d33b4c4ab0151363e2 (patch) | |
tree | c374c5878d483e30f8e8b236222a015c17018d64 | |
parent | ad44c3ad512428bee56fd9fac63ba146a88c74e0 (diff) | |
download | spack-ccdda9a74ef13c12506718d33b4c4ab0151363e2.tar.gz spack-ccdda9a74ef13c12506718d33b4c4ab0151363e2.tar.bz2 spack-ccdda9a74ef13c12506718d33b4c4ab0151363e2.tar.xz spack-ccdda9a74ef13c12506718d33b4c4ab0151363e2.zip |
metall: fix incorrect use of setup_build_environment (#23532)
-rw-r--r-- | var/spack/repos/builtin/packages/metall/package.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/metall/package.py b/var/spack/repos/builtin/packages/metall/package.py index 2708a6bf98..d42b6fe13c 100644 --- a/var/spack/repos/builtin/packages/metall/package.py +++ b/var/spack/repos/builtin/packages/metall/package.py @@ -41,10 +41,10 @@ class Metall(CMakePackage): # (https://github.com/spack/spack/pull/11115) # This page has not been updated? # https://spack-tutorial.readthedocs.io/en/latest/tutorial_advanced_packaging.html - def setup_build_environment(self, spack_env, run_env): + def setup_build_environment(self, env): # Configure the directories for test if self.run_tests: - spack_env.set( + env.set( 'METALL_TEST_DIR', join_path(self.build_directory, 'build_test') ) |