File tree Expand file tree Collapse file tree 2 files changed +7
-9
lines changed Expand file tree Collapse file tree 2 files changed +7
-9
lines changed Original file line number Diff line number Diff line change 1
1
sudo : false
2
+ dist : trusty
2
3
language : cpp
3
4
python :
4
5
- " 2.7"
@@ -8,26 +9,22 @@ matrix:
8
9
9
10
- env : CC_COMPILER="./test/wasm-install/wasm-install/bin/clang" CXX_COMPILER="./test/wasm-install/wasm-install/bin/clang++"
10
11
compiler : clang
11
- addons : &gcc5
12
+ addons : &stuff
12
13
apt :
13
14
sources : ['ubuntu-toolchain-r-test']
14
- packages : ['cmake', 'nodejs', 'g ++-5 ']
15
+ packages : ['cmake', 'nodejs', 'libstdc ++-4.8-dev ']
15
16
16
17
- env : CC_COMPILER="./test/wasm-install/wasm-install/bin/clang" CXX_COMPILER="./test/wasm-install/wasm-install/bin/clang++" COMPILER_FLAGS="-fsanitize=undefined -fno-sanitize-recover=all -fsanitize-blacklist=`pwd`/ubsan.blacklist"
17
18
compiler : clang
18
- addons : *gcc5
19
+ addons : *stuff
19
20
20
21
- env : CC_COMPILER="./test/wasm-install/wasm-install/bin/clang" CXX_COMPILER="./test/wasm-install/wasm-install/bin/clang++" COMPILER_FLAGS="-fsanitize=address"
21
22
compiler : clang
22
- addons : *gcc5
23
+ addons : *stuff
23
24
24
25
- env : CC_COMPILER="./test/wasm-install/wasm-install/bin/clang" CXX_COMPILER="./test/wasm-install/wasm-install/bin/clang++" COMPILER_FLAGS="-fsanitize=thread"
25
26
compiler : clang
26
- addons : *gcc5
27
-
28
- - env : CC_COMPILER="gcc-5" CXX_COMPILER="g++-5"
29
- compiler : gcc
30
- addons : *gcc5
27
+ addons : *stuff
31
28
32
29
before_install :
33
30
- export CC="${CC_COMPILER}"
Original file line number Diff line number Diff line change 63
63
ADD_COMPILE_FLAG ("-Werror" )
64
64
ADD_COMPILE_FLAG ("-Wextra" )
65
65
ADD_COMPILE_FLAG ("-Wno-unused-parameter" )
66
+ ADD_COMPILE_FLAG ("-Wno-mismatched-tags" ) # libstdc++4.8 issue on trusty
66
67
ADD_COMPILE_FLAG ("-fno-omit-frame-pointer" )
67
68
ADD_COMPILE_FLAG ("-fPIC" )
68
69
IF (uppercase_CMAKE_BUILD_TYPE STREQUAL "DEBUG" )
You can’t perform that action at this time.
0 commit comments