verdurin pushed to bwa (epel7). "enable SSE2 on x86_64 only, fixes build on secondary arches"

notifications at fedoraproject.org notifications at fedoraproject.org
Sat May 30 07:56:43 UTC 2015


From daa215916538a2fbc0d027f2f53a9a8f86dbb357 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Dan=20Hor=C3=A1k?= <dan at danny.cz>
Date: Mon, 28 May 2012 08:46:22 +0200
Subject: enable SSE2 on x86_64 only, fixes build on secondary arches


diff --git a/bwa.spec b/bwa.spec
index 5fbb551..fa5ca92 100644
--- a/bwa.spec
+++ b/bwa.spec
@@ -1,6 +1,6 @@
 Name:           bwa
 Version:        0.6.1
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Burrows-Wheeler Alignment tool
 
 Group:          Applications/Engineering
@@ -21,8 +21,8 @@ for read shorter than 150bp and the other for longer reads.
 %prep
 %setup -q
 
-#Avoid SSE2 on 32-bit
-%ifarch i386 i686
+# SSE2 only on x86_64
+%ifnarch x86_64
 %patch0 -p1 -b .bwa-nosse2-i386.patch
 %endif
 
@@ -56,6 +56,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Mon May 28 2012 Dan HorĂ¡k <dan[at]danny.cz> - 0.6.1-3
+- enable SSE2 on x86_64 only, fixes build on secondary arches
+
 * Sun May 13 2012 Adam Huffman <verdurin at fedoraproject.org> - 0.6.1-2
 - add patch to avoid SSE2 on i386
 
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/bwa.git/commit/?h=epel7&id=daa215916538a2fbc0d027f2f53a9a8f86dbb357


More information about the scm-commits mailing list