metall: fix incorrect use of setup_build_environment (#23532)
This commit is contained in:
parent
ad44c3ad51
commit
ccdda9a74e
@ -41,10 +41,10 @@ def cmake_args(self):
|
|||||||
# (https://github.com/spack/spack/pull/11115)
|
# (https://github.com/spack/spack/pull/11115)
|
||||||
# This page has not been updated?
|
# This page has not been updated?
|
||||||
# https://spack-tutorial.readthedocs.io/en/latest/tutorial_advanced_packaging.html
|
# 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
|
# Configure the directories for test
|
||||||
if self.run_tests:
|
if self.run_tests:
|
||||||
spack_env.set(
|
env.set(
|
||||||
'METALL_TEST_DIR',
|
'METALL_TEST_DIR',
|
||||||
join_path(self.build_directory, 'build_test')
|
join_path(self.build_directory, 'build_test')
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user