Package: bowtie / 1.2.2+dfsg-4

ppc64el.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
Description: enable for ppc64el
Bug-Debian: https://bugs.debian.org/788537
Author: Fernando Seiti Furusato <ferseiti@br.ibm.com>
Last-Update: Fri, 12 Jun 2015 14:39:07 UTC
--- bowtie.orig/Makefile
+++ bowtie/Makefile
@@ -8,7 +8,7 @@
 SEQAN_DIR = /usr/include/seqan
 # treat SeqAn as a sysdir to suppress warnings
 SEQAN_INC = -isystem $(SEQAN_DIR)
-INC = $(if $(RELEASE_BUILD),-I$(CURDIR)/.include) $(SEQAN_INC) -I third_party
+INC = $(SEQAN_INC)
 CPP = g++
 CXX = $(CPP)
 CC = gcc
@@ -103,11 +103,11 @@
 	LIBS += $(PTHREAD_LIB)
 endif
 
-POPCNT_CAPABILITY ?= 1
-ifeq (1, $(POPCNT_CAPABILITY))
-    override EXTRA_FLAGS += -DPOPCNT_CAPABILITY
-    INC += -I third_party
-endif
+#POPCNT_CAPABILITY ?= 1
+#ifeq (1, $(POPCNT_CAPABILITY))
+#    override EXTRA_FLAGS += -DPOPCNT_CAPABILITY
+#    INC += -I third_party
+#endif
 
 PREFETCH_LOCALITY = 2
 PREF_DEF = -DPREFETCH_LOCALITY=$(PREFETCH_LOCALITY)
@@ -162,7 +162,7 @@
 VERSION = $(shell cat VERSION)
 
 BITS=32
-ifeq (x86_64,$(shell uname -m))
+ifneq (,$(filter $(shell uname -m), ppc64le x86_64))
 	BITS=64
 endif
 # msys will always be 32 bit so look at the cpu arch instead.