-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #497 from mapbox/llvm-6.x
llvm 6.x / current unreleased HEAD
- Loading branch information
Showing
17 changed files
with
224 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
language: generic | ||
|
||
matrix: | ||
include: | ||
- os: osx | ||
- os: linux | ||
sudo: false | ||
|
||
script: | ||
- ./mason build ${MASON_NAME} ${MASON_VERSION} | ||
- ./mason publish ${MASON_NAME} ${MASON_VERSION} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/usr/bin/env bash | ||
|
||
# dynamically determine the path to this package | ||
HERE="$( cd "$( dirname "${BASH_SOURCE[0]}" )" > /dev/null && pwd )" | ||
|
||
# dynamically take name of package from directory | ||
MASON_NAME=$(basename $(dirname $HERE)) | ||
# dynamically take the version of the package from directory | ||
MASON_VERSION=$(basename $HERE) | ||
MASON_LIB_FILE=bin/${MASON_NAME} | ||
|
||
. ${MASON_DIR}/mason.sh | ||
|
||
# inherit all functions from base | ||
source ${HERE}/../../${MASON_NAME}/base/common.sh | ||
|
||
mason_run "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
language: generic | ||
|
||
matrix: | ||
include: | ||
- os: osx | ||
- os: linux | ||
sudo: false | ||
|
||
script: | ||
- ./mason build ${MASON_NAME} ${MASON_VERSION} | ||
- ./mason publish ${MASON_NAME} ${MASON_VERSION} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/usr/bin/env bash | ||
|
||
# dynamically determine the path to this package | ||
HERE="$( cd "$( dirname "${BASH_SOURCE[0]}" )" > /dev/null && pwd )" | ||
|
||
# dynamically take name of package from directory | ||
MASON_NAME=$(basename $(dirname $HERE)) | ||
# dynamically take the version of the package from directory | ||
MASON_VERSION=$(basename $HERE) | ||
MASON_LIB_FILE=bin/${MASON_NAME} | ||
|
||
. ${MASON_DIR}/mason.sh | ||
|
||
# inherit all functions from base | ||
source ${HERE}/../../${MASON_NAME}/base/common.sh | ||
|
||
mason_run "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
language: generic | ||
|
||
matrix: | ||
include: | ||
- os: osx | ||
- os: linux | ||
sudo: false | ||
|
||
script: | ||
- ./mason build ${MASON_NAME} ${MASON_VERSION} | ||
- ./mason publish ${MASON_NAME} ${MASON_VERSION} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/usr/bin/env bash | ||
|
||
# dynamically determine the path to this package | ||
HERE="$( cd "$( dirname "${BASH_SOURCE[0]}" )" > /dev/null && pwd )" | ||
|
||
# dynamically take name of package from directory | ||
MASON_NAME=$(basename $(dirname $HERE)) | ||
# dynamically take the version of the package from directory | ||
MASON_VERSION=$(basename $HERE) | ||
MASON_LIB_FILE=bin/${MASON_NAME} | ||
|
||
. ${MASON_DIR}/mason.sh | ||
|
||
# inherit all functions from base | ||
source ${HERE}/../../${MASON_NAME}/base/common.sh | ||
|
||
mason_run "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
language: generic | ||
|
||
matrix: | ||
include: | ||
- os: osx | ||
- os: linux | ||
sudo: false | ||
|
||
script: | ||
- ./mason build ${MASON_NAME} ${MASON_VERSION} | ||
- ./mason publish ${MASON_NAME} ${MASON_VERSION} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/usr/bin/env bash | ||
|
||
# dynamically determine the path to this package | ||
HERE="$( cd "$( dirname "${BASH_SOURCE[0]}" )" > /dev/null && pwd )" | ||
|
||
# dynamically take name of package from directory | ||
MASON_NAME=$(basename $(dirname $HERE)) | ||
# dynamically take the version of the package from directory | ||
MASON_VERSION=$(basename $HERE) | ||
MASON_LIB_FILE=bin/${MASON_NAME} | ||
|
||
. ${MASON_DIR}/mason.sh | ||
|
||
# inherit all functions from base | ||
source ${HERE}/../../${MASON_NAME}/base/common.sh | ||
|
||
mason_run "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
language: generic | ||
|
||
matrix: | ||
include: | ||
- os: osx | ||
- os: linux | ||
sudo: false | ||
|
||
script: | ||
- ./mason build ${MASON_NAME} ${MASON_VERSION} | ||
- ./mason publish ${MASON_NAME} ${MASON_VERSION} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/usr/bin/env bash | ||
|
||
# dynamically determine the path to this package | ||
HERE="$( cd "$( dirname "${BASH_SOURCE[0]}" )" > /dev/null && pwd )" | ||
|
||
# dynamically take name of package from directory | ||
MASON_NAME=$(basename $(dirname $HERE)) | ||
# dynamically take the version of the package from directory | ||
MASON_VERSION=$(basename $HERE) | ||
MASON_LIB_FILE=bin/${MASON_NAME} | ||
|
||
. ${MASON_DIR}/mason.sh | ||
|
||
# inherit all functions from base | ||
source ${HERE}/../../${MASON_NAME}/base/common.sh | ||
|
||
mason_run "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
language: generic | ||
|
||
matrix: | ||
include: | ||
- os: osx | ||
- os: linux | ||
sudo: false | ||
|
||
script: | ||
- ./mason build ${MASON_NAME} ${MASON_VERSION} | ||
- ./mason publish ${MASON_NAME} ${MASON_VERSION} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/usr/bin/env bash | ||
|
||
# dynamically determine the path to this package | ||
HERE="$( cd "$( dirname "${BASH_SOURCE[0]}" )" > /dev/null && pwd )" | ||
|
||
# dynamically take name of package from directory | ||
MASON_NAME=$(basename $(dirname $HERE)) | ||
# dynamically take the version of the package from directory | ||
MASON_VERSION=$(basename $HERE) | ||
MASON_LIB_FILE=bin/${MASON_NAME} | ||
|
||
. ${MASON_DIR}/mason.sh | ||
|
||
# inherit all functions from base | ||
source ${HERE}/../../${MASON_NAME}/base/common.sh | ||
|
||
mason_run "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
language: generic | ||
|
||
script: | ||
- echo "nothing to do since travis cannot compile something as large as llvm" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
### llvm v4.x | ||
|
||
Development package of llvm git head |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#!/usr/bin/env bash | ||
|
||
# dynamically determine the path to this package | ||
HERE="$( cd "$( dirname "${BASH_SOURCE[0]}" )" > /dev/null && pwd )" | ||
# dynamically take name of package from directory | ||
MASON_NAME=$(basename $(dirname $HERE)) | ||
# dynamically take the version of the package from directory | ||
MASON_VERSION=$(basename $HERE) | ||
# inherit all functions from llvm base | ||
source ${HERE}/../../${MASON_NAME}/base/common.sh | ||
|
||
function setup_release() { | ||
get_llvm_project "http://llvm.org/git/llvm.git" ${MASON_BUILD_PATH} | ||
get_llvm_project "http://llvm.org/git/clang.git" ${MASON_BUILD_PATH}/tools/clang | ||
get_llvm_project "http://llvm.org/git/compiler-rt.git" ${MASON_BUILD_PATH}/projects/compiler-rt | ||
if [[ ${BUILD_AND_LINK_LIBCXX} == true ]]; then | ||
get_llvm_project "http://llvm.org/git/libcxx.git" ${MASON_BUILD_PATH}/projects/libcxx | ||
get_llvm_project "http://llvm.org/git/libcxxabi.git" ${MASON_BUILD_PATH}/projects/libcxxabi | ||
get_llvm_project "http://llvm.org/git/libunwind.git" ${MASON_BUILD_PATH}/projects/libunwind | ||
fi | ||
get_llvm_project "http://llvm.org/git/lld.git" ${MASON_BUILD_PATH}/tools/lld | ||
get_llvm_project "http://llvm.org/git/clang-tools-extra.git" ${MASON_BUILD_PATH}/tools/clang/tools/extra | ||
get_llvm_project "http://llvm.org/git/lldb.git" ${MASON_BUILD_PATH}/tools/lldb | ||
get_llvm_project "https://github.com/include-what-you-use/include-what-you-use.git" ${MASON_BUILD_PATH}/tools/clang/tools/include-what-you-use | ||
} | ||
|
||
mason_run "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters