diff options
author | t-karatsu <49965247+t-karatsu@users.noreply.github.com> | 2019-11-25 23:14:18 +0900 |
---|---|---|
committer | Massimiliano Culpo <massimiliano.culpo@gmail.com> | 2019-11-25 15:14:18 +0100 |
commit | b8c18068c2cc2afe169c750f25318c6ba92e2763 (patch) | |
tree | e0d2604dd5c19df6ddd14d58dd574be4c11ed624 /var | |
parent | 3a94c032c75657877c8301ddced56bd5e768a986 (diff) | |
download | spack-b8c18068c2cc2afe169c750f25318c6ba92e2763.tar.gz spack-b8c18068c2cc2afe169c750f25318c6ba92e2763.tar.bz2 spack-b8c18068c2cc2afe169c750f25318c6ba92e2763.tar.xz spack-b8c18068c2cc2afe169c750f25318c6ba92e2763.zip |
prank: use Spack compilers and remove x86_64 opts from Makefile (#13877)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/prank/package.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/prank/package.py b/var/spack/repos/builtin/packages/prank/package.py index d45eadb028..7901d627b1 100644 --- a/var/spack/repos/builtin/packages/prank/package.py +++ b/var/spack/repos/builtin/packages/prank/package.py @@ -21,6 +21,15 @@ class Prank(Package): def install(self, spec, prefix): with working_dir('src'): + + filter_file('gcc', '{0}'.format(spack_cc), + 'Makefile', string=True) + filter_file('g++', '{0}'.format(spack_cxx), + 'Makefile', string=True) + if not spec.target.family == 'x86_64': + filter_file('-m64', '', 'Makefile', string=True) + filter_file('-pipe', '', 'Makefile', string=True) + make() mkdirp(prefix.bin) install('prank', prefix.bin) |