This commit is contained in:
parent
62f627855f
commit
e369405752
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:7d74723e99f365bbdac6773122db303f233ee111b4dc7897d045b71f82b48f41
|
|
||||||
size 2063883
|
|
3
gsl-1.12.tar.bz2
Normal file
3
gsl-1.12.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:2887ab91d8e204b4aef905c8ba25852fe99613aa071d184313cd3aada2cce531
|
||||||
|
size 2229490
|
@ -1,18 +0,0 @@
|
|||||||
Index: Makefile.am
|
|
||||||
===================================================================
|
|
||||||
--- Makefile.am.orig
|
|
||||||
+++ Makefile.am
|
|
||||||
@@ -16,10 +16,10 @@ pkgconfig_DATA= gsl.pc
|
|
||||||
EXTRA_DIST = autogen.sh gsl-config.in gsl.pc.in configure.ac THANKS BUGS SUPPORT gsl.spec.in gsl.m4 test_gsl_histogram.sh
|
|
||||||
|
|
||||||
lib_LTLIBRARIES = libgsl.la
|
|
||||||
libgsl_la_SOURCES = version.c
|
|
||||||
-libgsl_la_LIBADD = $(SUBLIBS)
|
|
||||||
-libgsl_la_LDFLAGS = -version-info $(GSL_LT_VERSION)
|
|
||||||
+libgsl_la_LIBADD = $(SUBLIBS) cblas/libgslcblas.la
|
|
||||||
+libgsl_la_LDFLAGS = -no-undefined -version-info $(GSL_LT_VERSION)
|
|
||||||
noinst_HEADERS = templates_on.h templates_off.h
|
|
||||||
|
|
||||||
m4datadir = $(datadir)/aclocal
|
|
||||||
m4data_DATA = gsl.m4
|
|
||||||
|
|
22
gsl.changes
22
gsl.changes
@ -1,3 +1,25 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jul 30 17:57:56 CEST 2009 - garloff@suse.de
|
||||||
|
|
||||||
|
- Run make check on all archs, relax precision for qawc elist on x86.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jul 30 11:37:34 CEST 2009 - aj@suse.de
|
||||||
|
|
||||||
|
- Update to gsl-1.12:
|
||||||
|
* Many bugfixes (see NEWS for full list)
|
||||||
|
* Improvements: faster simplex mininimser gsl_multimin_fminimizer_nmsimplex2,
|
||||||
|
gsl_monte_vegas to avoid catastrophic cancellation,
|
||||||
|
* New functions: gsl_bspline_eval_deriv, new auxiliary functions
|
||||||
|
gsl_cheb_order, gsl_cheb_size, gsl_cheb_coeffs for Chebyshev series,
|
||||||
|
gsl_vector_complex_{isnonneg,add,sub,mul, div,scale,add_constant}
|
||||||
|
and gsl_matrix_complex_float_isnonn, gsl_linalg_cholesky_invert
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jul 28 15:16:32 CEST 2009 - aj@suse.de
|
||||||
|
|
||||||
|
- Fix build - disable html generation which fails.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jan 14 00:09:09 CET 2009 - crrodriguez@suse.de
|
Wed Jan 14 00:09:09 CET 2009 - crrodriguez@suse.de
|
||||||
|
|
||||||
|
207
gsl.spec
207
gsl.spec
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package gsl (Version 1.11)
|
# spec file for package gsl (Version 1.12)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
@ -19,9 +19,10 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: gsl
|
Name: gsl
|
||||||
BuildRequires: blas latex2html
|
#BuildRequires: blas latex2html
|
||||||
Version: 1.11
|
BuildRequires: blas
|
||||||
Release: 4
|
Version: 1.12
|
||||||
|
Release: 1
|
||||||
License: GPL v3 or later
|
License: GPL v3 or later
|
||||||
# NOTE: The package has been update to 1.10+ after all issues with
|
# NOTE: The package has been update to 1.10+ after all issues with
|
||||||
# GNU GPLv3 have been resolved.
|
# GNU GPLv3 have been resolved.
|
||||||
@ -31,8 +32,8 @@ AutoReqProv: on
|
|||||||
Summary: GNU Scientific Library
|
Summary: GNU Scientific Library
|
||||||
Source: ftp://ftp.gnu.org/pub/gnu/gsl/gsl-%{version}.tar.bz2
|
Source: ftp://ftp.gnu.org/pub/gnu/gsl/gsl-%{version}.tar.bz2
|
||||||
Patch: gsl-1.6-initvars.diff
|
Patch: gsl-1.6-initvars.diff
|
||||||
Patch3: gsl-1.6-deps.dif
|
|
||||||
Patch5: gsl-wrap.diff
|
Patch5: gsl-wrap.diff
|
||||||
|
Patch6: qawc-test-x86-precision.diff
|
||||||
Url: http://www.gnu.org/software/gsl/
|
Url: http://www.gnu.org/software/gsl/
|
||||||
Prefix: /usr
|
Prefix: /usr
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
@ -114,10 +115,10 @@ Authors:
|
|||||||
Fabrice Rossi <rossi@ufrmd.dauphine.fr>
|
Fabrice Rossi <rossi@ufrmd.dauphine.fr>
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup
|
%setup -q
|
||||||
%patch -p1
|
%patch -p1
|
||||||
%patch3 -p0
|
|
||||||
%patch5 -p1
|
%patch5 -p1
|
||||||
|
%patch6 -p1
|
||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -131,17 +132,17 @@ CFLAGS="$RPM_OPT_FLAGS -O3 -finline-limit=720 --param max-inline-insns-auto=160
|
|||||||
%configure --disable-static --with-pic --enable-shared --with-gnu-ld
|
%configure --disable-static --with-pic --enable-shared --with-gnu-ld
|
||||||
%endif
|
%endif
|
||||||
make %{?jobs:-j%jobs}
|
make %{?jobs:-j%jobs}
|
||||||
#make check
|
|
||||||
# latex2html (dvips) is braindead in its rejection of '.' in a dir name
|
# latex2html (dvips) is braindead in its rejection of '.' in a dir name
|
||||||
cd ..
|
# the following fails right now, disable it:
|
||||||
mv %{name}-%{version} %{name}
|
#cd ..
|
||||||
cd %{name}/doc
|
#mv %{name}-%{version} %{name}
|
||||||
texi2html -l2h -menu -split_chapter -glossary gsl-ref.texi
|
#cd %{name}/doc
|
||||||
cd ../..
|
#texi2html -l2h -menu -split_chapter -glossary gsl-ref.texi
|
||||||
mv %{name} %{name}-%{version}
|
#cd ../..
|
||||||
|
#mv %{name} %{name}-%{version}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make check
|
make check
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
@ -166,7 +167,7 @@ make install DESTDIR=$RPM_BUILD_ROOT
|
|||||||
%{_libdir}/libgsl*.so
|
%{_libdir}/libgsl*.so
|
||||||
%{_libdir}/pkgconfig/gsl.pc
|
%{_libdir}/pkgconfig/gsl.pc
|
||||||
/usr/bin/gsl-config
|
/usr/bin/gsl-config
|
||||||
%doc doc/gsl-ref/gsl-ref*.html
|
#%doc doc/gsl-ref/gsl-ref*.html
|
||||||
/usr/share/aclocal/gsl.m4
|
/usr/share/aclocal/gsl.m4
|
||||||
%doc %{_infodir}/gsl-ref*
|
%doc %{_infodir}/gsl-ref*
|
||||||
%doc %{_mandir}/man1/gsl-config.1.gz
|
%doc %{_mandir}/man1/gsl-config.1.gz
|
||||||
@ -183,177 +184,3 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
rm -rf $RPM_BUILD_DIR/gsl-%{version}
|
rm -rf $RPM_BUILD_DIR/gsl-%{version}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Wed Jan 14 2009 crrodriguez@suse.de
|
|
||||||
- remove static libraries and "la" files
|
|
||||||
* Fri Aug 22 2008 garloff@suse.de
|
|
||||||
- Update to gsl-1.11:
|
|
||||||
* Bugfixes (underflow in ODE solver, overflow in
|
|
||||||
gsl_cdf_hypergeometric_{P,Q}, brent_minimiser)
|
|
||||||
* Improvements (asymptotic regime in gsl_sf_bessel_jl,
|
|
||||||
large arguments in cum. distr. functions using incomplete beta
|
|
||||||
function, missing error terms in gsl_sf_exp_mult_e10_e,
|
|
||||||
gsl_sf_hyperg_2F1 now handles x==1, gsl_ldexp and gsl_frexp,
|
|
||||||
gsl_multiroots_test_delta)
|
|
||||||
* Optimizations in gsl_ran_gaussian_ziggurat.
|
|
||||||
* New function gsl_multifit_linear_residuals.
|
|
||||||
* Updated some constants to match CODATA 2006 values.
|
|
||||||
- Update to gsl-1.10:
|
|
||||||
* The package license changed from GNU GPL v2 or later to
|
|
||||||
GNU GPL v3 or later!
|
|
||||||
* Support for generalized eigensystems.
|
|
||||||
* gsl_stats_correlation computes Pearson correlation of two data sets
|
|
||||||
* New functions: gsl_sf_expint(n,x), gsl_{vector,matrix}_isnonneg,
|
|
||||||
gsl_matrix_sub{row,column}
|
|
||||||
* Cholesky routines now handle complex matrices
|
|
||||||
* Many other improvements and additions, see NEWS for a detailed list.
|
|
||||||
* Wed Nov 07 2007 garloff@suse.de
|
|
||||||
- disable -fstack-protector (we don't want it for HPC code)
|
|
||||||
- avoid wrapping assumption sort testcase (gcc-4.3 fix)
|
|
||||||
- move make check to %%check section
|
|
||||||
- require gsl = %%{version} from -devel package
|
|
||||||
- call install-info in -devel %%post/%%postun
|
|
||||||
- add note on license
|
|
||||||
* Mon Apr 16 2007 dmueller@suse.de
|
|
||||||
- run autoreconf
|
|
||||||
- fix devel package requires
|
|
||||||
- run ldconfig
|
|
||||||
* Tue Mar 13 2007 garloff@suse.de
|
|
||||||
- Update to gsl-1.9:
|
|
||||||
* Fixed the elliptic integrals F,E,P,D so that they have the
|
|
||||||
correct behavior for phi > pi/2 and phi < 0.
|
|
||||||
* New BFGS minimisation method gsl_multimin_fdfminimizer_vector_bfgs2
|
|
||||||
based on the algorithm given by R.Fletcher in "Practical Methods
|
|
||||||
of Optimisation" (2nd ed).
|
|
||||||
* Beta functions gsl_sf_beta_e(a,b) and gsl_sf_lnbeta_e(a,b) now
|
|
||||||
handle negative arguments a,b. New function gsl_sf_lnbeta_sgn_e
|
|
||||||
for computing magnitude and sign of negative beta values.
|
|
||||||
* gsl_cheb_eval_mode now uses the same error estimate as
|
|
||||||
gsl_cheb_eval_err.
|
|
||||||
* Improved gsl_sf_legendre_sphPlm_e to avoid underflow with large
|
|
||||||
arguments.
|
|
||||||
* Added updated Knuth generator, gsl_rng_knuthran2002, from 9th
|
|
||||||
printing of "The Art of Computer Programming". See
|
|
||||||
http://www-cs-faculty.stanford.edu/~knuth/news02.htm
|
|
||||||
* The functions gsl_multifit_fsolver_set, gsl_multifit_fdfsolver_set
|
|
||||||
and gsl_multiroot_fsolver_set, gsl_multiroot_fdfsolver_set now
|
|
||||||
have a const qualifier for the input vector x.
|
|
||||||
* gsl_sf_expint_E2(x) now returns the correct value 1 for x==0,
|
|
||||||
instead of NaN.
|
|
||||||
* The gsl_ran_gamma function now uses the Marsaglia-Tsang fast gamma
|
|
||||||
method of gsl_ran_gamma_mt by default.
|
|
||||||
* The matrix and vector min/max functions now always propagate any
|
|
||||||
NaNs in their input.
|
|
||||||
* Prevented NaN occuring for extreme parameters in
|
|
||||||
gsl_cdf_fdist_{P,Q}inv and gsl_cdf_beta_{P,Q}inv
|
|
||||||
* Corrected error estimates for the angular reduction functions
|
|
||||||
gsl_sf_angle_restrict_symm_err and gsl_sf_angle_restrict_pos_err.
|
|
||||||
* Corrected an error in the higher digits of M_PI_4 (this was beyond
|
|
||||||
the limit of double precision, so double precision results are not
|
|
||||||
affected).
|
|
||||||
* gsl_root_test_delta now always returns success if two iterates are
|
|
||||||
the same, x1==x0.
|
|
||||||
* A Japanese translation of the reference manual is now available
|
|
||||||
from the GSL webpage at http://www.gnu.org/software/gsl/ thanks to
|
|
||||||
Daisuke TOMINAGA.
|
|
||||||
* Added new functions for basis splines, see the "Basis Splines"
|
|
||||||
chapter in the GSL Reference Manual for details.
|
|
||||||
* Added new functions for testing the sign of vectors and matrices,
|
|
||||||
gsl_vector_ispos, gsl_vector_isneg, gsl_matrix_ispos and
|
|
||||||
gsl_matrix_isneg.
|
|
||||||
* Fixed a bug in gsl_sf_lnpoch_e and gsl_sf_lnpoch_sgn_e which caused
|
|
||||||
the incorrect value 1.0 instead of 0.0 to be returned for x==0.
|
|
||||||
* Fixed cancellation error in gsl_sf_laguerre_n for n > 1e7 so that
|
|
||||||
larger arguments can be calculated without loss of precision.
|
|
||||||
* Improved gsl_sf_zeta_e to return exactly zero for negative even
|
|
||||||
integers, avoiding less accurate trigonometric reduction.
|
|
||||||
* Fixed a bug in gsl_sf_zetam1_int_e where 0 was returned instead of
|
|
||||||
-1 for negative even integer arguments.
|
|
||||||
* When the differential equation solver gsl_odeiv_apply encounters a
|
|
||||||
singularity it returns the step-size which caused the error code from
|
|
||||||
the user-defined function, as opposed to leaving the step-size
|
|
||||||
unchanged.
|
|
||||||
* Added support for nonsymmetric eigensystems
|
|
||||||
* Added Mathieu functions
|
|
||||||
* Wed Feb 07 2007 garloff@suse.de
|
|
||||||
- -l2h and BuildRequire latex2html for formulas in manual (#242160).
|
|
||||||
* Fri Nov 24 2006 garloff@suse.de
|
|
||||||
- -momit-leaf-frame-pointer was only enabled on x86_64 and i386;
|
|
||||||
however, it should have been enabled on all ix86. Fixed.
|
|
||||||
* Mon Oct 16 2006 garloff@suse.de
|
|
||||||
- Don't use -ffast-math any more (-ffast-math was enabled on x86,
|
|
||||||
x86-64) as otherwise we get inexact (8e-8) results with latest
|
|
||||||
compiler for log1p(1e-10), div by zero, SVD.
|
|
||||||
* Fri Aug 25 2006 garloff@suse.de
|
|
||||||
- Update to gsl-1.8.
|
|
||||||
- Enable make check in build process.
|
|
||||||
* Mon Feb 20 2006 stbinner@suse.de
|
|
||||||
- make gsl-devel depend on gsl
|
|
||||||
* Wed Jan 25 2006 mls@suse.de
|
|
||||||
- converted neededforbuild to BuildRequires
|
|
||||||
* Mon Dec 19 2005 garloff@suse.de
|
|
||||||
- Split package into gsl and gsl-devel.
|
|
||||||
- Update to gsl-1.7:
|
|
||||||
* Various speedups, accuracy improvements and fixes.
|
|
||||||
* Mon Apr 25 2005 coolo@suse.de
|
|
||||||
- fix library dependencies - at least needed for prelink
|
|
||||||
* Mon Jan 31 2005 ro@suse.de
|
|
||||||
- adapted to texi2html changes
|
|
||||||
* Thu Jan 20 2005 garloff@suse.de
|
|
||||||
- Remove -momit-frame-pointer from most archs, the compiler does
|
|
||||||
not support it there.
|
|
||||||
* Wed Jan 19 2005 garloff@suse.de
|
|
||||||
- Avoid uninitialized variables, and fix a size_t vs. unsigned
|
|
||||||
int issue.
|
|
||||||
- Update to gsl-1.6:
|
|
||||||
* Wavelet functions
|
|
||||||
* LQ decomposition
|
|
||||||
* Various bugfixes and minor improvements (SYRK, HERK,
|
|
||||||
swap_vectors, cheb_eval_n_err, sf_gamma_inc, cspline,
|
|
||||||
akima, ode-initval, sf_psi_1, sf_expint_Ei_e, cdf_beta_X,
|
|
||||||
eigen_jacobi, error stream flushes prior to abort).
|
|
||||||
* Fri Aug 20 2004 garloff@suse.de
|
|
||||||
- Fix build on non-x86/x86-64 (no -monit-leaf-frame-pointer).
|
|
||||||
- Allow parallel build.
|
|
||||||
* Sun Aug 15 2004 garloff@suse.de
|
|
||||||
- Update to version 1.5.
|
|
||||||
- More aggressive compiler optimization flags.
|
|
||||||
* Tue May 18 2004 ro@suse.de
|
|
||||||
- use -fno-strict-aliasing
|
|
||||||
* Wed Feb 25 2004 stepan@suse.de
|
|
||||||
- update to version 1.4
|
|
||||||
* Sat Jan 10 2004 adrian@suse.de
|
|
||||||
- add %%defattr
|
|
||||||
* Tue May 27 2003 ro@suse.de
|
|
||||||
- add pkgconfig file to filelist
|
|
||||||
* Wed Jan 15 2003 garloff@suse.de
|
|
||||||
- bzip2 sources
|
|
||||||
* Wed Jan 15 2003 garloff@suse.de
|
|
||||||
- Update to gsl-1.3:
|
|
||||||
* Fixed gsl_sf_coupling
|
|
||||||
* exponential integral exp(-x)*Ei(x)
|
|
||||||
* many bugfixes
|
|
||||||
- Update to gsl-1.2:
|
|
||||||
* new functions for combining permutations etc.
|
|
||||||
* multiroot functions
|
|
||||||
* dflt error handler outputs message before aborting
|
|
||||||
* gsl_linalg_SV_decomp handles exact zeros now
|
|
||||||
* unsymmetric tridiagonal solvers added
|
|
||||||
* bugfixes
|
|
||||||
- Update to gsl-1.1.1:
|
|
||||||
* bugfixes
|
|
||||||
- Update to gsl-1.1:
|
|
||||||
* permutation copy function
|
|
||||||
* gsl_sf_gamma_inc improved
|
|
||||||
* IEEE handling of FP numbers tested in configure
|
|
||||||
* gsl_histogram_sum
|
|
||||||
* More physical constants (r_B, eps_0)
|
|
||||||
* Knuth's random number generators
|
|
||||||
* bugfixes
|
|
||||||
* Fri Jul 05 2002 kukuk@suse.de
|
|
||||||
- Use %%ix86 macro
|
|
||||||
* Wed May 08 2002 garloff@suse.de
|
|
||||||
- Fix %%lib64 issues
|
|
||||||
- Remove -freduce-all-givs from compiler flags.
|
|
||||||
* Mon Dec 10 2001 garloff@suse.de
|
|
||||||
- Creation of gsl-1.0
|
|
||||||
- Produce and install HTML docu
|
|
||||||
|
19
qawc-test-x86-precision.diff
Normal file
19
qawc-test-x86-precision.diff
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
Index: gsl-1.12/integration/test.c
|
||||||
|
===================================================================
|
||||||
|
--- gsl-1.12.orig/integration/test.c
|
||||||
|
+++ gsl-1.12/integration/test.c
|
||||||
|
@@ -1752,9 +1752,13 @@ int main (void)
|
||||||
|
for (i = 0; i < 6 ; i++)
|
||||||
|
gsl_test_rel(w->rlist[i],r[i],1e-14,"qawc(f459) rlist") ;
|
||||||
|
|
||||||
|
for (i = 0; i < 6 ; i++)
|
||||||
|
- gsl_test_rel(w->elist[i],e[i],1e-5,"qawc(f459) elist") ;
|
||||||
|
+#ifdef __i386__ /* x86 extra FPU precision hurts us here */
|
||||||
|
+ gsl_test_rel(w->elist[i],e[i],1e-4,"qawc(f459) elist") ;
|
||||||
|
+#else
|
||||||
|
+ gsl_test_rel(w->elist[i],e[i],1e-5,"qawc(f459) elist") ;
|
||||||
|
+#endif
|
||||||
|
|
||||||
|
for (i = 0; i < 6 ; i++)
|
||||||
|
gsl_test_int((int)w->order[i],order[i]-1,"qawc(f459) order");
|
||||||
|
|
Loading…
Reference in New Issue
Block a user