llvm.org GIT mirror llvm / 7c29aa7
Removed CMake cache upgrade code from 2011 Summary: This code was added in r141266 to make a breaking change to CMake, but still be compatible with existing cache files. The cache files from 2011 are irrelevant today in 2019. Subscribers: mgorny, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D60711 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@358482 91177308-0d34-0410-b5e6-96231b3b80d8 Dmitri Gribenko 6 months ago
1 changed file(s) with 0 addition(s) and 9 deletion(s). Raw diff Collapse all Expand all
118118 set(${project}_TABLEGEN "${target}" CACHE
119119 STRING "Native TableGen executable. Saves building one when cross-compiling.")
121 # Upgrade existing LLVM_TABLEGEN setting.
122 if(${project} STREQUAL LLVM)
123 if(${LLVM_TABLEGEN} STREQUAL tblgen)
124 set(LLVM_TABLEGEN "${target}" CACHE
125 STRING "Native TableGen executable. Saves building one when cross-compiling."
126 FORCE)
127 endif()
128 endif()
130121 # Effective tblgen executable to be used:
131122 set(${project}_TABLEGEN_EXE ${${project}_TABLEGEN} PARENT_SCOPE)
132123 set(${project}_TABLEGEN_TARGET ${${project}_TABLEGEN} PARENT_SCOPE)