Merge commit 'f8dd96543542220181c76afb8c084f4908213fb5' as 'third_party/mason'

This commit is contained in:
Patrick Niklaus
2016-12-15 10:31:15 +00:00
796 changed files with 30230 additions and 0 deletions
@@ -0,0 +1,56 @@
language: c
sudo: false
matrix:
exclude:
- os: linux
- os: osx
include:
- os: osx
osx_image: xcode7
env: MASON_PLATFORM=ios
compiler: clang
- os: osx
osx_image: xcode7.2
env: MASON_PLATFORM=ios
compiler: clang
- os: osx
osx_image: xcode7.3
env: MASON_PLATFORM=ios
compiler: clang
- os: osx
osx_image: xcode7
env: MASON_PLATFORM=osx
compiler: clang
- os: linux
env: MASON_PLATFORM=linux CXX=clang++-3.5
addons:
apt:
sources: [ 'ubuntu-toolchain-r-test', 'llvm-toolchain-precise-3.5' ]
packages: [ 'clang-3.5', 'libstdc++-4.9-dev', 'libstdc++6' ]
- os: linux
env: MASON_PLATFORM=android MASON_ANDROID_ABI=arm-v5
- os: linux
env: MASON_PLATFORM=android MASON_ANDROID_ABI=arm-v7
- os: linux
env: MASON_PLATFORM=android MASON_ANDROID_ABI=arm-v8
- os: linux
env: MASON_PLATFORM=android MASON_ANDROID_ABI=x86
- os: linux
env: MASON_PLATFORM=android MASON_ANDROID_ABI=x86-64
- os: linux
env: MASON_PLATFORM=android MASON_ANDROID_ABI=mips
- os: linux
env: MASON_PLATFORM=android MASON_ANDROID_ABI=mips-64
addons:
apt:
sources: [ 'ubuntu-toolchain-r-test', 'llvm-toolchain-precise-3.5' ]
packages: [ 'clang-3.5', 'libstdc++-4.9-dev', 'libstdc++6' ]
script:
- ./mason build ${MASON_NAME} ${MASON_VERSION}
after_success:
- ./mason publish ${MASON_NAME} ${MASON_VERSION}
+41
View File
@@ -0,0 +1,41 @@
#!/usr/bin/env bash
LIB_VERSION=0.1.1
MASON_NAME=geojson
MASON_VERSION=${LIB_VERSION}-cxx03abi
MASON_LIB_FILE=lib/libgeojson.a
. ${MASON_DIR}/mason.sh
function mason_load_source {
mason_download \
https://github.com/mapbox/geojson-cpp/archive/v${LIB_VERSION}.tar.gz \
98daffe2846a97a21d37a15e6b3d022e164d897e
mason_extract_tar_gz
export MASON_BUILD_PATH=${MASON_ROOT}/.build/geojson-cpp-${LIB_VERSION}
}
function mason_compile {
make clean
MASON=${MASON_DIR}/mason make
mkdir -p ${MASON_PREFIX}/{include,lib}
cp -r include/mapbox ${MASON_PREFIX}/include/mapbox
mv build/libgeojson.a ${MASON_PREFIX}/lib
}
function mason_cflags {
echo -I${MASON_PREFIX}/include
}
function mason_ldflags {
:
}
function mason_static_libs {
echo ${MASON_PREFIX}/lib/libgeojson.a
}
mason_run "$@"
@@ -0,0 +1,49 @@
language: generic
matrix:
include:
- os: osx
osx_image: xcode7
env: MASON_PLATFORM=ios
compiler: clang
- os: osx
osx_image: xcode7.2
env: MASON_PLATFORM=ios
compiler: clang
- os: osx
osx_image: xcode7.3
env: MASON_PLATFORM=ios
compiler: clang
- os: osx
osx_image: xcode7
env: MASON_PLATFORM=osx
compiler: clang
- os: linux
sudo: false
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- libstdc++6
- libstdc++-5-dev
- os: linux
env: MASON_PLATFORM=android MASON_ANDROID_ABI=arm-v5
- os: linux
env: MASON_PLATFORM=android MASON_ANDROID_ABI=arm-v7
- os: linux
env: MASON_PLATFORM=android MASON_ANDROID_ABI=arm-v8
- os: linux
env: MASON_PLATFORM=android MASON_ANDROID_ABI=x86
- os: linux
env: MASON_PLATFORM=android MASON_ANDROID_ABI=x86-64
- os: linux
env: MASON_PLATFORM=android MASON_ANDROID_ABI=mips
- os: linux
env: MASON_PLATFORM=android MASON_ANDROID_ABI=mips-64
script:
- ./mason build ${MASON_NAME} ${MASON_VERSION}
after_success:
- ./mason publish ${MASON_NAME} ${MASON_VERSION}
+41
View File
@@ -0,0 +1,41 @@
#!/usr/bin/env bash
LIB_VERSION=0.1.2
MASON_NAME=geojson
MASON_VERSION=${LIB_VERSION}-cxx03abi
MASON_LIB_FILE=lib/libgeojson.a
. ${MASON_DIR}/mason.sh
function mason_load_source {
mason_download \
https://github.com/mapbox/geojson-cpp/archive/v${LIB_VERSION}.tar.gz \
ba0f620b97c8ab39b262f8474038a3fd4e33a7f3
mason_extract_tar_gz
export MASON_BUILD_PATH=${MASON_ROOT}/.build/geojson-cpp-${LIB_VERSION}
}
function mason_compile {
make clean
MASON=${MASON_DIR}/mason make
mkdir -p ${MASON_PREFIX}/{include,lib}
cp -r include/mapbox ${MASON_PREFIX}/include/mapbox
mv build/libgeojson.a ${MASON_PREFIX}/lib
}
function mason_cflags {
echo -I${MASON_PREFIX}/include
}
function mason_ldflags {
:
}
function mason_static_libs {
echo ${MASON_PREFIX}/lib/libgeojson.a
}
mason_run "$@"
@@ -0,0 +1,49 @@
language: generic
matrix:
include:
- os: osx
osx_image: xcode7
env: MASON_PLATFORM=ios
compiler: clang
- os: osx
osx_image: xcode7.2
env: MASON_PLATFORM=ios
compiler: clang
- os: osx
osx_image: xcode7.3
env: MASON_PLATFORM=ios
compiler: clang
- os: osx
osx_image: xcode7
env: MASON_PLATFORM=osx
compiler: clang
- os: linux
sudo: false
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- libstdc++6
- libstdc++-5-dev
- os: linux
env: MASON_PLATFORM=android MASON_ANDROID_ABI=arm-v5
- os: linux
env: MASON_PLATFORM=android MASON_ANDROID_ABI=arm-v7
- os: linux
env: MASON_PLATFORM=android MASON_ANDROID_ABI=arm-v8
- os: linux
env: MASON_PLATFORM=android MASON_ANDROID_ABI=x86
- os: linux
env: MASON_PLATFORM=android MASON_ANDROID_ABI=x86-64
- os: linux
env: MASON_PLATFORM=android MASON_ANDROID_ABI=mips
- os: linux
env: MASON_PLATFORM=android MASON_ANDROID_ABI=mips-64
script:
- ./mason build ${MASON_NAME} ${MASON_VERSION}
after_success:
- ./mason publish ${MASON_NAME} ${MASON_VERSION}
+42
View File
@@ -0,0 +1,42 @@
#!/usr/bin/env bash
LIB_VERSION=0.1.3
CXXABI=-D_GLIBCXX_USE_CXX11_ABI=0
MASON_NAME=geojson
MASON_VERSION=${LIB_VERSION}-cxx03abi
MASON_LIB_FILE=lib/libgeojson.a
. ${MASON_DIR}/mason.sh
function mason_load_source {
mason_download \
https://github.com/mapbox/geojson-cpp/archive/v${LIB_VERSION}.tar.gz \
a9c01debc7fe31fd98b7a960f9c3bd3e4e82d272
mason_extract_tar_gz
export MASON_BUILD_PATH=${MASON_ROOT}/.build/geojson-cpp-${LIB_VERSION}
}
function mason_compile {
make clean
CXXFLAGS="$CXXFLAGS $CXXABI" MASON=${MASON_DIR}/mason make
mkdir -p ${MASON_PREFIX}/{include,lib}
cp -r include/mapbox ${MASON_PREFIX}/include/mapbox
mv build/libgeojson.a ${MASON_PREFIX}/lib
}
function mason_cflags {
echo -I${MASON_PREFIX}/include
}
function mason_ldflags {
:
}
function mason_static_libs {
echo ${MASON_PREFIX}/lib/libgeojson.a
}
mason_run "$@"
+56
View File
@@ -0,0 +1,56 @@
language: generic
matrix:
include:
- os: osx
osx_image: xcode7
env: MASON_PLATFORM=ios
compiler: clang
- os: osx
osx_image: xcode7.2
env: MASON_PLATFORM=ios
compiler: clang
- os: osx
osx_image: xcode7.3
env: MASON_PLATFORM=ios
compiler: clang
- os: osx
osx_image: xcode7
env: MASON_PLATFORM=osx
compiler: clang
- os: linux
compiler: gcc
sudo: false
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- libstdc++6
- g++-5
env: MASON_PLATFORM=linux
- os: linux
env: MASON_PLATFORM=android MASON_ANDROID_ABI=arm-v5
- os: linux
env: MASON_PLATFORM=android MASON_ANDROID_ABI=arm-v7
- os: linux
env: MASON_PLATFORM=android MASON_ANDROID_ABI=arm-v8
- os: linux
env: MASON_PLATFORM=android MASON_ANDROID_ABI=x86
- os: linux
env: MASON_PLATFORM=android MASON_ANDROID_ABI=x86-64
- os: linux
env: MASON_PLATFORM=android MASON_ANDROID_ABI=mips
- os: linux
env: MASON_PLATFORM=android MASON_ANDROID_ABI=mips-64
script:
- |
if [[ ${MASON_PLATFORM} == 'linux' ]]; then
export CXX=g++-5
export CC=gcc-5
fi
- ./mason build ${MASON_NAME} ${MASON_VERSION}
after_success:
- ./mason publish ${MASON_NAME} ${MASON_VERSION}
+42
View File
@@ -0,0 +1,42 @@
#!/usr/bin/env bash
LIB_VERSION=0.1.3
CXXABI=-D_GLIBCXX_USE_CXX11_ABI=1
MASON_NAME=geojson
MASON_VERSION=${LIB_VERSION}
MASON_LIB_FILE=lib/libgeojson.a
. ${MASON_DIR}/mason.sh
function mason_load_source {
mason_download \
https://github.com/mapbox/geojson-cpp/archive/v${LIB_VERSION}.tar.gz \
a9c01debc7fe31fd98b7a960f9c3bd3e4e82d272
mason_extract_tar_gz
export MASON_BUILD_PATH=${MASON_ROOT}/.build/geojson-cpp-${LIB_VERSION}
}
function mason_compile {
make clean
CXXFLAGS="$CXXFLAGS $CXXABI" MASON=${MASON_DIR}/mason make
mkdir -p ${MASON_PREFIX}/{include,lib}
cp -r include/mapbox ${MASON_PREFIX}/include/mapbox
mv build/libgeojson.a ${MASON_PREFIX}/lib
}
function mason_cflags {
echo -I${MASON_PREFIX}/include
}
function mason_ldflags {
:
}
function mason_static_libs {
echo ${MASON_PREFIX}/lib/libgeojson.a
}
mason_run "$@"
@@ -0,0 +1,49 @@
language: generic
matrix:
include:
- os: osx
osx_image: xcode7
env: MASON_PLATFORM=ios
compiler: clang
- os: osx
osx_image: xcode7.2
env: MASON_PLATFORM=ios
compiler: clang
- os: osx
osx_image: xcode7.3
env: MASON_PLATFORM=ios
compiler: clang
- os: osx
osx_image: xcode7
env: MASON_PLATFORM=osx
compiler: clang
- os: linux
sudo: false
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- libstdc++6
- libstdc++-5-dev
- os: linux
env: MASON_PLATFORM=android MASON_ANDROID_ABI=arm-v5
- os: linux
env: MASON_PLATFORM=android MASON_ANDROID_ABI=arm-v7
- os: linux
env: MASON_PLATFORM=android MASON_ANDROID_ABI=arm-v8
- os: linux
env: MASON_PLATFORM=android MASON_ANDROID_ABI=x86
- os: linux
env: MASON_PLATFORM=android MASON_ANDROID_ABI=x86-64
- os: linux
env: MASON_PLATFORM=android MASON_ANDROID_ABI=mips
- os: linux
env: MASON_PLATFORM=android MASON_ANDROID_ABI=mips-64
script:
- ./mason build ${MASON_NAME} ${MASON_VERSION}
after_success:
- ./mason publish ${MASON_NAME} ${MASON_VERSION}
+42
View File
@@ -0,0 +1,42 @@
#!/usr/bin/env bash
LIB_VERSION=0.1.4
CXXABI=-D_GLIBCXX_USE_CXX11_ABI=0
MASON_NAME=geojson
MASON_VERSION=${LIB_VERSION}-cxx03abi
MASON_LIB_FILE=lib/libgeojson.a
. ${MASON_DIR}/mason.sh
function mason_load_source {
mason_download \
https://github.com/mapbox/geojson-cpp/archive/v${LIB_VERSION}.tar.gz \
f0a1499e67a9641691933eaec06cc74c7b70f468
mason_extract_tar_gz
export MASON_BUILD_PATH=${MASON_ROOT}/.build/geojson-cpp-${LIB_VERSION}
}
function mason_compile {
make clean
CXXFLAGS="$CXXFLAGS $CXXABI" MASON=${MASON_DIR}/mason make
mkdir -p ${MASON_PREFIX}/{include,lib}
cp -r include/mapbox ${MASON_PREFIX}/include/mapbox
mv build/libgeojson.a ${MASON_PREFIX}/lib
}
function mason_cflags {
echo -I${MASON_PREFIX}/include
}
function mason_ldflags {
:
}
function mason_static_libs {
echo ${MASON_PREFIX}/lib/libgeojson.a
}
mason_run "$@"
+41
View File
@@ -0,0 +1,41 @@
#!/usr/bin/env bash
LIB_VERSION=0.1.4
MASON_NAME=geojson
MASON_VERSION=${LIB_VERSION}-cxx11abi
MASON_LIB_FILE=lib/libgeojson.a
. ${MASON_DIR}/mason.sh
function mason_load_source {
mason_download \
https://github.com/mapbox/geojson-cpp/archive/v${LIB_VERSION}.tar.gz \
f0a1499e67a9641691933eaec06cc74c7b70f468
mason_extract_tar_gz
export MASON_BUILD_PATH=${MASON_ROOT}/.build/geojson-cpp-${LIB_VERSION}
}
function mason_compile {
make clean
CXXFLAGS="$CXXFLAGS" MASON=${MASON_DIR}/mason make
mkdir -p ${MASON_PREFIX}/{include,lib}
cp -r include/mapbox ${MASON_PREFIX}/include/mapbox
mv build/libgeojson.a ${MASON_PREFIX}/lib
}
function mason_cflags {
echo -I${MASON_PREFIX}/include
}
function mason_ldflags {
:
}
function mason_static_libs {
echo ${MASON_PREFIX}/lib/libgeojson.a
}
mason_run "$@"
+56
View File
@@ -0,0 +1,56 @@
language: generic
matrix:
include:
- os: osx
osx_image: xcode7
env: MASON_PLATFORM=ios
compiler: clang
- os: osx
osx_image: xcode7.2
env: MASON_PLATFORM=ios
compiler: clang
- os: osx
osx_image: xcode7.3
env: MASON_PLATFORM=ios
compiler: clang
- os: osx
osx_image: xcode7
env: MASON_PLATFORM=osx
compiler: clang
- os: linux
compiler: gcc
sudo: false
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- libstdc++6
- g++-5
env: MASON_PLATFORM=linux
- os: linux
env: MASON_PLATFORM=android MASON_ANDROID_ABI=arm-v5
- os: linux
env: MASON_PLATFORM=android MASON_ANDROID_ABI=arm-v7
- os: linux
env: MASON_PLATFORM=android MASON_ANDROID_ABI=arm-v8
- os: linux
env: MASON_PLATFORM=android MASON_ANDROID_ABI=x86
- os: linux
env: MASON_PLATFORM=android MASON_ANDROID_ABI=x86-64
- os: linux
env: MASON_PLATFORM=android MASON_ANDROID_ABI=mips
- os: linux
env: MASON_PLATFORM=android MASON_ANDROID_ABI=mips-64
script:
- |
if [[ ${MASON_PLATFORM} == 'linux' ]]; then
export CXX=g++-5
export CC=gcc-5
fi
- ./mason build ${MASON_NAME} ${MASON_VERSION}
after_success:
- ./mason publish ${MASON_NAME} ${MASON_VERSION}
+42
View File
@@ -0,0 +1,42 @@
#!/usr/bin/env bash
LIB_VERSION=0.1.4
CXXABI=-D_GLIBCXX_USE_CXX11_ABI=1
MASON_NAME=geojson
MASON_VERSION=${LIB_VERSION}
MASON_LIB_FILE=lib/libgeojson.a
. ${MASON_DIR}/mason.sh
function mason_load_source {
mason_download \
https://github.com/mapbox/geojson-cpp/archive/v${LIB_VERSION}.tar.gz \
f0a1499e67a9641691933eaec06cc74c7b70f468
mason_extract_tar_gz
export MASON_BUILD_PATH=${MASON_ROOT}/.build/geojson-cpp-${LIB_VERSION}
}
function mason_compile {
make clean
CXXFLAGS="$CXXFLAGS $CXXABI" MASON=${MASON_DIR}/mason make
mkdir -p ${MASON_PREFIX}/{include,lib}
cp -r include/mapbox ${MASON_PREFIX}/include/mapbox
mv build/libgeojson.a ${MASON_PREFIX}/lib
}
function mason_cflags {
echo -I${MASON_PREFIX}/include
}
function mason_ldflags {
:
}
function mason_static_libs {
echo ${MASON_PREFIX}/lib/libgeojson.a
}
mason_run "$@"
+56
View File
@@ -0,0 +1,56 @@
language: generic
matrix:
include:
- os: osx
osx_image: xcode7
env: MASON_PLATFORM=ios
compiler: clang
- os: osx
osx_image: xcode7.2
env: MASON_PLATFORM=ios
compiler: clang
- os: osx
osx_image: xcode7.3
env: MASON_PLATFORM=ios
compiler: clang
- os: osx
osx_image: xcode7
env: MASON_PLATFORM=osx
compiler: clang
- os: linux
compiler: gcc
sudo: false
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- libstdc++6
- g++-5
env: MASON_PLATFORM=linux
- os: linux
env: MASON_PLATFORM=android MASON_ANDROID_ABI=arm-v5
- os: linux
env: MASON_PLATFORM=android MASON_ANDROID_ABI=arm-v7
- os: linux
env: MASON_PLATFORM=android MASON_ANDROID_ABI=arm-v8
- os: linux
env: MASON_PLATFORM=android MASON_ANDROID_ABI=x86
- os: linux
env: MASON_PLATFORM=android MASON_ANDROID_ABI=x86-64
- os: linux
env: MASON_PLATFORM=android MASON_ANDROID_ABI=mips
- os: linux
env: MASON_PLATFORM=android MASON_ANDROID_ABI=mips-64
script:
- |
if [[ ${MASON_PLATFORM} == 'linux' ]]; then
export CXX=g++-5
export CC=gcc-5
fi
- ./mason build ${MASON_NAME} ${MASON_VERSION}
after_success:
- ./mason publish ${MASON_NAME} ${MASON_VERSION}
+42
View File
@@ -0,0 +1,42 @@
#!/usr/bin/env bash
LIB_VERSION=0.2.0
CXXABI=-D_GLIBCXX_USE_CXX11_ABI=1
MASON_NAME=geojson
MASON_VERSION=${LIB_VERSION}
MASON_LIB_FILE=lib/libgeojson.a
. ${MASON_DIR}/mason.sh
function mason_load_source {
mason_download \
https://github.com/mapbox/geojson-cpp/archive/v${LIB_VERSION}.tar.gz \
0baf35ce0e359dbb22ea4c6ca1fd5250dfb51e8f
mason_extract_tar_gz
export MASON_BUILD_PATH=${MASON_ROOT}/.build/geojson-cpp-${LIB_VERSION}
}
function mason_compile {
make clean
CXXFLAGS="$CXXFLAGS $CXXABI" MASON=${MASON_DIR}/mason make
mkdir -p ${MASON_PREFIX}/{include,lib}
cp -r include/mapbox ${MASON_PREFIX}/include/mapbox
mv build/libgeojson.a ${MASON_PREFIX}/lib
}
function mason_cflags {
echo -I${MASON_PREFIX}/include
}
function mason_ldflags {
:
}
function mason_static_libs {
echo ${MASON_PREFIX}/lib/libgeojson.a
}
mason_run "$@"
+56
View File
@@ -0,0 +1,56 @@
language: generic
matrix:
include:
- os: osx
osx_image: xcode7
env: MASON_PLATFORM=ios
compiler: clang
- os: osx
osx_image: xcode7.2
env: MASON_PLATFORM=ios
compiler: clang
- os: osx
osx_image: xcode7.3
env: MASON_PLATFORM=ios
compiler: clang
- os: osx
osx_image: xcode7
env: MASON_PLATFORM=osx
compiler: clang
- os: linux
compiler: gcc
sudo: false
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- libstdc++6
- g++-5
env: MASON_PLATFORM=linux
- os: linux
env: MASON_PLATFORM=android MASON_ANDROID_ABI=arm-v5
- os: linux
env: MASON_PLATFORM=android MASON_ANDROID_ABI=arm-v7
- os: linux
env: MASON_PLATFORM=android MASON_ANDROID_ABI=arm-v8
- os: linux
env: MASON_PLATFORM=android MASON_ANDROID_ABI=x86
- os: linux
env: MASON_PLATFORM=android MASON_ANDROID_ABI=x86-64
- os: linux
env: MASON_PLATFORM=android MASON_ANDROID_ABI=mips
- os: linux
env: MASON_PLATFORM=android MASON_ANDROID_ABI=mips-64
script:
- |
if [[ ${MASON_PLATFORM} == 'linux' ]]; then
export CXX=g++-5
export CC=gcc-5
fi
- ./mason build ${MASON_NAME} ${MASON_VERSION}
after_success:
- ./mason publish ${MASON_NAME} ${MASON_VERSION}
+42
View File
@@ -0,0 +1,42 @@
#!/usr/bin/env bash
LIB_VERSION=0.3.0
CXXABI=-D_GLIBCXX_USE_CXX11_ABI=1
MASON_NAME=geojson
MASON_VERSION=${LIB_VERSION}
MASON_LIB_FILE=lib/libgeojson.a
. ${MASON_DIR}/mason.sh
function mason_load_source {
mason_download \
https://github.com/mapbox/geojson-cpp/archive/v${LIB_VERSION}.tar.gz \
95e547eb39ccac984ed15446cd31d035da683d2b
mason_extract_tar_gz
export MASON_BUILD_PATH=${MASON_ROOT}/.build/geojson-cpp-${LIB_VERSION}
}
function mason_compile {
make clean
CXXFLAGS="$CXXFLAGS $CXXABI" MASON=${MASON_DIR}/mason make
mkdir -p ${MASON_PREFIX}/{include,lib}
cp -r include/mapbox ${MASON_PREFIX}/include/mapbox
mv build/libgeojson.a ${MASON_PREFIX}/lib
}
function mason_cflags {
echo -I${MASON_PREFIX}/include
}
function mason_ldflags {
:
}
function mason_static_libs {
echo ${MASON_PREFIX}/lib/libgeojson.a
}
mason_run "$@"
+56
View File
@@ -0,0 +1,56 @@
language: generic
matrix:
include:
- os: osx
osx_image: xcode7
env: MASON_PLATFORM=ios
compiler: clang
- os: osx
osx_image: xcode7.2
env: MASON_PLATFORM=ios
compiler: clang
- os: osx
osx_image: xcode7.3
env: MASON_PLATFORM=ios
compiler: clang
- os: osx
osx_image: xcode7
env: MASON_PLATFORM=osx
compiler: clang
- os: linux
compiler: gcc
sudo: false
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- libstdc++6
- g++-5
env: MASON_PLATFORM=linux
- os: linux
env: MASON_PLATFORM=android MASON_ANDROID_ABI=arm-v5
- os: linux
env: MASON_PLATFORM=android MASON_ANDROID_ABI=arm-v7
- os: linux
env: MASON_PLATFORM=android MASON_ANDROID_ABI=arm-v8
- os: linux
env: MASON_PLATFORM=android MASON_ANDROID_ABI=x86
- os: linux
env: MASON_PLATFORM=android MASON_ANDROID_ABI=x86-64
- os: linux
env: MASON_PLATFORM=android MASON_ANDROID_ABI=mips
- os: linux
env: MASON_PLATFORM=android MASON_ANDROID_ABI=mips-64
script:
- |
if [[ ${MASON_PLATFORM} == 'linux' ]]; then
export CXX=g++-5
export CC=gcc-5
fi
- ./mason build ${MASON_NAME} ${MASON_VERSION}
after_success:
- ./mason publish ${MASON_NAME} ${MASON_VERSION}
+32
View File
@@ -0,0 +1,32 @@
#!/usr/bin/env bash
MASON_NAME=geojson
MASON_VERSION=0.3.1
MASON_HEADER_ONLY=true
. ${MASON_DIR}/mason.sh
function mason_load_source {
mason_download \
https://github.com/mapbox/geojson-cpp/archive/v${MASON_VERSION}.tar.gz \
2014db07a5525628e43a9fec36809b04417e1cda
mason_extract_tar_gz
export MASON_BUILD_PATH=${MASON_ROOT}/.build/geojson-cpp-${MASON_VERSION}
}
function mason_compile {
mkdir -p ${MASON_PREFIX}/include/
cp -r include/mapbox ${MASON_PREFIX}/include/mapbox
}
function mason_cflags {
echo "-I${MASON_PREFIX}/include"
}
function mason_ldflags {
:
}
mason_run "$@"
+56
View File
@@ -0,0 +1,56 @@
language: generic
matrix:
include:
- os: osx
osx_image: xcode7
env: MASON_PLATFORM=ios
compiler: clang
- os: osx
osx_image: xcode7.2
env: MASON_PLATFORM=ios
compiler: clang
- os: osx
osx_image: xcode7.3
env: MASON_PLATFORM=ios
compiler: clang
- os: osx
osx_image: xcode7
env: MASON_PLATFORM=osx
compiler: clang
- os: linux
compiler: gcc
sudo: false
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- libstdc++6
- g++-5
env: MASON_PLATFORM=linux
- os: linux
env: MASON_PLATFORM=android MASON_ANDROID_ABI=arm-v5
- os: linux
env: MASON_PLATFORM=android MASON_ANDROID_ABI=arm-v7
- os: linux
env: MASON_PLATFORM=android MASON_ANDROID_ABI=arm-v8
- os: linux
env: MASON_PLATFORM=android MASON_ANDROID_ABI=x86
- os: linux
env: MASON_PLATFORM=android MASON_ANDROID_ABI=x86-64
- os: linux
env: MASON_PLATFORM=android MASON_ANDROID_ABI=mips
- os: linux
env: MASON_PLATFORM=android MASON_ANDROID_ABI=mips-64
script:
- |
if [[ ${MASON_PLATFORM} == 'linux' ]]; then
export CXX=g++-5
export CC=gcc-5
fi
- ./mason build ${MASON_NAME} ${MASON_VERSION}
after_success:
- ./mason publish ${MASON_NAME} ${MASON_VERSION}
+42
View File
@@ -0,0 +1,42 @@
#!/usr/bin/env bash
LIB_VERSION=0.3.1
CXXABI=-D_GLIBCXX_USE_CXX11_ABI=1
MASON_NAME=geojson
MASON_VERSION=${LIB_VERSION}
MASON_LIB_FILE=lib/libgeojson.a
. ${MASON_DIR}/mason.sh
function mason_load_source {
mason_download \
https://github.com/mapbox/geojson-cpp/archive/v${LIB_VERSION}.tar.gz \
2014db07a5525628e43a9fec36809b04417e1cda
mason_extract_tar_gz
export MASON_BUILD_PATH=${MASON_ROOT}/.build/geojson-cpp-${LIB_VERSION}
}
function mason_compile {
make clean
CXXFLAGS="$CXXFLAGS $CXXABI" MASON=${MASON_DIR}/mason make
mkdir -p ${MASON_PREFIX}/{include,lib}
cp -r include/mapbox ${MASON_PREFIX}/include/mapbox
mv build/libgeojson.a ${MASON_PREFIX}/lib
}
function mason_cflags {
echo -I${MASON_PREFIX}/include
}
function mason_ldflags {
:
}
function mason_static_libs {
echo ${MASON_PREFIX}/lib/libgeojson.a
}
mason_run "$@"
@@ -0,0 +1,8 @@
language: cpp
sudo: false
script:
- ./mason build ${MASON_NAME} ${MASON_VERSION}
after_success:
- ./mason publish ${MASON_NAME} ${MASON_VERSION}
+32
View File
@@ -0,0 +1,32 @@
#!/usr/bin/env bash
MASON_NAME=geojson
MASON_VERSION=0.3.2
MASON_HEADER_ONLY=true
. ${MASON_DIR}/mason.sh
function mason_load_source {
mason_download \
https://github.com/mapbox/geojson-cpp/archive/v${MASON_VERSION}.tar.gz \
1b3ccdee9d0273ae817b79d2b335df80c1b3dc4b
mason_extract_tar_gz
export MASON_BUILD_PATH=${MASON_ROOT}/.build/geojson-cpp-${MASON_VERSION}
}
function mason_compile {
mkdir -p ${MASON_PREFIX}/include/
cp -r include/mapbox ${MASON_PREFIX}/include/mapbox
}
function mason_cflags {
echo "-I${MASON_PREFIX}/include"
}
function mason_ldflags {
:
}
mason_run "$@"
+56
View File
@@ -0,0 +1,56 @@
language: generic
matrix:
include:
- os: osx
osx_image: xcode7
env: MASON_PLATFORM=ios
compiler: clang
- os: osx
osx_image: xcode7.2
env: MASON_PLATFORM=ios
compiler: clang
- os: osx
osx_image: xcode7.3
env: MASON_PLATFORM=ios
compiler: clang
- os: osx
osx_image: xcode7
env: MASON_PLATFORM=osx
compiler: clang
- os: linux
compiler: gcc
sudo: false
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- libstdc++6
- g++-5
env: MASON_PLATFORM=linux
- os: linux
env: MASON_PLATFORM=android MASON_ANDROID_ABI=arm-v5
- os: linux
env: MASON_PLATFORM=android MASON_ANDROID_ABI=arm-v7
- os: linux
env: MASON_PLATFORM=android MASON_ANDROID_ABI=arm-v8
- os: linux
env: MASON_PLATFORM=android MASON_ANDROID_ABI=x86
- os: linux
env: MASON_PLATFORM=android MASON_ANDROID_ABI=x86-64
- os: linux
env: MASON_PLATFORM=android MASON_ANDROID_ABI=mips
- os: linux
env: MASON_PLATFORM=android MASON_ANDROID_ABI=mips-64
script:
- |
if [[ ${MASON_PLATFORM} == 'linux' ]]; then
export CXX=g++-5
export CC=gcc-5
fi
- ./mason build ${MASON_NAME} ${MASON_VERSION}
after_success:
- ./mason publish ${MASON_NAME} ${MASON_VERSION}
+42
View File
@@ -0,0 +1,42 @@
#!/usr/bin/env bash
LIB_VERSION=0.3.2
CXXABI=-D_GLIBCXX_USE_CXX11_ABI=1
MASON_NAME=geojson
MASON_VERSION=${LIB_VERSION}
MASON_LIB_FILE=lib/libgeojson.a
. ${MASON_DIR}/mason.sh
function mason_load_source {
mason_download \
https://github.com/mapbox/geojson-cpp/archive/v${LIB_VERSION}.tar.gz \
1b3ccdee9d0273ae817b79d2b335df80c1b3dc4b
mason_extract_tar_gz
export MASON_BUILD_PATH=${MASON_ROOT}/.build/geojson-cpp-${LIB_VERSION}
}
function mason_compile {
make clean
CXXFLAGS="$CXXFLAGS $CXXABI" MASON=${MASON_DIR}/mason make
mkdir -p ${MASON_PREFIX}/{include,lib}
cp -r include/mapbox ${MASON_PREFIX}/include/mapbox
mv build/libgeojson.a ${MASON_PREFIX}/lib
}
function mason_cflags {
echo -I${MASON_PREFIX}/include
}
function mason_ldflags {
:
}
function mason_static_libs {
echo ${MASON_PREFIX}/lib/libgeojson.a
}
mason_run "$@"
@@ -0,0 +1,8 @@
language: cpp
sudo: false
script:
- ./mason build ${MASON_NAME} ${MASON_VERSION}
after_success:
- ./mason publish ${MASON_NAME} ${MASON_VERSION}
+32
View File
@@ -0,0 +1,32 @@
#!/usr/bin/env bash
MASON_NAME=geojson
MASON_VERSION=0.4.0
MASON_HEADER_ONLY=true
. ${MASON_DIR}/mason.sh
function mason_load_source {
mason_download \
https://github.com/mapbox/geojson-cpp/archive/v${MASON_VERSION}.tar.gz \
addb13f800975cc433a009dbefbe01afa0d9902f
mason_extract_tar_gz
export MASON_BUILD_PATH=${MASON_ROOT}/.build/geojson-cpp-${MASON_VERSION}
}
function mason_compile {
mkdir -p ${MASON_PREFIX}/include/
cp -r include/mapbox ${MASON_PREFIX}/include/mapbox
}
function mason_cflags {
echo "-I${MASON_PREFIX}/include"
}
function mason_ldflags {
:
}
mason_run "$@"
+56
View File
@@ -0,0 +1,56 @@
language: generic
matrix:
include:
- os: osx
osx_image: xcode7
env: MASON_PLATFORM=ios
compiler: clang
- os: osx
osx_image: xcode7.2
env: MASON_PLATFORM=ios
compiler: clang
- os: osx
osx_image: xcode7.3
env: MASON_PLATFORM=ios
compiler: clang
- os: osx
osx_image: xcode7
env: MASON_PLATFORM=osx
compiler: clang
- os: linux
compiler: gcc
sudo: false
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- libstdc++6
- g++-5
env: MASON_PLATFORM=linux
- os: linux
env: MASON_PLATFORM=android MASON_ANDROID_ABI=arm-v5
- os: linux
env: MASON_PLATFORM=android MASON_ANDROID_ABI=arm-v7
- os: linux
env: MASON_PLATFORM=android MASON_ANDROID_ABI=arm-v8
- os: linux
env: MASON_PLATFORM=android MASON_ANDROID_ABI=x86
- os: linux
env: MASON_PLATFORM=android MASON_ANDROID_ABI=x86-64
- os: linux
env: MASON_PLATFORM=android MASON_ANDROID_ABI=mips
- os: linux
env: MASON_PLATFORM=android MASON_ANDROID_ABI=mips-64
script:
- |
if [[ ${MASON_PLATFORM} == 'linux' ]]; then
export CXX=g++-5
export CC=gcc-5
fi
- ./mason build ${MASON_NAME} ${MASON_VERSION}
after_success:
- ./mason publish ${MASON_NAME} ${MASON_VERSION}
+42
View File
@@ -0,0 +1,42 @@
#!/usr/bin/env bash
LIB_VERSION=0.4.0
CXXABI=-D_GLIBCXX_USE_CXX11_ABI=1
MASON_NAME=geojson
MASON_VERSION=${LIB_VERSION}
MASON_LIB_FILE=lib/libgeojson.a
. ${MASON_DIR}/mason.sh
function mason_load_source {
mason_download \
https://github.com/mapbox/geojson-cpp/archive/v${LIB_VERSION}.tar.gz \
addb13f800975cc433a009dbefbe01afa0d9902f
mason_extract_tar_gz
export MASON_BUILD_PATH=${MASON_ROOT}/.build/geojson-cpp-${LIB_VERSION}
}
function mason_compile {
make clean
CXXFLAGS="$CXXFLAGS $CXXABI" MASON=${MASON_DIR}/mason make
mkdir -p ${MASON_PREFIX}/{include,lib}
cp -r include/mapbox ${MASON_PREFIX}/include/mapbox
mv build/libgeojson.a ${MASON_PREFIX}/lib
}
function mason_cflags {
echo -I${MASON_PREFIX}/include
}
function mason_ldflags {
:
}
function mason_static_libs {
echo ${MASON_PREFIX}/lib/libgeojson.a
}
mason_run "$@"