diff options
author | ketsubouchi <kenta.tsubouchi@hac-inc.co.jp> | 2020-08-20 16:55:05 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-20 09:55:05 +0200 |
commit | 8a02ef4d51a08ed8bcdd97e971e514a5af75c5cb (patch) | |
tree | cb18287d237abecfe1db897fa9b2fdbfe4250503 | |
parent | c786eb46bb3e79574db1a6f08f7718b7a872b3ad (diff) | |
download | spack-8a02ef4d51a08ed8bcdd97e971e514a5af75c5cb.tar.gz spack-8a02ef4d51a08ed8bcdd97e971e514a5af75c5cb.tar.bz2 spack-8a02ef4d51a08ed8bcdd97e971e514a5af75c5cb.tar.xz spack-8a02ef4d51a08ed8bcdd97e971e514a5af75c5cb.zip |
bwa: patch Makefile to permit the use of compilers other than GCC (#18189)
-rw-r--r-- | var/spack/repos/builtin/packages/bwa/package.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/bwa/package.py b/var/spack/repos/builtin/packages/bwa/package.py index 5f2d3ff178..266ac915e3 100644 --- a/var/spack/repos/builtin/packages/bwa/package.py +++ b/var/spack/repos/builtin/packages/bwa/package.py @@ -36,6 +36,8 @@ class Bwa(Package): zlib_inc_path, 'Makefile') filter_file(r'^LIBS=', "LIBS=-L%s " % spec['zlib'].prefix.lib, 'Makefile') + # use spack C compiler + filter_file('^CC=.*', 'CC={0}'.format(spack_cc), 'Makefile') make() mkdirp(prefix.bin) |