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
+16
View File
@@ -0,0 +1,16 @@
language: cpp
sudo: false
compiler: clang
matrix:
include:
- os: osx
- os: linux
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=parallel
MASON_VERSION=20160422
MASON_LIB_FILE=bin/parallel
. ${MASON_DIR}/mason.sh
function mason_load_source {
mason_download \
http://ftp.gnu.org/gnu/${MASON_NAME}/${MASON_NAME}-${MASON_VERSION}.tar.bz2 \
032c35aaecc65aa1298b33c48f0a4418041771e4
mason_extract_tar_bz2
export MASON_BUILD_PATH=${MASON_ROOT}/.build/${MASON_NAME}-${MASON_VERSION}
}
function mason_compile {
./configure --prefix=${MASON_PREFIX} \
--disable-dependency-tracking
make -j${MASON_CONCURRENCY}
make install
}
function mason_clean {
make clean
}
mason_run "$@"