Skip to content

Commit

Permalink
Merge pull request #163 from fzou1/update_llvm_version
Browse files Browse the repository at this point in the history
Update LLVM version
  • Loading branch information
fzou1 authored Aug 7, 2020
2 parents ea345a7 + 11fe109 commit 51fd5b9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ branches:

env:
global:
- LLVM_VERSION=11
- LLVM_VERSION=12
matrix:
- BUILD_TYPE=Release
- BUILD_TYPE=Debug
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ if(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
add_definitions(-DUSE_PREBUILT_LLVM)

if(NOT PREFERRED_LLVM_VERSION)
set(PREFERRED_LLVM_VERSION "11.0.0")
set(PREFERRED_LLVM_VERSION "12.0.0")
endif(NOT PREFERRED_LLVM_VERSION)
message(STATUS "Looking for LLVM version ${PREFERRED_LLVM_VERSION}")
find_package(LLVM ${PREFERRED_LLVM_VERSION} REQUIRED)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ make all -j`nproc`

##### Preferred LLVM version

By default, openclc-clang's cmake script is searching for LLVM 11.0.0. You can
By default, openclc-clang's cmake script is searching for LLVM 12.0.0. You can
override target version of LLVM by using the `PREFERRED_LLVM_VERSION` cmake
option:

Expand Down

0 comments on commit 51fd5b9

Please sign in to comment.