ntl-9.8.0
Also: - Add -loadtime-cpu patch. - Enable the check script on x86_64.
This commit is contained in:
parent
95df212335
commit
0da5f48a1e
|
@ -2,3 +2,4 @@
|
|||
/ntl-9.6.2.tar.gz
|
||||
/ntl-9.6.4.tar.gz
|
||||
/ntl-9.7.0.tar.gz
|
||||
/ntl-9.8.0.tar.gz
|
||||
|
|
File diff suppressed because it is too large
Load Diff
30
ntl.spec
30
ntl.spec
|
@ -10,15 +10,18 @@
|
|||
|
||||
Summary: High-performance algorithms for vectors, matrices, and polynomials
|
||||
Name: ntl
|
||||
Version: 9.7.0
|
||||
Version: 9.8.0
|
||||
Release: 1%{?dist}
|
||||
|
||||
License: GPLv2+
|
||||
URL: http://shoup.net/ntl/
|
||||
Group: System Environment/Libraries
|
||||
|
||||
Source0: http://shoup.net/ntl/%{name}-%{version}.tar.gz
|
||||
Source1: multilib_template.h
|
||||
# Detect CPU at load time, optionally use PCLMUL, AVX, FMA, and AVX2 features.
|
||||
# This patch was sent upstream, but upstream prefers that the entire library
|
||||
# be built for a specific CPU, which we cannot do in Fedora.
|
||||
Patch0: %{name}-loadtime-cpu.patch
|
||||
|
||||
BuildRequires: gcc-c++
|
||||
%if 0%{?gf2x}
|
||||
|
@ -47,14 +50,12 @@ NTL provides high quality implementations of state-of-the-art algorithms for:
|
|||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Group: Development/Libraries
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
%description devel
|
||||
%{summary}.
|
||||
|
||||
%package static
|
||||
Summary: Static libraries for %{name}
|
||||
Group: Development/Libraries
|
||||
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
|
||||
#Requires: gmp-devel
|
||||
%description static
|
||||
|
@ -62,7 +63,8 @@ Requires: %{name}-devel%{?_isa} = %{version}-%{release}
|
|||
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%setup -q
|
||||
%patch0
|
||||
|
||||
|
||||
%build
|
||||
|
@ -78,6 +80,11 @@ pushd src
|
|||
NATIVE=off \
|
||||
%{?gf2x:NTL_GF2X_LIB=on} \
|
||||
NTL_PCLMUL=off \
|
||||
NTL_DISABLE_TLS_HACK=on \
|
||||
%ifarch x86_64
|
||||
NTL_LOADTIME_CPU=on \
|
||||
WIZARD=off \
|
||||
%endif
|
||||
SHARED=on
|
||||
popd
|
||||
|
||||
|
@ -86,8 +93,10 @@ make -C src V=1
|
|||
|
||||
|
||||
%check
|
||||
# skip by default, takes a *long, long, long* (days?) time -- Rex
|
||||
%{?_with_check:make -C src check}
|
||||
# skip on non-x86_64, takes a *long, long, long* (days?) time -- Rex
|
||||
%ifarch x86_64
|
||||
make -C src check
|
||||
%endif
|
||||
|
||||
|
||||
%install
|
||||
|
@ -127,7 +136,7 @@ done
|
|||
%files
|
||||
%doc README
|
||||
%license doc/copying.txt
|
||||
%{_libdir}/libntl.so.22*
|
||||
%{_libdir}/libntl.so.24*
|
||||
|
||||
%files devel
|
||||
%doc doc/*
|
||||
|
@ -141,6 +150,11 @@ done
|
|||
|
||||
|
||||
%changelog
|
||||
* Fri Apr 29 2016 Jerry James <loganjerry@gmail.com> - 9.8.0-1
|
||||
- ntl-9.8.0
|
||||
- Add -loadtime-cpu patch
|
||||
- Enable the check script on x86_64
|
||||
|
||||
* Sat Mar 19 2016 Jerry James <loganjerry@gmail.com> - 9.7.0-1
|
||||
- ntl-9.7.0
|
||||
|
||||
|
|
Loading…
Reference in New Issue