[Numpy-svn] r4291 - branches/numpy.scons/numpy/distutils/scons
numpy-svn at scipy.org
numpy-svn at scipy.org
Thu Oct 25 07:19:50 EDT 2007
Author: cdavid
Date: 2007-10-25 06:19:43 -0500 (Thu, 25 Oct 2007)
New Revision: 4291
Modified:
branches/numpy.scons/numpy/distutils/scons/custom_checkers.py
Log:
More fixes CheckCBLAS for accelerate framework on mac os X
Modified: branches/numpy.scons/numpy/distutils/scons/custom_checkers.py
===================================================================
--- branches/numpy.scons/numpy/distutils/scons/custom_checkers.py 2007-10-25 11:16:33 UTC (rev 4290)
+++ branches/numpy.scons/numpy/distutils/scons/custom_checkers.py 2007-10-25 11:19:43 UTC (rev 4291)
@@ -101,7 +101,7 @@
cblas_src, libs, libpath, [], [])
def CheckCBLAS(context):
- cflags = []
+ linkflags = []
libs = []
headers = []
if sys.platform == 'darwin':
@@ -121,12 +121,12 @@
cflags.append('-faltivec')
# TODO: we should have a small test code to test Accelerate vs veclib
# XXX: This double append is not good, any other way ?
- cflags.append('-framework')
- cflags.append('Accelerate')
+ linkflags.append('-framework')
+ linkflags.append('Accelerate')
headers.append('Accelerate/Accelerate.h')
else:
headers.append('cblas.h')
libs.append('cblas')
return _check_include_and_run(context, 'CBLAS', [], headers, cblas_src,
- libs, [], [], cflags)
+ libs, [], linkflags, [])
More information about the Numpy-svn
mailing list