compiler-wrapper: install in libexec/spack instead of spack/bin

This commit is contained in:
Massimiliano Culpo 2025-01-23 22:32:48 +01:00
parent 42c5cc4dc8
commit 56c685e374
No known key found for this signature in database
GPG Key ID: 3E52BB992233066C

View File

@ -51,8 +51,8 @@ class CompilerWrapper(Package):
def bin_dir(self) -> pathlib.Path:
# 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
return pathlib.Path(str(self.prefix)) / "spack" / "bin"
# their way to the default view
return pathlib.Path(str(self.prefix)) / "libexec" / "spack"
def install(self, spec, prefix):
if sys.platform == "win32":