Skip to content

Commit

Permalink
Print instructive error message if builtin_llvm=off (fixes bug ROOT-9…
Browse files Browse the repository at this point in the history
…186)
  • Loading branch information
wiene authored and Axel-Naumann committed Jan 15, 2018
1 parent 16b0762 commit cf22dd0
Showing 1 changed file with 4 additions and 1 deletion.
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

0 comments on commit cf22dd0

Please sign in to comment.