[Numpy-svn] r4716 - branches/build_with_scons/numpy/core

numpy-svn at scipy.org numpy-svn at scipy.org
Tue Jan 8 10:56:51 EST 2008


Author: cdavid
Date: 2008-01-08 09:56:46 -0600 (Tue, 08 Jan 2008)
New Revision: 4716

Modified:
   branches/build_with_scons/numpy/core/SConstruct
Log:
Trivial cleaning of numpy.core SConstruct

Modified: branches/build_with_scons/numpy/core/SConstruct
===================================================================
--- branches/build_with_scons/numpy/core/SConstruct	2008-01-08 15:48:36 UTC (rev 4715)
+++ branches/build_with_scons/numpy/core/SConstruct	2008-01-08 15:56:46 UTC (rev 4716)
@@ -63,12 +63,9 @@
 #---------------------
 # Checking SMP option
 #---------------------
-if define_no_smp():
-    numpyconfig_sym.append(('NPY_NOSMP', '1'))
-    config.Define('NPY_NOSMP', 1, "define to 1 to disable SMP support ")
-else:
-    numpyconfig_sym.append(('NPY_NOSMP', '0'))
-    config.Define('NPY_NOSMP', 0, "define to 1 to disable SMP support ")
+st = define_no_smp():
+numpyconfig_sym.append(('NPY_NOSMP', st))
+config.Define('NPY_NOSMP', st, "define to 1 to disable SMP support ")
 
 #----------------------
 # Checking the mathlib 




More information about the Numpy-svn mailing list