-
Notifications
You must be signed in to change notification settings - Fork 54
Expand file tree
/
Copy pathscipy.yaml
More file actions
50 lines (45 loc) · 1.3 KB
/
scipy.yaml
File metadata and controls
50 lines (45 loc) · 1.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
when platform != 'linux':
extends: [distutils_package]
when platform == 'linux':
extends: [distutils_package, libflags]
dependencies:
build: [lapack, numpy, suitesparse]
run: [lapack, numpy]
sources:
- url: http://downloads.sourceforge.net/scipy/scipy-0.13.3.tar.gz
key: tar.gz:vhrty7xamdbvzvog5y5mtzpjxo4zegox
build_stages:
- when: platform == 'linux'
name: create-site.cfg
before: install
handler: bash
bash: |
cat > site.cfg << EOF
[blas_opt]
blas_libs = openblas
library_dirs = ${OPENBLAS_DIR}/lib
[lapack_opt]
lapack_libs = openblas
library_dirs = ${OPENBLAS_DIR}/lib
[openblas]
libraries = openblas
library_dirs = ${OPENBLAS_DIR}/lib
include_dirs = ${OPENBLAS_DIR}/include
[amd]
library_dirs = ${SUITESPARSE_DIR}/lib
include_dirs = ${SUITESPARSE_DIR}/include/suitesparse
[umfpack]
library_dirs = ${SUITESPARSE_DIR}/lib
include_dirs = ${SUITESPARSE_DIR}/include/suitesparse
EOF
- when: platform == 'linux'
name: set-lapack-paths
after: libflags
before: install
handler: bash
bash: |
export LDFLAGS="$LDFLAGS -shared"
#export UMFPACK=${UMFPACK_DIR}
#export ATLAS=$LAPACK_DIR
#export BLAS=$LAPACK_DIR
#export LAPACK=$LAPACK_DIR