[xapian-core] Reenable SSE on x86_64
drago01
drago01 at fedoraproject.org
Thu Aug 5 17:29:59 UTC 2010
commit 86165a6f12ade51568f4e3967dbcf42bdc0491f9
Author: Adel Gadllah <adel.gadllah at gmail.com>
Date: Thu Aug 5 19:29:10 2010 +0200
Reenable SSE on x86_64
SSE/SSE2 is part of the standard x86_64 ABI and thus *always* present.
xapian-core.spec | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/xapian-core.spec b/xapian-core.spec
index 6e1e816..c1cdbcf 100644
--- a/xapian-core.spec
+++ b/xapian-core.spec
@@ -1,6 +1,6 @@
Name: xapian-core
Version: 1.2.2
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: The Xapian Probabilistic Information Retrieval Library
Group: Applications/Databases
@@ -44,7 +44,12 @@ files needed for building packages which use Xapian
%setup -q
%build
+# Disable SSE on x86, but leave it intact for x86_64
+%ifarch x86_64
+%configure --disable-static
+%else
%configure --disable-static --disable-sse
+%endif
# Remove rpath as per https://fedoraproject.org/wiki/Packaging/Guidelines#Beware_of_Rpath
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
@@ -103,6 +108,9 @@ rm -rf %{buildroot}
%{_mandir}/man1/xapian-config.1*
%changelog
+* Thu Aug 5 2010 Adel Gadllah <adel.gadllah at gmail.com> - 1.2.2-5
+- Reenable SSE on x86_64
+
* Thu Aug 5 2010 Peter Robinson <pbrobinson at gmail.com> - 1.2.2-4
- Disable SSE instructions by default
More information about the scm-commits
mailing list