Lines 10-28
Link Here
|
10 |
|
10 |
|
11 |
unset CFLAGS LDFLAGS CXXFLAGS SHAREDFLAGS |
11 |
unset CFLAGS LDFLAGS CXXFLAGS SHAREDFLAGS |
12 |
|
12 |
|
13 |
if [ `uname` = "Darwin" ]; then |
13 |
# Settings for Gentoo external atlas |
14 |
unset ATLAS |
14 |
ATLAS="/usr/lib/blas/atlas" |
15 |
unset BLAS |
15 |
export ATLAS |
16 |
unset LAPACK |
16 |
BLAS="/usr/lib/blas/atlas" |
17 |
else |
17 |
export BLAS |
18 |
ATLAS="$SAGE_LOCAL" |
18 |
LAPACK="/usr/lib/lapack/atlas" |
19 |
export ATLAS |
19 |
export LAPACK |
20 |
BLAS="$SAGE_LOCAL" |
|
|
21 |
export BLAS |
22 |
LAPACK="$SAGE_LOCAL" |
23 |
export LAPACK |
24 |
fi |
25 |
|
26 |
|
20 |
|
27 |
# This avoid problems on some systems -- until we officially |
21 |
# This avoid problems on some systems -- until we officially |
28 |
# support umfpack (which we will likely do, since cvxopt |
22 |
# support umfpack (which we will likely do, since cvxopt |
Lines 39-47
Link Here
|
39 |
if [ $? -ne 0 ]; then |
33 |
if [ $? -ne 0 ]; then |
40 |
echo "Error patching setup.py" |
34 |
echo "Error patching setup.py" |
41 |
exit 1 |
35 |
exit 1 |
42 |
fi |
36 |
fi |
43 |
|
37 |
|
44 |
# Build |
38 |
# Build |
45 |
python setup.py build |
39 |
python setup.py build |
46 |
if [ $? -ne 0 ]; then |
40 |
if [ $? -ne 0 ]; then |
47 |
echo "Error building scipy." |
41 |
echo "Error building scipy." |