[Numpy-svn] r5533 - vendor/tools

numpy-svn@scip... numpy-svn@scip...
Sat Jul 26 00:19:39 CDT 2008


Author: cdavid
Date: 2008-07-26 00:19:35 -0500 (Sat, 26 Jul 2008)
New Revision: 5533

Modified:
   vendor/tools/build.py
Log:
Fix handling of list of targets.

Modified: vendor/tools/build.py
===================================================================
--- vendor/tools/build.py	2008-07-26 05:17:29 UTC (rev 5532)
+++ vendor/tools/build.py	2008-07-26 05:19:35 UTC (rev 5533)
@@ -73,8 +73,8 @@
     clean_lapack()
 
 TARGETS = {'atlas' : [configure_atlas, build_atlas, build_atlas_tarball],
-        'lapack' : build_lapack,
-        'blas' : build_blas}
+        'lapack' : [build_lapack],
+        'blas' : [build_blas]}
 
 class Config(object):
     def __init__(self):
@@ -132,5 +132,7 @@
     ATLAS_TARBALL = 'atlas-3.8.2-%s.tbz2' % ARCH
 
     clean()
-    for i in cfg.targets:
-        TARGETS[i]()
+    for t in cfg.targets:
+        target = TARGETS[t]
+        for action in target:
+            action()



More information about the Numpy-svn mailing list