Commit da80abe6 authored by Jaikrishnan Menon's avatar Jaikrishnan Menon

CMake: Allow externally-specified LLVM binaries

parent 62428c3f
......@@ -29,6 +29,11 @@ if(NOT LLVM_FOUND)
message(STATUS "Fetching LLVM from llvm.org")
set(LLVM_RELEASE_URL http://releases.llvm.org/5.0.0/clang+llvm-5.0.0-linux-x86_64-ubuntu16.04.tar.xz)
# Override default LLVM binaries
if(PREBUILT_LLVM)
set(LLVM_RELEASE_URL ${PREBUILT_LLVM})
endif()
# The 'BUILD_BYPRODUCTS' argument was introduced in CMake 3.2.
if(${CMAKE_VERSION} VERSION_LESS 3.2)
ExternalProject_Add(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment