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/tutorial/packages | |
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/tutorial/packages')
-rw-r--r-- | var/spack/repos/tutorial/packages/elpa/package.py | 2 | ||||
-rw-r--r-- | var/spack/repos/tutorial/packages/mpich/package.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/var/spack/repos/tutorial/packages/elpa/package.py b/var/spack/repos/tutorial/packages/elpa/package.py index a6c7ea6260..6d7dc82b20 100644 --- a/var/spack/repos/tutorial/packages/elpa/package.py +++ b/var/spack/repos/tutorial/packages/elpa/package.py @@ -44,7 +44,7 @@ class Elpa(AutotoolsPackage): build_directory = 'spack-build' - def setup_environment(self, spack_env, run_env): + def setup_run_environment(self, env): # TUTORIAL: set the following environment variables: # # CC=spec['mpi'].mpicc diff --git a/var/spack/repos/tutorial/packages/mpich/package.py b/var/spack/repos/tutorial/packages/mpich/package.py index 10a5381095..b5befe995d 100644 --- a/var/spack/repos/tutorial/packages/mpich/package.py +++ b/var/spack/repos/tutorial/packages/mpich/package.py @@ -75,7 +75,7 @@ spack package at this time.''', conflicts('netmod=mxm', when='@:3.1.3') conflicts('netmod=tcp', when='device=ch4') - def setup_dependent_environment(self, spack_env, run_env, dependent_spec): + def setup_dependent_build_environment(self, env, dependent_spec): # TUTORIAL: set the following variables for dependents: # # MPICC=join_path(self.prefix.bin, 'mpicc') |