diff options
author | snehring <7978778+snehring@users.noreply.github.com> | 2024-11-27 16:16:57 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-27 14:16:57 -0700 |
commit | 41be2f5899896755bb73bd70ce17e4c4001a0ed2 (patch) | |
tree | 2e469f9311ab493706f563af4f820b5058720560 /var | |
parent | 02af41ebb35514c548bfe360757b92886577a2a4 (diff) | |
download | spack-41be2f5899896755bb73bd70ce17e4c4001a0ed2.tar.gz spack-41be2f5899896755bb73bd70ce17e4c4001a0ed2.tar.bz2 spack-41be2f5899896755bb73bd70ce17e4c4001a0ed2.tar.xz spack-41be2f5899896755bb73bd70ce17e4c4001a0ed2.zip |
ltr-retriever: changing directory layout (#38513)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/ltr-retriever/package.py | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/var/spack/repos/builtin/packages/ltr-retriever/package.py b/var/spack/repos/builtin/packages/ltr-retriever/package.py index e54698684b..73f4111eef 100644 --- a/var/spack/repos/builtin/packages/ltr-retriever/package.py +++ b/var/spack/repos/builtin/packages/ltr-retriever/package.py @@ -3,8 +3,6 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from os import symlink - from spack.package import * @@ -42,9 +40,7 @@ class LtrRetriever(Package): "^TEsorter=.*$", "TEsorter={}".format(spec["py-tesorter"].prefix.bin), "paths" ) - mkdirp(prefix.opt) - mkdirp(prefix.bin) - - install_tree(".", prefix.opt.ltr_retriever) + install_tree(".", prefix) - symlink(prefix.opt.ltr_retriever.LTR_retriever, prefix.bin.LTR_retriever) + def setup_run_environment(self, env): + env.prepend_path("PATH", self.prefix) |