Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Disable rebuilding unnecessarily when git HEAD changes.
Currently LLVM LTO and other parts depend on the git HEAD file
because they pull in the current git revision (and should update
when the git revision changes). This is causing some unnecessary
rebuilding everytime someone is touching his git HEAD file.

This commit is disabling this in future LLVM versions by setting
the appropriate flag in LLVM to OFF (doesn't do a lot by now
as we first need to get this revision in the ROOT llvm version
https://reviews.llvm.org/D35377).
  • Loading branch information
Teemperor committed Jul 26, 2017
commit db2e772abbc576b4642c3ee9a538ad51ce3565a0
3 changes: 3 additions & 0 deletions interpreter/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,9 @@ set(CLANG_ENABLE_FORMAT OFF CACHE BOOL "")
#---Remove the inherited include_directories()
set_directory_properties(PROPERTIES INCLUDE_DIRECTORIES "")

#---Disable VCS writing to prevent that we always have to rebuild when someone touched the git HEAD
set(LLVM_APPEND_VC_REV OFF CACHE BOOL "Disabled LLVM revision dependency" FORCE)

#---Add the sub-directory excluding all the targets from all-----------------------------------------
if(CMAKE_GENERATOR MATCHES "Xcode")
add_subdirectory(llvm/src)
Expand Down