66
66
- mkdir bin ; ln -s /usr/bin/gcc-5 bin/gcc
67
67
# env: COMPILER=g++-5 SAN_FLAGS="-fsanitize=undefined -fno-sanitize-recover -fno-omit-frame-pointer"
68
68
env :
69
- - COMPILER="ccache g++-5"
69
+ - COMPILER="ccache /usr/bin/ g++-5"
70
70
- EXTRA_CXXFLAGS="-D_GLIBCXX_DEBUG"
71
71
72
72
# OS X using g++
76
76
compiler : gcc
77
77
cache : ccache
78
78
before_install :
79
- # we create symlink to non-ccache gcc, to be used in tests
80
- - mkdir bin ; ln -s /usr/bin/gcc bin/gcc
81
79
- HOMEBREW_NO_AUTO_UPDATE=1 brew install ccache
82
- - export PATH=/usr/local/opt/ccache/libexec:$PATH
80
+ - export PATH=$PATH: /usr/local/opt/ccache/libexec
83
81
env : COMPILER="ccache g++"
84
82
85
83
# OS X using clang++
90
88
cache : ccache
91
89
before_install :
92
90
- HOMEBREW_NO_AUTO_UPDATE=1 brew install ccache
93
- - export PATH=/usr/local/opt/ccache/libexec:$PATH
91
+ - export PATH=$PATH: /usr/local/opt/ccache/libexec
94
92
env :
95
93
- COMPILER="ccache clang++ -Qunused-arguments -fcolor-diagnostics"
96
94
- CCACHE_CPP2=yes
@@ -113,7 +111,7 @@ jobs:
113
111
- mkdir bin ; ln -s /usr/bin/gcc-5 bin/gcc
114
112
# env: COMPILER=g++-5 SAN_FLAGS="-fsanitize=undefined -fno-sanitize-recover -fno-omit-frame-pointer"
115
113
env :
116
- - COMPILER="ccache g++-5"
114
+ - COMPILER="ccache /usr/bin/ g++-5"
117
115
- EXTRA_CXXFLAGS="-DDEBUG"
118
116
script : echo "Not running any tests for a debug build."
119
117
@@ -138,7 +136,7 @@ jobs:
138
136
- export CCACHE_CPP2=yes
139
137
# env: COMPILER=clang++-3.7 SAN_FLAGS="-fsanitize=undefined -fno-sanitize-recover=undefined,integer -fno-omit-frame-pointer"
140
138
env :
141
- - COMPILER="ccache clang++-3.7 -Qunused-arguments -fcolor-diagnostics"
139
+ - COMPILER="ccache /usr/bin/ clang++-3.7 -Qunused-arguments -fcolor-diagnostics"
142
140
- CCACHE_CPP2=yes
143
141
- EXTRA_CXXFLAGS="-DNDEBUG"
144
142
@@ -163,7 +161,7 @@ jobs:
163
161
- export CCACHE_CPP2=yes
164
162
# env: COMPILER=clang++-3.7 SAN_FLAGS="-fsanitize=undefined -fno-sanitize-recover=undefined,integer -fno-omit-frame-pointer"
165
163
env :
166
- - COMPILER="ccache clang++-3.7 -Qunused-arguments -fcolor-diagnostics"
164
+ - COMPILER="ccache /usr/bin/ clang++-3.7 -Qunused-arguments -fcolor-diagnostics"
167
165
- CCACHE_CPP2=yes
168
166
- EXTRA_CXXFLAGS="-DDEBUG -DUSE_STD_STRING"
169
167
script : echo "Not running any tests for a debug build."
@@ -180,10 +178,12 @@ jobs:
180
178
- ubuntu-toolchain-r-test
181
179
packages :
182
180
- g++-5
181
+ before_install :
182
+ - mkdir bin ; ln -s /usr/bin/gcc-5 bin/gcc
183
183
install :
184
184
- ccache -z
185
185
- ccache --max-size=1G
186
- - cmake -H. -Bbuild '-DCMAKE_BUILD_TYPE=Release' '-DCMAKE_CXX_COMPILER=g++-5'
186
+ - cmake -H. -Bbuild '-DCMAKE_BUILD_TYPE=Release' '-DCMAKE_CXX_COMPILER=/usr/bin/ g++-5'
187
187
- cmake --build build -- -j4
188
188
script : (cd build; ctest -V -L CORE -j2)
189
189
@@ -192,7 +192,7 @@ jobs:
192
192
cache : ccache
193
193
before_install :
194
194
- HOMEBREW_NO_AUTO_UPDATE=1 brew install ccache
195
- - export PATH=/usr/local/opt/ccache/libexec:$PATH
195
+ - export PATH=$PATH: /usr/local/opt/ccache/libexec
196
196
env :
197
197
- BUILD_SYSTEM=cmake
198
198
- CCACHE_CPP2=yes
0 commit comments