#!/bin/bash # Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. set -e SOURCE_DIR=/source BUILD_DIR=~/build mkdir "${BUILD_DIR}" export CCACHE_SIZE="4G" export CCACHE_COMPRESS=1 NUM_THREADS=4 cd ${BUILD_DIR} bash ${SOURCE_DIR}/bootstrap-cpp.sh ${SOURCE_DIR} ${BUILD_DIR} make -j ${NUM_THREADS} ctest3 --output-on-failure -j ${NUM_THREADS}