@@ -17,7 +17,7 @@ matrix:
17
17
- PY_CMD=python3
18
18
- $PY_CMD -m pip install --user --upgrade pip wheel setuptools
19
19
install : # Breathe does not yet support Sphinx 2
20
- - $PY_CMD -m pip install --user --upgrade sphinx<2 sphinx_rtd_theme breathe flake8 pep8-naming pytest
20
+ - $PY_CMD -m pip install --user --upgrade " sphinx<2" sphinx_rtd_theme breathe flake8 pep8-naming pytest
21
21
- curl -fsSL https://sourceforge.net/projects/doxygen/files/rel-1.8.15/doxygen-1.8.15.linux.bin.tar.gz/download | tar xz
22
22
- export PATH="$PWD/doxygen-1.8.15/bin:$PATH"
23
23
script :
@@ -54,6 +54,10 @@ matrix:
54
54
env : PYTHON=3.5 CPP=14 GCC=6 DEBUG=1
55
55
- services : docker
56
56
env : PYTHON=3.6 CPP=17 GCC=7
57
+ addons :
58
+ apt :
59
+ sources :
60
+ - deadsnakes
57
61
- os : linux
58
62
env : PYTHON=3.6 CPP=17 CLANG=7
59
63
addons :
@@ -164,22 +168,7 @@ install:
164
168
else
165
169
166
170
if [ "$CLANG" = "7" ]; then
167
- if ! [ -d ~/.local/include/c++/v1 ]; then
168
- # Neither debian nor llvm provide a libc++ 5.1 deb; luckily it's fairly quick
169
- # to build, install (and cache), so do it ourselves:
170
- git clone --depth=1 https://github.com/llvm-mirror/llvm.git llvm-source
171
- git clone https://github.com/llvm-mirror/libcxx.git llvm-source/projects/libcxx -b release_70
172
- git clone https://github.com/llvm-mirror/libcxxabi.git llvm-source/projects/libcxxabi -b release_70
173
- mkdir llvm-build && cd llvm-build
174
- cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=~/.local ../llvm-source
175
- make -j2 install-cxxabi install-cxx
176
- cp -a include/c++/v1/*cxxabi*.h ~/.local/include/c++/v1
177
- cd ..
178
- fi
179
- export CXXFLAGS="-isystem $HOME/.local/include/c++/v1 -stdlib=libc++"
180
- export LDFLAGS="-L$HOME/.local/lib -fuse-ld=lld-$CLANG"
181
- export LD_LIBRARY_PATH="$HOME/.local/lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"
182
- if [ "$CPP" = "-std=c++17" ]; then CPP="-std=c++1z"; fi
171
+ export CXXFLAGS="-stdlib=libc++"
183
172
fi
184
173
185
174
export NPY_NUM_BUILD_JOBS=2
0 commit comments