[Scipy-svn] r3600 - branches/scipy.scons/scipy/integrate

scipy-svn@scip... scipy-svn@scip...
Mon Nov 26 02:33:57 CST 2007


Author: cdavid
Date: 2007-11-26 02:33:53 -0600 (Mon, 26 Nov 2007)
New Revision: 3600

Modified:
   branches/scipy.scons/scipy/integrate/SConstruct
Log:
Fix fortran / C linking problem with scons build for integrate

Modified: branches/scipy.scons/scipy/integrate/SConstruct
===================================================================
--- branches/scipy.scons/scipy/integrate/SConstruct	2007-11-26 07:28:58 UTC (rev 3599)
+++ branches/scipy.scons/scipy/integrate/SConstruct	2007-11-26 08:33:53 UTC (rev 3600)
@@ -1,4 +1,4 @@
-# Last Change: Mon Nov 26 04:00 PM 2007 J
+# Last Change: Mon Nov 26 05:00 PM 2007 J
 # vim:syntax=python
 from os.path import join as pjoin
 import warnings
@@ -12,8 +12,8 @@
 config = env.NumpyConfigure(custom_tests = {'CheckF77Clib' : CheckF77Clib,
                                             'CheckF77BLAS' : CheckF77BLAS})
 
-#if not config.CheckF77Clib():
-#    raise Exception("Could not check F77 runtime, needed for interpolate")
+if not config.CheckF77Clib():
+    raise Exception("Could not check F77 runtime, needed for interpolate")
 if not config.CheckF77BLAS():
     warnings.warn("Could not find F77 BLAS")
 
@@ -46,12 +46,15 @@
 
 # Build _quadpack
 env.NumpyPythonExtension('_quadpack', source = '_quadpackmodule.c', 
-                         LIBS = ['quadpack', 'linpack_lite', 'mach'])
+                         LIBS = ['quadpack', 'linpack_lite', 'mach'],
+                         LINKFLAGSEND = env['F77_LDFLAGS'])
 
 # Build _odepack
 env.NumpyPythonExtension('_odepack', source = '_odepackmodule.c',
-                         LIBS = ['odepack', 'linpack_lite', 'mach'])
+                         LIBS = ['odepack', 'linpack_lite', 'mach'],
+                         LINKFLAGSEND = env['F77_LDFLAGS'])
 
 # Build vode
 env.NumpyPythonExtension('vode', source = 'vode.pyf',
-                         LIBS = ['odepack', 'linpack_lite', 'mach'])
+                         LIBS = ['odepack', 'linpack_lite', 'mach'],
+                         LINKFLAGSEND = env['F77_LDFLAGS'])



More information about the Scipy-svn mailing list