File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 10
10
cache :
11
11
bundler : true
12
12
pip : true
13
+ directories :
14
+ - $HOME/Deps/eigen
13
15
14
16
env :
15
17
global :
26
28
- cmake
27
29
- gfortran
28
30
- libboost-math-dev
29
- - libeigen3-dev
30
31
env :
31
32
- CXX_COMPILER='clang++'
32
33
- C_COMPILER='clang'
41
42
- cmake
42
43
- gfortran
43
44
- libboost-math-dev
44
- - libeigen3-dev
45
45
env :
46
46
- CXX_COMPILER='g++'
47
47
- C_COMPILER='gcc'
58
58
- gfortran
59
59
- lcov
60
60
- libboost-math-dev
61
- - libeigen3-dev
62
61
env :
63
62
- CXX_COMPILER='g++'
64
63
- C_COMPILER='gcc'
@@ -81,8 +80,11 @@ before_install:
81
80
- test -n $CC && unset CC
82
81
- test -n $CXX && unset CXX
83
82
- test -n $FC && unset FC
83
+ # Dependencies are downloaded in $HOME/Downloads and installed in $HOME/Deps
84
+ - mkdir -p $HOME/Downloads $HOME/Deps
84
85
85
86
install :
87
+ - ./.ci/eigen.sh
86
88
- pip install --user pipenv --upgrade
87
89
- pipenv install --three
88
90
@@ -98,7 +100,8 @@ script:
98
100
-DCMAKE_C_COMPILER=$C_COMPILER \
99
101
-DCMAKE_Fortran_COMPILER=$Fortran_COMPILER \
100
102
-DCMAKE_BUILD_TYPE=$BUILD_TYPE \
101
- -DCMAKE_INSTALL_PREFIX=$HOME/Software/pcmsolver
103
+ -DCMAKE_INSTALL_PREFIX=$HOME/Software/pcmsolver \
104
+ -DEigen3_DIR=${HOME}/Deps/eigen/share/eigen3/cmake
102
105
# - |
103
106
# pipenv run python setup.py --cxx=$CXX_COMPILER \
104
107
# --cc=$C_COMPILER \
You can’t perform that action at this time.
0 commit comments