summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/hpl/package.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/hpl/package.py b/var/spack/repos/builtin/packages/hpl/package.py
index 3a469d842e..3d6e996323 100644
--- a/var/spack/repos/builtin/packages/hpl/package.py
+++ b/var/spack/repos/builtin/packages/hpl/package.py
@@ -102,9 +102,16 @@ class Hpl(Package):
makefile.write('{0}\n'.format(var))
def install(self, spec, prefix):
+ # Arch used for file naming purposes only
arch = '{0}-{1}'.format(platform.system(), platform.processor())
+ # Generate Makefile include
self.configure(spec, arch)
make('arch={0}'.format(arch))
+
+ # Manual installation
install_tree(join_path('bin', arch), prefix.bin)
+ install_tree(join_path('lib', arch), prefix.lib)
+ install_tree(join_path('include', arch), prefix.include)
+ install_tree('man', prefix.man)