Skip to content
Snippets Groups Projects
Unverified Commit aae59f48 authored by noguchi-k's avatar noguchi-k Committed by GitHub
Browse files

lastz: set compile commands for each compiler (#15284)

parent c0032a36
No related branches found
No related tags found
No related merge requests found
...@@ -17,5 +17,9 @@ class Lastz(MakefilePackage): ...@@ -17,5 +17,9 @@ class Lastz(MakefilePackage):
# cast from char to signed char # cast from char to signed char
patch('cast_signed_char.patch') 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): def install(self, spec, prefix):
make('install', 'LASTZ_INSTALL={0}'.format(prefix.bin)) make('install', 'LASTZ_INSTALL={0}'.format(prefix.bin))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment