Skip to content

Commit

Permalink
[WIP] Add makefile patch, bump BWA. (#13594)
Browse files Browse the repository at this point in the history
* Add makefile patch

* Try bigger patch
  • Loading branch information
kyleabeauchamp committed Feb 13, 2019
1 parent 814f7b3 commit 30beda1
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
16 changes: 16 additions & 0 deletions recipes/bwa/Makefile.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
diff --git a/Makefile b/Makefile
index 7151435..2f0a4fe 100644
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,9 @@
-CC= gcc
+#CC= gcc
#CC= clang --analyze
CFLAGS= -g -Wall -Wno-unused-function -O2
WRAP_MALLOC=-DUSE_MALLOC_WRAPPERS
AR= ar
-DFLAGS= -DHAVE_PTHREAD $(WRAP_MALLOC)
+DFLAGS= -DHAVE_PTHREAD $(WRAP_MALLOC) $(LDFLAGS)
LOBJS= utils.o kthread.o kstring.o ksw.o bwt.o bntseq.o bwa.o bwamem.o bwamem_pair.o bwamem_extra.o malloc_wrap.o \
QSufSort.o bwt_gen.o rope.o rle.o is.o bwtindex.o
AOBJS= bwashm.o bwase.o bwaseqio.o bwtgap.o bwtaln.o bamlite.o \
4 changes: 3 additions & 1 deletion recipes/bwa/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,11 @@ package:
source:
url: https://github.com/lh3/bwa/archive/v{{ version }}.tar.gz
sha256: {{ sha256 }}
patches:
- Makefile.patch

build:
number: 4
number: 5

requirements:
build:
Expand Down

0 comments on commit 30beda1

Please sign in to comment.