diff options
author | noguchi-k <55966120+noguchi-k@users.noreply.github.com> | 2020-03-02 23:05:31 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-02 08:05:31 -0600 |
commit | aae59f48669e284c5a95fd2e5c67b3f7454ef8ac (patch) | |
tree | a7a75f474f15d1b745cb17e98accbac37d799d97 /var | |
parent | c0032a366091c112fb68d521d137344497f7ff8b (diff) | |
download | spack-aae59f48669e284c5a95fd2e5c67b3f7454ef8ac.tar.gz spack-aae59f48669e284c5a95fd2e5c67b3f7454ef8ac.tar.bz2 spack-aae59f48669e284c5a95fd2e5c67b3f7454ef8ac.tar.xz spack-aae59f48669e284c5a95fd2e5c67b3f7454ef8ac.zip |
lastz: set compile commands for each compiler (#15284)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/lastz/package.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/lastz/package.py b/var/spack/repos/builtin/packages/lastz/package.py index e590aec533..d01068df51 100644 --- a/var/spack/repos/builtin/packages/lastz/package.py +++ b/var/spack/repos/builtin/packages/lastz/package.py @@ -17,5 +17,9 @@ class Lastz(MakefilePackage): # cast from char to signed char patch('cast_signed_char.patch') + # set compile commands for each compiler + def edit(self, spec, prefix): + filter_file('gcc', spack_cc, 'src/Makefile') + def install(self, spec, prefix): make('install', 'LASTZ_INSTALL={0}'.format(prefix.bin)) |