diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2016-05-17 13:36:38 -0500 |
---|---|---|
committer | Adam J. Stewart <ajstewart426@gmail.com> | 2016-05-17 13:36:38 -0500 |
commit | f16228d811e4be68f4e4704ff3c2eaee86c936d6 (patch) | |
tree | 39c37a905f4b1f587c7e66db7b6ee5fd508738fc /var | |
parent | 631cbdbda89a1a227dcb0277478195a950984240 (diff) | |
download | spack-f16228d811e4be68f4e4704ff3c2eaee86c936d6.tar.gz spack-f16228d811e4be68f4e4704ff3c2eaee86c936d6.tar.bz2 spack-f16228d811e4be68f4e4704ff3c2eaee86c936d6.tar.xz spack-f16228d811e4be68f4e4704ff3c2eaee86c936d6.zip |
Add more install directories
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/hpl/package.py | 7 |
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) |