mirror of
https://github.com/felt/tippecanoe.git
synced 2026-10-02 08:25:40 +02:00
fix clang++ build by upgrading to 3.5
This commit is contained in:
+6
-10
@@ -1,4 +1,4 @@
|
|||||||
language: c
|
language: generic
|
||||||
|
|
||||||
sudo: false
|
sudo: false
|
||||||
|
|
||||||
@@ -6,31 +6,27 @@ matrix:
|
|||||||
include:
|
include:
|
||||||
- os: linux
|
- os: linux
|
||||||
compiler: gcc
|
compiler: gcc
|
||||||
env: COVERAGE=gcov-4.9
|
env: COVERAGE=gcov-4.9 CC="gcc-4.9" CXX="g++-4.9"
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
sources: ['ubuntu-toolchain-r-test']
|
sources: ['ubuntu-toolchain-r-test']
|
||||||
packages: [ 'g++-4.9', 'protobuf-compiler', 'libprotobuf-dev' ]
|
packages: [ 'g++-4.9' ]
|
||||||
- os: linux
|
- os: linux
|
||||||
compiler: clang
|
compiler: clang
|
||||||
|
env: CC="clang-3.5" CXX="clang++-3.5"
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
packages: [ 'protobuf-compiler', 'libprotobuf-dev', 'libc++-dev' ]
|
sources: ['ubuntu-toolchain-r-test', 'llvm-toolchain-precise-3.5' ]
|
||||||
|
packages: [ 'clang-3.5' ]
|
||||||
- os: osx
|
- os: osx
|
||||||
compiler: clang
|
compiler: clang
|
||||||
|
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- if [[ $(uname -s) == 'Darwin' ]]; then brew install protobuf; fi;
|
|
||||||
- if [ -n "${COVERAGE}" ]; then
|
- if [ -n "${COVERAGE}" ]; then
|
||||||
export CXX=g++-4.9;
|
|
||||||
export CC=gcc-4.9;
|
|
||||||
export CXXFLAGS="--coverage -g";
|
export CXXFLAGS="--coverage -g";
|
||||||
export CFLAGS="--coverage -g";
|
export CFLAGS="--coverage -g";
|
||||||
export LDFLAGS="--coverage";
|
export LDFLAGS="--coverage";
|
||||||
elif [[ $(uname -s) == 'Linux' ]]; then
|
|
||||||
export CXX=clang++;
|
|
||||||
export CXXFLAGS="-stdlib=libc++";
|
|
||||||
fi;
|
fi;
|
||||||
- make
|
- make
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user