File tree 1 file changed +10
-7
lines changed
1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change 1
1
language : cpp
2
+
2
3
dist : bionic
4
+
3
5
arch :
4
6
- ppc64le
7
+
5
8
cache :
6
9
directories :
7
10
- $HOME/.dep_cache
11
+
8
12
env :
9
13
global :
10
14
- simdjson_DEPENDENCY_CACHE_DIR=$HOME/.dep_cache
15
+
11
16
matrix :
12
17
include :
13
18
- os : linux
@@ -156,13 +161,11 @@ before_install:
156
161
- eval "${COMPILER}"
157
162
158
163
install :
159
- - if [[ "${TRAVIS_CPU_ARCH}" == "ppc64le" ]]; then
160
- sudo apt-get install libuv1 rhash libstdc++6;
161
- wget https://anaconda.org/conda-forge/cmake/3.17.0/download/linux-ppc64le/cmake-3.17.0-hfb1cb51_0.tar.bz2;
162
- mkdir $HOME/cmake;
163
- tar -xjf cmake-3.17.0-hfb1cb51_0.tar.bz2 -C $HOME/cmake;
164
- export PATH=$HOME/cmake/bin:$PATH;
165
- fi
164
+ - wget -q -O - "https://raw.githubusercontent.com/simdjson/debian-ppa/master/key.gpg" | sudo apt-key add -
165
+ - sudo apt-add-repository "deb https://raw.githubusercontent.com/simdjson/debian-ppa/master simdjson main"
166
+ - sudo apt-get -qq update
167
+ - sudo apt-get purge cmake cmake-data
168
+ - sudo apt-get -t simdjson -y install cmake
166
169
- export CMAKE_CXX_FLAGS="-maltivec -mcpu=power9 -mtune=power9"
167
170
- export CMAKE_C_FLAGS="${CMAKE_CXX_FLAGS}"
168
171
- export CMAKE_FLAGS="-DCMAKE_CXX_FLAGS=${CMAKE_CXX_FLAGS} -DCMAKE_C_FLAGS=${CMAKE_C_FLAGS} -DSIMDJSON_IMPLEMENTATION=ppc64;fallback";
You can’t perform that action at this time.
0 commit comments