diff --git a/gsl.spec b/gsl.spec index 3182867..3d097e6 100644 --- a/gsl.spec +++ b/gsl.spec @@ -34,6 +34,7 @@ The gsl-devel package contains the header files necessary for developing programs using the GSL (GNU Scientific Library). %prep +gcc -v %setup -q %patch0 -p1 -b .lib64 %patch1 -p1 -b .libs @@ -45,8 +46,8 @@ mv THANKS.aux THANKS %build %ifarch %{ix86} -%configure CFLAGS="$CFLAGS -fgnu89-inline" -# -ffp-contract=off -msse2 -mfpmath=sse" +#RHEL builders fail with 387 floating-point unit, SSE required. Fedora builders do fine both ways. (January 2012) +%configure CFLAGS="$CFLAGS -fgnu89-inline -msse2 -mfpmath=sse" %else %configure CFLAGS="$CFLAGS -fgnu89-inline" # -ffp-contract=off" diff --git a/wrk.patch b/wrk.patch index bcc3699..b40276d 100644 --- a/wrk.patch +++ b/wrk.patch @@ -131,7 +131,7 @@ diff -up wrk/ode-initval2/evolve.c.wrk wrk/ode-initval2/evolve.c diff -up wrk/ode-initval2/msbdf.c.wrk wrk/ode-initval2/msbdf.c --- wrk/ode-initval2/msbdf.c.wrk 2013-01-09 10:35:45.259960403 +0100 -+++ wrk/ode-initval2/msbdf.c 2013-01-22 10:54:04.377231938 +0100 ++++ wrk/ode-initval2/msbdf.c 2013-01-23 15:17:29.745182852 +0100 @@ -43,6 +43,8 @@ framework. */ @@ -175,6 +175,15 @@ diff -up wrk/ode-initval2/msbdf.c.wrk wrk/ode-initval2/msbdf.c msbdf_state_t *state = (msbdf_state_t *) vstate; double *const z = state->z; +@@ -1329,7 +1340,7 @@ msbdf_apply (void *vstate, size_t dim, d + + { + const int deltaord = ord - ordprev[0]; +- ++printf("ord\n%d\n%d\n", ord, ordprev); + if (deltaord > 1 || deltaord < -1) + { + printf ("-- order change %d\n", deltaord); @@ -1466,7 +1477,10 @@ msbdf_apply (void *vstate, size_t dim, d /* Calculate polynomial coefficients (l), error coefficient and auxiliary coefficients