[Numpy-svn] r4397 - branches/numpy.scons/numpy/distutils/scons/checkers

numpy-svn at scipy.org numpy-svn at scipy.org
Mon Nov 5 23:19:33 EST 2007


Author: cdavid
Date: 2007-11-05 22:19:29 -0600 (Mon, 05 Nov 2007)
New Revision: 4397

Modified:
   branches/numpy.scons/numpy/distutils/scons/checkers/perflib.py
Log:

- Remove trailing \n in source test code for header in perflib



Modified: branches/numpy.scons/numpy/distutils/scons/checkers/perflib.py
===================================================================
--- branches/numpy.scons/numpy/distutils/scons/checkers/perflib.py	2007-11-05 20:48:57 UTC (rev 4396)
+++ branches/numpy.scons/numpy/distutils/scons/checkers/perflib.py	2007-11-06 04:19:29 UTC (rev 4397)
@@ -1,5 +1,5 @@
 #! /usr/bin/env python
-# Last Change: Mon Nov 05 07:00 PM 2007 J
+# Last Change: Tue Nov 06 01:00 PM 2007 J
 
 # This module defines checkers for performances libs providing standard API,
 # such as MKL (Intel), ATLAS, Sunperf (solaris and linux), Accelerate (Mac OS
@@ -53,7 +53,7 @@
     saved = save_and_set(env, opts)
     try:
         # XXX: add dep vars in code
-        src = '\n'.join([r'#include <%s>\n' % h for h in headers_to_check])
+        src = '\n'.join([r'#include <%s>' % h for h in headers_to_check])
         st = context.TryCompile(src, '.c')
     finally:
         restore(env, saved)




More information about the Numpy-svn mailing list