Changeset 7791:162a8453926c


Ignore:
Timestamp:
12/15/07 21:32:26 (5 years ago)
Author:
William Stein <wstein@…>
Branch:
default
Tags:
2.9.rc3
Message:

add stats/init.py; fix setup.py so link against atlas if atlas is installed.

Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • setup.py

    r7783 r7791  
    1717    BLAS=os.environ['SAGE_BLAS'] 
    1818    BLAS2=os.environ['SAGE_BLAS'] 
     19elif os.path.exists('%s/lib/libatlas.so'%os.environ['SAGE_LOCAL']):    
     20    BLAS='cblas' 
     21    BLAS2='atlas' 
    1922elif os.path.exists('/usr/lib/libcblas.dylib') or \ 
    2023     os.path.exists('/usr/lib/libcblas.so'): 
     
    342345 
    343346matrix_real_double_dense=Extension('sage.matrix.matrix_real_double_dense', 
    344    ['sage/matrix/matrix_real_double_dense.pyx'],libraries=['gsl', BLAS, BLAS2], 
     347   ['sage/matrix/matrix_real_double_dense.pyx'],libraries=[BLAS, BLAS2, 'gsl'], 
    345348   define_macros=[('GSL_DISABLE_DEPRECATED','1')],include_dirs=[SAGE_ROOT+'/local/lib/python2.5/site-packages/numpy/core/include/numpy']) 
    346349 
Note: See TracChangeset for help on using the changeset viewer.