[Numpy-svn] r5539 - vendor/tools

numpy-svn@scip... numpy-svn@scip...
Sat Jul 26 01:09:32 CDT 2008


Author: cdavid
Date: 2008-07-26 01:09:28 -0500 (Sat, 26 Jul 2008)
New Revision: 5539

Modified:
   vendor/tools/build.py
Log:
Set absolute path for lapack for ATLAS configuration.

Modified: vendor/tools/build.py
===================================================================
--- vendor/tools/build.py	2008-07-26 05:58:39 UTC (rev 5538)
+++ vendor/tools/build.py	2008-07-26 06:09:28 UTC (rev 5539)
@@ -3,7 +3,7 @@
 from subprocess import Popen
 import shutil
 import os.path
-from os.path import join as pjoin, dirname
+from os.path import join as pjoin, dirname, abspath
 import glob
 import tarfile
 from ConfigParser import ConfigParser
@@ -13,10 +13,11 @@
     raise ValueError("You should use cygwin python on windows for now !")
 
 # Configuration (this should be put in a config file at some point)
+# All path are relative to top directory (vendor)
 LAPACK_SRC = pjoin('src', 'lapack-lite-3.1.1')
-LAPACK_LIB = pjoin(LAPACK_SRC, 'lapack_MINGW32.a')
+LAPACK_LIB = abspath(pjoin(LAPACK_SRC, 'lapack_MINGW32.a'))
 ATLAS_SRC = pjoin('src', 'atlas-3.8.2')
-ATLAS_BUILDDIR = os.path.join(ATLAS_SRC, "MyObj")
+ATLAS_BUILDDIR = pjoin(ATLAS_SRC, "MyObj")
 # Use INT_ETIME for lapack if building with gfortran
 #TIMER = 'INT_ETIME'
 



More information about the Numpy-svn mailing list