bwa: patch Makefile to permit the use of compilers other than GCC (#18189)
This commit is contained in:
parent
c786eb46bb
commit
8a02ef4d51
@ -36,6 +36,8 @@ def install(self, spec, prefix):
|
|||||||
zlib_inc_path, 'Makefile')
|
zlib_inc_path, 'Makefile')
|
||||||
filter_file(r'^LIBS=', "LIBS=-L%s " % spec['zlib'].prefix.lib,
|
filter_file(r'^LIBS=', "LIBS=-L%s " % spec['zlib'].prefix.lib,
|
||||||
'Makefile')
|
'Makefile')
|
||||||
|
# use spack C compiler
|
||||||
|
filter_file('^CC=.*', 'CC={0}'.format(spack_cc), 'Makefile')
|
||||||
make()
|
make()
|
||||||
|
|
||||||
mkdirp(prefix.bin)
|
mkdirp(prefix.bin)
|
||||||
|
Loading…
Reference in New Issue
Block a user