From cafdc8a81d56e256f543294f41546ef347aa902a Mon Sep 17 00:00:00 2001 From: Alexey Sotkin Date: Tue, 28 May 2019 13:35:31 +0300 Subject: [PATCH] cmake: Upgrade to LLVM 7.1 --- .travis.yml | 3 ++- CMakeLists.txt | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 8945540fd6..b97235adbe 100644 --- a/.travis.yml +++ b/.travis.yml @@ -113,7 +113,7 @@ script: after_success: # Create tarball for deployment - if [[ "${BUILD_EXTERNAL}" == "1" && "${SHARED_LIBS}" == "ON" && "${repo_token}" != "" ]]; then - export TAG=7.0.1-1; + export TAG=7.1.0-1; export TARBALL=SPIRV-LLVM-Translator-${TAG}-${TRAVIS_OS_NAME}-${BUILD_TYPE}.zip; cd ../install && find . -print | zip -@ ${TARBALL}; fi @@ -132,6 +132,7 @@ deploy: branch: llvm_release_70 condition: ${BUILD_EXTERNAL} == 1 && ${SHARED_LIBS} == ON && ${repo_token} file: ${TARBALL} + name: Binaries linked against LLVM 7.1.0 skip_cleanup: true overwrite: false prerelease: false diff --git a/CMakeLists.txt b/CMakeLists.txt index 357f1f5ebf..fd8c176a7a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -22,7 +22,7 @@ if(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR) ) endif(LLVM_INCLUDE_TESTS) - find_package(LLVM 7.0.0 REQUIRED + find_package(LLVM 7.1 REQUIRED COMPONENTS Analysis BitReader