[gsl/temp_odecrash] temporary diagnostic
Frantisek Kluknavsky
fkluknav at fedoraproject.org
Tue Jan 22 12:01:55 UTC 2013
commit f2d7dd3736ae422acf2ae33de9d82b2bbc2d87ab
Author: Frantisek Kluknavsky <fkluknav at redhat.com>
Date: Tue Jan 22 13:01:40 2013 +0100
temporary diagnostic
gsl.spec | 3 ++-
wrk.patch | 6 +++---
2 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/gsl.spec b/gsl.spec
index 0b385fa..a861a57 100644
--- a/gsl.spec
+++ b/gsl.spec
@@ -47,7 +47,8 @@ mv THANKS.aux THANKS
%ifarch %{ix86}
%configure CFLAGS="$CFLAGS -fgnu89-inline -ffp-contract=off -msse2 -mfpmath=sse"
%else
-%configure CFLAGS="$CFLAGS -fgnu89-inline -ffp-contract=off"
+%configure CFLAGS="$CFLAGS -fgnu89-inline"
+# -ffp-contract=off"
%endif
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
diff --git a/wrk.patch b/wrk.patch
index b6a154e..efd01e5 100644
--- a/wrk.patch
+++ b/wrk.patch
@@ -199,7 +199,7 @@ diff -up wrk/ode-initval2/msbdf.c.wrk wrk/ode-initval2/msbdf.c
diff -up wrk/ode-initval2/test.c.wrk wrk/ode-initval2/test.c
--- wrk/ode-initval2/test.c.wrk 2013-01-09 10:48:22.051415928 +0100
-+++ wrk/ode-initval2/test.c 2013-01-22 12:38:30.210760844 +0100
++++ wrk/ode-initval2/test.c 2013-01-22 12:59:08.448748510 +0100
@@ -923,6 +923,18 @@ rhs_ringmod (double t, const double y[],
f[13] = (-y[0] + uin1 - (ri + rg1) * y[13]) / ls1;
f[14] = (-y[1] - (rc + rg1) * y[14]) / ls1;
@@ -242,12 +242,12 @@ diff -up wrk/ode-initval2/test.c.wrk wrk/ode-initval2/test.c
+ printf("\nkrok %d\n", ++poc);
+//printf("po\n");
+//PD(h);
-+ int k;
++/* int k;
+ for (k=0; k<15; ++k) {
+ printf(" %lu\n",(*(unsigned long int *)(&(y[k]))));
+ }
+ printf(" %lu\n",(*(unsigned long int *)(&t)));
-+
++*/
+ //printf("\n");
#ifdef DEBUG
printf ("%.5e %.5e %.5e %d\n", t, y[0], y[1],
More information about the scm-commits
mailing list