diff options
author | Massimiliano Culpo <massimiliano.culpo@gmail.com> | 2022-03-13 16:51:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-13 11:51:55 -0400 |
commit | a6eed4a7c7cbf067c061f982b9ae6c2675c990bc (patch) | |
tree | 0db53736cae0155146917748d0fa54e8de827f1a /var/spack/repos/builtin.mock/packages/callpath/package.py | |
parent | 406939f485b4f5c09b73f53c9d4ffc4019b8319a (diff) | |
download | spack-a6eed4a7c7cbf067c061f982b9ae6c2675c990bc.tar.gz spack-a6eed4a7c7cbf067c061f982b9ae6c2675c990bc.tar.bz2 spack-a6eed4a7c7cbf067c061f982b9ae6c2675c990bc.tar.xz spack-a6eed4a7c7cbf067c061f982b9ae6c2675c990bc.zip |
Remove "setup_environment" and "setup_dependent_environment" (#29463)
fixes #29446
The new setup_*_environment functions have been falling back
to calling the old functions and warn the user since #11115.
This commit removes the fallback behavior and any use of:
- setup_environment
- setup_dependent_environment
in the codebase
Diffstat (limited to 'var/spack/repos/builtin.mock/packages/callpath/package.py')
-rw-r--r-- | var/spack/repos/builtin.mock/packages/callpath/package.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/var/spack/repos/builtin.mock/packages/callpath/package.py b/var/spack/repos/builtin.mock/packages/callpath/package.py index ac5122fafc..3f3da665a9 100644 --- a/var/spack/repos/builtin.mock/packages/callpath/package.py +++ b/var/spack/repos/builtin.mock/packages/callpath/package.py @@ -22,5 +22,5 @@ class Callpath(Package): make() make("install") - def setup_environment(self, senv, renv): - renv.set('FOOBAR', self.name) + def setup_run_environment(self, env): + env.set('FOOBAR', self.name) |