File tree 2 files changed +10
-8
lines changed
2 files changed +10
-8
lines changed Original file line number Diff line number Diff line change 24
24
echo "deb [trusted=yes] http://archive.debian.org/debian jessie main" > /etc/apt/sources.list
25
25
echo "deb [trusted=yes] http://archive.debian.org/debian-security jessie/updates main" >> /etc/apt/sources.list
26
26
apt-get update --yes --force-yes || true
27
- apt-get install cmake clang-4.0 libc++-dev make git ca-certificates --yes --force-yes --no-install-suggests --no-install-recommends
27
+ apt-get install clang-4.0 libc++-dev make git ca-certificates --yes --force-yes --no-install-suggests --no-install-recommends
28
+ wget https://github.com/Kitware/CMake/releases/download/v3.31.0/cmake-3.31.0-linux-x86_64.sh
29
+ chmod +x cmake-3.31.0-linux-x86_64.sh
30
+ ./cmake-3.31.0-linux-x86_64.sh --skip-license --prefix=/usr/local
28
31
env :
29
32
CC : clang-4.0
30
33
CXX : clang++-4.0
@@ -33,13 +36,16 @@ task:
33
36
echo "deb [trusted=yes] http://archive.debian.org/debian jessie main" > /etc/apt/sources.list
34
37
echo "deb [trusted=yes] http://archive.debian.org/debian-security jessie/updates main" >> /etc/apt/sources.list
35
38
apt-get update --yes --force-yes || true
36
- apt-get install cmake gcc-4.9 g++-4.9 make git ca-certificates --yes --force-yes --no-install-suggests --no-install-recommends
39
+ apt-get install gcc-4.9 g++-4.9 make git ca-certificates --yes --force-yes --no-install-suggests --no-install-recommends
40
+ wget https://github.com/Kitware/CMake/releases/download/v3.31.0/cmake-3.31.0-linux-x86_64.sh
41
+ chmod +x cmake-3.31.0-linux-x86_64.sh
42
+ ./cmake-3.31.0-linux-x86_64.sh --skip-license --prefix=/usr/local
37
43
env :
38
44
CC : gcc-4.9
39
45
CXX : g++-4.9
40
46
compile_script : |
41
47
mkdir build && cd build
42
- cmake -DCMAKE_BUILD_TYPE=Release -DHAVE_TESTS=1 -DENABLE_WERROR=0 -DHAVE_SSE4_1=1 -DREQUIRE_OPENMP=0 ..
48
+ /usr/local/bin/ cmake -DCMAKE_BUILD_TYPE=Release -DHAVE_TESTS=1 -DENABLE_WERROR=0 -DHAVE_SSE4_1=1 -DREQUIRE_OPENMP=0 ..
43
49
make -j $(nproc --all)
44
50
test_script : MMSEQS_NUM_THREADS=4 ./util/regression/run_regression.sh ./build/src/mmseqs SCRATCH SEARCH
45
51
Original file line number Diff line number Diff line change @@ -206,11 +206,7 @@ jobs:
206
206
displayName: Install Toolchain
207
207
- script : |
208
208
mkdir build && cd build
209
- if [ "${ARCH}" = "ppc64el" ]; then
210
- LIBGOMP=/usr/lib/gcc-cross/powerpc64-linux-gnu/9;
211
- else
212
- LIBGOMP=/usr/lib/gcc-cross/${CPREF}-linux-gnu/9;
213
- fi
209
+ LIBGOMP=/usr/lib/gcc-cross/${CPREF}-linux-gnu/9;
214
210
CC=${CPREF}-linux-gnu-gcc CXX=${CPREF}-linux-gnu-g++ \
215
211
cmake -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -DHAVE_TESTS=1 -DFORCE_STATIC_DEPS=1 \
216
212
-DOpenMP_C_FLAGS="-fopenmp -I${LIBGOMP}" -DOpenMP_C_LIB_NAMES=gomp -DOpenMP_CXX_FLAGS="-fopenmp -I${LIBGOMP}" -DOpenMP_CXX_LIB_NAMES=gomp -DOpenMP_gomp_LIBRARY=${LIBGOMP}/libgomp.a \
You can’t perform that action at this time.
0 commit comments