f5ea42b11f
remove inadvertent change also dump glibcxx symbols on circle add glibc_workaround.cpp if option is chosen This reverts commit 751d9bff1672f6b8cbd2b5ebe2eb460223746806. add script that asserts on expected symbols check symbols for all modes, only error if symbols exist + ENABLE_GLIBC_WORKAROUND
42 lines
1.2 KiB
YAML
42 lines
1.2 KiB
YAML
machine:
|
|
xcode:
|
|
version: 7.3
|
|
environment:
|
|
XCODE_SCHEME: "no"
|
|
XCODE_WORKSPACE: "no"
|
|
JOBS: 8
|
|
CCACHE_TEMPDIR: /tmp/.ccache-temp
|
|
CCACHE_COMPRESS: 1
|
|
LLVM_VERSION: 3.9.1
|
|
|
|
checkout:
|
|
post:
|
|
- git submodule update --init
|
|
|
|
dependencies:
|
|
cache_directories:
|
|
- "~/.ccache"
|
|
- "~/.apt-cache"
|
|
pre:
|
|
# https://discuss.circleci.com/t/add-ability-to-cache-apt-get-programs/598/3
|
|
- sudo rm -rf /var/cache/apt/archives && sudo ln -s ~/.apt-cache /var/cache/apt/archives && mkdir -p ~/.apt-cache/partial
|
|
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
|
|
override:
|
|
- sudo apt-get update -y
|
|
- sudo apt-get install -y libstdc++-5-dev xutils-dev
|
|
|
|
database:
|
|
pre:
|
|
- ./bootstrap.sh
|
|
- ./.mason/mason install clang++ ${LLVM_VERSION}
|
|
- ./.mason/mason link clang++ ${LLVM_VERSION}
|
|
- ./configure CC="$(pwd)/mason_packages/.link/bin/clang" CXX="$(pwd)/mason_packages/.link/bin/ccache $(pwd)/mason_packages/.link/bin/clang++ -Qunused-arguments"
|
|
- make
|
|
- nm src/libmapnik* | grep "GLIBCXX_3.4.2[0-9]" || true
|
|
override:
|
|
- psql -c 'create database template_postgis;'
|
|
- psql -c 'create extension postgis;' -d template_postgis
|
|
|
|
test:
|
|
override:
|
|
- make test
|