@@ -3,90 +3,150 @@ language: generic
3
3
matrix :
4
4
include :
5
5
- os : linux
6
- env : CC=gcc COMPILER_FLAGS="" CONFIGURE_FLAGS=""
6
+ env : CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="" EXTRA_CFLAGS="-Werror -Wno-array-bounds "
7
7
- os : osx
8
- env : CC=gcc COMPILER_FLAGS="" CONFIGURE_FLAGS=""
8
+ env : CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="" EXTRA_CFLAGS="-Werror -Wno-array-bounds "
9
9
- os : linux
10
- env : CC=clang COMPILER_FLAGS="" CONFIGURE_FLAGS=""
10
+ env : CC=clang CXX=clang++ COMPILER_FLAGS="" CONFIGURE_FLAGS="" EXTRA_CFLAGS="-Werror -Wno-array-bounds "
11
11
- os : linux
12
- env : CC=gcc COMPILER_FLAGS="-m32" CONFIGURE_FLAGS=""
12
+ env : CC=gcc CXX=g++ COMPILER_FLAGS="-m32" CONFIGURE_FLAGS="" EXTRA_CFLAGS="-Werror -Wno-array-bounds "
13
13
addons :
14
14
apt :
15
15
packages :
16
16
- gcc-multilib
17
17
- os : linux
18
- env : CC=gcc COMPILER_FLAGS="" CONFIGURE_FLAGS="--enable-debug"
18
+ env : CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--enable-debug" EXTRA_CFLAGS="-Werror -Wno-array-bounds "
19
19
- os : linux
20
- env : CC=gcc COMPILER_FLAGS="" CONFIGURE_FLAGS="--enable-prof"
20
+ env : CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--enable-prof" EXTRA_CFLAGS="-Werror -Wno-array-bounds "
21
21
- os : linux
22
- env : CC=gcc COMPILER_FLAGS="" CONFIGURE_FLAGS="--disable-stats"
22
+ env : CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--disable-stats" EXTRA_CFLAGS="-Werror -Wno-array-bounds "
23
23
- os : linux
24
- env : CC=gcc COMPILER_FLAGS="" CONFIGURE_FLAGS="--disable-tcache"
24
+ env : CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--with-malloc-conf=tcache:false" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
25
+ - os : linux
26
+ env : CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--with-malloc-conf=dss:primary" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
27
+ - os : linux
28
+ env : CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--with-malloc-conf=percpu_arena:percpu" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
29
+ - os : linux
30
+ env : CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--with-malloc-conf=background_thread:true" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
25
31
- os : osx
26
- env : CC=clang COMPILER_FLAGS="" CONFIGURE_FLAGS=""
32
+ env : CC=clang CXX=clang++ COMPILER_FLAGS="" CONFIGURE_FLAGS="" EXTRA_CFLAGS="-Werror -Wno-array-bounds "
27
33
- os : osx
28
- env : CC=gcc COMPILER_FLAGS="-m32" CONFIGURE_FLAGS=""
34
+ env : CC=gcc CXX=g++ COMPILER_FLAGS="-m32" CONFIGURE_FLAGS="" EXTRA_CFLAGS="-Werror -Wno-array-bounds "
29
35
- os : osx
30
- env : CC=gcc COMPILER_FLAGS="" CONFIGURE_FLAGS="--enable-debug"
36
+ env : CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--enable-debug" EXTRA_CFLAGS="-Werror -Wno-array-bounds "
31
37
- os : osx
32
- env : CC=gcc COMPILER_FLAGS="" CONFIGURE_FLAGS="--disable-stats"
38
+ env : CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--disable-stats" EXTRA_CFLAGS="-Werror -Wno-array-bounds "
33
39
- os : osx
34
- env : CC=gcc COMPILER_FLAGS="" CONFIGURE_FLAGS="--disable- tcache"
40
+ env : CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--with-malloc-conf= tcache:false" EXTRA_CFLAGS="-Werror -Wno-array-bounds "
35
41
- os : linux
36
- env : CC=clang COMPILER_FLAGS="-m32" CONFIGURE_FLAGS=""
42
+ env : CC=clang CXX=clang++ COMPILER_FLAGS="-m32" CONFIGURE_FLAGS="" EXTRA_CFLAGS="-Werror -Wno-array-bounds "
37
43
addons :
38
44
apt :
39
45
packages :
40
46
- gcc-multilib
41
47
- os : linux
42
- env : CC=clang COMPILER_FLAGS="" CONFIGURE_FLAGS="--enable-debug"
48
+ env : CC=clang CXX=clang++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--enable-debug" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
49
+ - os : linux
50
+ env : CC=clang CXX=clang++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--enable-prof" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
51
+ - os : linux
52
+ env : CC=clang CXX=clang++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--disable-stats" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
53
+ - os : linux
54
+ env : CC=clang CXX=clang++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--with-malloc-conf=tcache:false" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
55
+ - os : linux
56
+ env : CC=clang CXX=clang++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--with-malloc-conf=dss:primary" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
57
+ - os : linux
58
+ env : CC=clang CXX=clang++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--with-malloc-conf=percpu_arena:percpu" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
59
+ - os : linux
60
+ env : CC=clang CXX=clang++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--with-malloc-conf=background_thread:true" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
43
61
- os : linux
44
- env : CC=clang COMPILER_FLAGS="" CONFIGURE_FLAGS="--enable-prof"
62
+ env : CC=gcc CXX=g++ COMPILER_FLAGS="-m32" CONFIGURE_FLAGS="--enable-debug" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
63
+ addons :
64
+ apt :
65
+ packages :
66
+ - gcc-multilib
45
67
- os : linux
46
- env : CC=clang COMPILER_FLAGS="" CONFIGURE_FLAGS="--disable-stats"
68
+ env : CC=gcc CXX=g++ COMPILER_FLAGS="-m32" CONFIGURE_FLAGS="--enable-prof" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
69
+ addons :
70
+ apt :
71
+ packages :
72
+ - gcc-multilib
47
73
- os : linux
48
- env : CC=clang COMPILER_FLAGS="" CONFIGURE_FLAGS="--disable-tcache"
74
+ env : CC=gcc CXX=g++ COMPILER_FLAGS="-m32" CONFIGURE_FLAGS="--disable-stats" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
75
+ addons :
76
+ apt :
77
+ packages :
78
+ - gcc-multilib
49
79
- os : linux
50
- env : CC=gcc COMPILER_FLAGS="-m32" CONFIGURE_FLAGS="--enable-debug "
80
+ env : CC=gcc CXX=g++ COMPILER_FLAGS="-m32" CONFIGURE_FLAGS="--with-malloc-conf=tcache:false" EXTRA_CFLAGS="-Werror -Wno-array-bounds "
51
81
addons :
52
82
apt :
53
83
packages :
54
84
- gcc-multilib
55
85
- os : linux
56
- env : CC=gcc COMPILER_FLAGS="-m32" CONFIGURE_FLAGS="--enable-prof "
86
+ env : CC=gcc CXX=g++ COMPILER_FLAGS="-m32" CONFIGURE_FLAGS="--with-malloc-conf=dss:primary" EXTRA_CFLAGS="-Werror -Wno-array-bounds "
57
87
addons :
58
88
apt :
59
89
packages :
60
90
- gcc-multilib
61
91
- os : linux
62
- env : CC=gcc COMPILER_FLAGS="-m32" CONFIGURE_FLAGS="--disable-stats "
92
+ env : CC=gcc CXX=g++ COMPILER_FLAGS="-m32" CONFIGURE_FLAGS="--with-malloc-conf=percpu_arena:percpu" EXTRA_CFLAGS="-Werror -Wno-array-bounds "
63
93
addons :
64
94
apt :
65
95
packages :
66
96
- gcc-multilib
67
97
- os : linux
68
- env : CC=gcc COMPILER_FLAGS="-m32" CONFIGURE_FLAGS="--disable-tcache "
98
+ env : CC=gcc CXX=g++ COMPILER_FLAGS="-m32" CONFIGURE_FLAGS="--with-malloc-conf=background_thread:true" EXTRA_CFLAGS="-Werror -Wno-array-bounds "
69
99
addons :
70
100
apt :
71
101
packages :
72
102
- gcc-multilib
73
103
- os : linux
74
- env : CC=gcc COMPILER_FLAGS="" CONFIGURE_FLAGS="--enable-debug --enable-prof"
104
+ env : CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--enable-debug --enable-prof" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
105
+ - os : linux
106
+ env : CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--enable-debug --disable-stats" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
107
+ - os : linux
108
+ env : CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--enable-debug --with-malloc-conf=tcache:false" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
109
+ - os : linux
110
+ env : CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--enable-debug --with-malloc-conf=dss:primary" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
111
+ - os : linux
112
+ env : CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--enable-debug --with-malloc-conf=percpu_arena:percpu" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
113
+ - os : linux
114
+ env : CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--enable-debug --with-malloc-conf=background_thread:true" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
115
+ - os : linux
116
+ env : CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--enable-prof --disable-stats" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
117
+ - os : linux
118
+ env : CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--enable-prof --with-malloc-conf=tcache:false" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
119
+ - os : linux
120
+ env : CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--enable-prof --with-malloc-conf=dss:primary" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
121
+ - os : linux
122
+ env : CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--enable-prof --with-malloc-conf=percpu_arena:percpu" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
123
+ - os : linux
124
+ env : CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--enable-prof --with-malloc-conf=background_thread:true" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
125
+ - os : linux
126
+ env : CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--disable-stats --with-malloc-conf=tcache:false" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
127
+ - os : linux
128
+ env : CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--disable-stats --with-malloc-conf=dss:primary" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
129
+ - os : linux
130
+ env : CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--disable-stats --with-malloc-conf=percpu_arena:percpu" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
131
+ - os : linux
132
+ env : CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--disable-stats --with-malloc-conf=background_thread:true" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
133
+ - os : linux
134
+ env : CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--with-malloc-conf=tcache:false,dss:primary" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
75
135
- os : linux
76
- env : CC=gcc COMPILER_FLAGS="" CONFIGURE_FLAGS="--enable-debug --disable-stats "
136
+ env : CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--with-malloc-conf=tcache:false,percpu_arena:percpu" EXTRA_CFLAGS="-Werror -Wno-array-bounds "
77
137
- os : linux
78
- env : CC=gcc COMPILER_FLAGS="" CONFIGURE_FLAGS="--enable-debug --disable-tcache "
138
+ env : CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--with-malloc-conf=tcache:false,background_thread:true" EXTRA_CFLAGS="-Werror -Wno-array-bounds "
79
139
- os : linux
80
- env : CC=gcc COMPILER_FLAGS="" CONFIGURE_FLAGS="--enable-prof --disable-stats "
140
+ env : CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--with-malloc-conf=dss:primary,percpu_arena:percpu" EXTRA_CFLAGS="-Werror -Wno-array-bounds "
81
141
- os : linux
82
- env : CC=gcc COMPILER_FLAGS="" CONFIGURE_FLAGS="--enable-prof --disable-tcache "
142
+ env : CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--with-malloc-conf=dss:primary,background_thread:true" EXTRA_CFLAGS="-Werror -Wno-array-bounds "
83
143
- os : linux
84
- env : CC=gcc COMPILER_FLAGS="" CONFIGURE_FLAGS="--disable-stats --disable-tcache "
144
+ env : CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--with-malloc-conf=percpu_arena:percpu,background_thread:true" EXTRA_CFLAGS="-Werror -Wno-array-bounds "
85
145
86
146
87
147
before_script :
88
148
- autoconf
89
- - ./configure ${COMPILER_FLAGS:+ CC="$CC $COMPILER_FLAGS" } $CONFIGURE_FLAGS
149
+ - ./configure ${COMPILER_FLAGS:+ CC="$CC $COMPILER_FLAGS" CXX="$CXX $COMPILER_FLAGS" } $CONFIGURE_FLAGS
90
150
- make -j3
91
151
- make -j3 tests
92
152
0 commit comments