ltr-retriever: changing directory layout (#38513)
This commit is contained in:
parent
02af41ebb3
commit
41be2f5899
@ -3,8 +3,6 @@
|
|||||||
#
|
#
|
||||||
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
||||||
|
|
||||||
from os import symlink
|
|
||||||
|
|
||||||
from spack.package import *
|
from spack.package import *
|
||||||
|
|
||||||
|
|
||||||
@ -42,9 +40,7 @@ def install(self, spec, prefix):
|
|||||||
"^TEsorter=.*$", "TEsorter={}".format(spec["py-tesorter"].prefix.bin), "paths"
|
"^TEsorter=.*$", "TEsorter={}".format(spec["py-tesorter"].prefix.bin), "paths"
|
||||||
)
|
)
|
||||||
|
|
||||||
mkdirp(prefix.opt)
|
install_tree(".", prefix)
|
||||||
mkdirp(prefix.bin)
|
|
||||||
|
|
||||||
install_tree(".", prefix.opt.ltr_retriever)
|
def setup_run_environment(self, env):
|
||||||
|
env.prepend_path("PATH", self.prefix)
|
||||||
symlink(prefix.opt.ltr_retriever.LTR_retriever, prefix.bin.LTR_retriever)
|
|
||||||
|
Loading…
Reference in New Issue
Block a user