[Scipy-svn] r5347 - trunk/scipy/fftpack

scipy-svn@scip... scipy-svn@scip...
Wed Jan 7 08:45:26 CST 2009


Author: cdavid
Date: 2009-01-07 08:45:13 -0600 (Wed, 07 Jan 2009)
New Revision: 5347

Modified:
   trunk/scipy/fftpack/SConscript
Log:
Handle single prec fftpack backend in scons build.

Modified: trunk/scipy/fftpack/SConscript
===================================================================
--- trunk/scipy/fftpack/SConscript	2009-01-07 14:44:46 UTC (rev 5346)
+++ trunk/scipy/fftpack/SConscript	2009-01-07 14:45:13 UTC (rev 5347)
@@ -14,7 +14,15 @@
 "dsinti.f", "zfftb.f", "zfftb1.f", "zfftf.f", "zfftf1.f", "zffti.f",
 "zffti1.f"]]
 dfftpack = env.DistutilsStaticExtLibrary('dfftpack', source = [str(s) for s in src])
-env.PrependUnique(LIBS = ['dfftpack'])
+
+# Build fftpack (single prec)
+src = [pjoin("src/fftpack", i) for i in [ 'cfftb.f', 'cfftb1.f', 'cfftf.f',
+'cfftf1.f', 'cffti.f', 'cffti1.f', 'cosqb.f', 'cosqf.f', 'cosqi.f', 'cost.f',
+'costi.f', 'rfftb.f', 'rfftb1.f', 'rfftf.f', 'rfftf1.f', 'rffti.f',
+'rffti1.f', 'sinqb.f', 'sinqf.f', 'sinqi.f', 'sint.f', 'sint1.f', 'sinti.f']]
+fftpack = env.DistutilsStaticExtLibrary('fftpack', source = [str(s) for s in src])
+
+env.PrependUnique(LIBS = ['fftpack', 'dfftpack'])
 env.PrependUnique(LIBPATH = ['.'])
 
 # Build _fftpack



More information about the Scipy-svn mailing list