summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTamara Dahlgren <35777542+tldahlgren@users.noreply.github.com>2024-05-07 21:49:06 -0700
committerGitHub <noreply@github.com>2024-05-07 22:49:06 -0600
commit2446695113499506db3b9567117b63b0346441c9 (patch)
treeca81834b141bc1e6f1a1cf10ec530549eb5771de /lib
parente0c6cca65cd001f1e28beac87318dfb605fab22a (diff)
downloadspack-2446695113499506db3b9567117b63b0346441c9.tar.gz
spack-2446695113499506db3b9567117b63b0346441c9.tar.bz2
spack-2446695113499506db3b9567117b63b0346441c9.tar.xz
spack-2446695113499506db3b9567117b63b0346441c9.zip
Remove dead environment creation code (#44065)
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/environment/environment.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/spack/spack/environment/environment.py b/lib/spack/spack/environment/environment.py
index 562413c234..cd7221d425 100644
--- a/lib/spack/spack/environment/environment.py
+++ b/lib/spack/spack/environment/environment.py
@@ -383,14 +383,6 @@ def create_in_dir(
return env
- # Must be done after environment is initialized
- if include_concrete:
- manifest.set_include_concrete(include_concrete)
-
- if not keep_relative and init_file is not None and str(init_file).endswith(manifest_name):
- init_file = pathlib.Path(init_file)
- manifest.absolutify_dev_paths(init_file.parent)
-
def _rewrite_relative_dev_paths_on_relocation(env, init_file_dir):
"""When initializing the environment from a manifest file and we plan