fix spack-build usages (#18846)

This commit is contained in:
Christoph Junghans 2020-09-21 11:19:06 -06:00 committed by GitHub
parent 5565b6494d
commit 165dbf719d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -42,6 +42,6 @@ def cmake_args(self):
def install(self, spec, prefix):
mkdir(prefix.bin)
mkdir(prefix.doc)
install('../spack-build/BRANSON', prefix.bin)
install(join_path(self.build_directory, 'BRANSON'), prefix.bin)
install('LICENSE.md', prefix.doc)
install('README.md', prefix.doc)

View File

@ -23,4 +23,4 @@ class Hacckernels(CMakePackage):
def install(self, spec, prefix):
mkdirp(prefix.bin)
install('README', prefix)
install('../spack-build/HACCKernels', prefix.bin)
install(join_path(self.build_directory, 'HACCKernels'), prefix.bin)

View File

@ -42,4 +42,4 @@ def install(self, spec, prefix):
# Kripke does not provide install target, so we have to copy
# things into place.
mkdirp(prefix.bin)
install('../spack-build/bin/kripke.exe', prefix.bin)
install(join_path(self.build_directory, 'bin/kripke.exe'), prefix.bin)