compiler-wrapper: install in libexec/spack instead of spack/bin
This commit is contained in:
parent
42c5cc4dc8
commit
56c685e374
@ -51,8 +51,8 @@ class CompilerWrapper(Package):
|
|||||||
|
|
||||||
def bin_dir(self) -> pathlib.Path:
|
def bin_dir(self) -> pathlib.Path:
|
||||||
# This adds an extra "spack" subdir, so that the script and symlinks don't get
|
# This adds an extra "spack" subdir, so that the script and symlinks don't get
|
||||||
# their way to the default view /bin directory in environment
|
# their way to the default view
|
||||||
return pathlib.Path(str(self.prefix)) / "spack" / "bin"
|
return pathlib.Path(str(self.prefix)) / "libexec" / "spack"
|
||||||
|
|
||||||
def install(self, spec, prefix):
|
def install(self, spec, prefix):
|
||||||
if sys.platform == "win32":
|
if sys.platform == "win32":
|
||||||
|
Loading…
Reference in New Issue
Block a user