Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Print instructive error message if builtin_llvm=off #1509

Merged
merged 1 commit into from Jan 15, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 4 additions & 1 deletion cmake/modules/SearchInstalledSoftware.cmake
Expand Up @@ -988,7 +988,10 @@ if(cling)
${CMAKE_BINARY_DIR}/interpreter/llvm/src/tools/clang/include)
set(LLVM_LIBRARIES clangDriver clangFrontend)
else()
find_package(LLVM REQUIRED) # should define the same variables LLVM_XXXX
# Temporarily comment out the following line (see https://root-forum.cern.ch/t/build-root6-without-builtin-llvm/18950/2)
# and replace it by an instructive error message
# find_package(LLVM REQUIRED) # should define the same variables LLVM_XXXX
message(FATAL_ERROR "Due to ROOT-specific patches not yet in upstream LLVM, builtin_llvm=on is currently required to build ROOT")
endif()

set(CLING_INCLUDE_DIRS ${CMAKE_SOURCE_DIR}/interpreter/cling/include)
Expand Down