- [osx] set -fvisibility-inlines-hidden in gyp/common.gypi to silence mismatched visibility linker warnings - [linux] set cxx_host in GYP_FLAGS to set -fabi-version=0 on gcc builds to use clang-built mason binaries - [ios] update symbol visibility for iOS tests - [ios] link libgeojsonvt.a in iOS tests xcodeproj - add libgeojsonvt.a to General -> Linked Frameworks and Libraries - add mason_packages (recursive) to Build Settings -> Library Search Path - [ios] add libuv and geojsonvt first in iOS libtool smush to ensure symbols are found by later compilation units where they are undefined
22 lines
515 B
Bash
Executable File
22 lines
515 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
set -o pipefail
|
|
|
|
source ./scripts/osx/setup.sh
|
|
|
|
BUILDTYPE=${BUILDTYPE:-Release}
|
|
|
|
################################################################################
|
|
# Build
|
|
################################################################################
|
|
|
|
mapbox_time "compile_program" \
|
|
make xosx -j${JOBS} BUILDTYPE=${BUILDTYPE}
|
|
|
|
mapbox_time "compile_render_binary" \
|
|
make xrender -j${JOBS} BUILDTYPE=${BUILDTYPE}
|
|
|
|
mapbox_time "compile_tests" \
|
|
make xtest -j${JOBS} BUILDTYPE=${BUILDTYPE}
|