-
Notifications
You must be signed in to change notification settings - Fork 744
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SYCL] Sync with 23c581c8c2be4cdc51b9b234ca4a77e9ac49cde8 SPIRV trans…
…lator commit Signed-off-by: Vladimir Lazarev <[email protected]>
- Loading branch information
1 parent
5c80a26
commit 02f6d68
Showing
69 changed files
with
1,340 additions
and
942 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 |
---|---|---|
|
@@ -21,10 +21,10 @@ addons: | |
key_url: 'https://apt.llvm.org/llvm-snapshot.gpg.key' | ||
- ubuntu-toolchain-r-test | ||
packages: | ||
- llvm-8-tools | ||
- llvm-8-dev | ||
- clang-format-8 | ||
- clang-tidy-8 | ||
- llvm-9-tools | ||
- llvm-9-dev | ||
- clang-format-9 | ||
- clang-tidy-9 | ||
|
||
compiler: | ||
- gcc | ||
|
@@ -80,7 +80,7 @@ script: | |
-DCMAKE_BUILD_TYPE=${BUILD_TYPE} \ | ||
-DBUILD_SHARED_LIBS=${SHARED_LIBS} \ | ||
-DLLVM_BUILD_TOOLS=ON \ | ||
-DLLVM_EXTERNAL_LIT="/usr/lib/llvm-8/build/utils/lit/lit.py" \ | ||
-DLLVM_EXTERNAL_LIT="/usr/lib/llvm-9/build/utils/lit/lit.py" \ | ||
-DLLVM_INCLUDE_TESTS=ON \ | ||
-DCMAKE_INSTALL_PREFIX=../install/ \ | ||
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON \ | ||
|
@@ -99,7 +99,7 @@ script: | |
fi | ||
- if [ $CHECK_FORMAT == "1" ]; then | ||
cd ..; | ||
ln -s /usr/share/clang/clang-format-8/clang-format-diff.py utils/; | ||
ln -s /usr/share/clang/clang-format-9/clang-format-diff.py utils/; | ||
./utils/check_code_format.sh; | ||
elif [ $CHECK_TIDY == "1" ]; then | ||
cd ..; | ||
|
@@ -112,16 +112,19 @@ script: | |
after_success: | ||
# Create tarball for deployment | ||
- if [[ "${BUILD_EXTERNAL}" == "1" && "${SHARED_LIBS}" == "ON" && "${repo_token}" != "" ]]; then | ||
export TARBALL=SPIRV-LLVM-Translator-$(date +%F)-${TRAVIS_OS_NAME}-${BUILD_TYPE}.zip; | ||
cd ../install && find . -print | zip -@ ${TARBALL}; | ||
export TAG=dev-build; | ||
export TARBALL=SPIRV-LLVM-Translator-${TAG}-${TRAVIS_OS_NAME}-${BUILD_TYPE}.zip; | ||
cd ../install; | ||
echo ${TRAVIS_COMMIT} > version.txt; | ||
find . -print | zip -@ ${TARBALL}; | ||
fi | ||
|
||
before_deploy: | ||
# Tag the current master top of the tree as "latest". | ||
# Travis CI relies on the tag name to push to the correct release. | ||
- git config --global user.name "Travis CI" | ||
- git config --global user.email "[email protected]" | ||
- git tag -f latest_build | ||
- git tag -f ${TAG} | ||
- git push -f https://${repo_token}@github.com/${TRAVIS_REPO_SLUG} --tags | ||
|
||
deploy: | ||
|
@@ -131,6 +134,7 @@ deploy: | |
branch: master | ||
condition: ${BUILD_EXTERNAL} == 1 && ${SHARED_LIBS} == ON && ${repo_token} | ||
file: ${TARBALL} | ||
name: Latest development build $(date -u +'%F %R %Z') | ||
skip_cleanup: true | ||
overwrite: true | ||
prerelease: true |
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
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
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
Oops, something went wrong.