Skip to content

Commit 7fe7e15

Browse files
committed
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 llvm-svn: 358482
1 parent bef588c commit 7fe7e15

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

llvm/cmake/modules/TableGen.cmake

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -119,15 +119,6 @@ macro(add_tablegen target project)
119119
set(${project}_TABLEGEN "${target}" CACHE
120120
STRING "Native TableGen executable. Saves building one when cross-compiling.")
121121

122-
# Upgrade existing LLVM_TABLEGEN setting.
123-
if(${project} STREQUAL LLVM)
124-
if(${LLVM_TABLEGEN} STREQUAL tblgen)
125-
set(LLVM_TABLEGEN "${target}" CACHE
126-
STRING "Native TableGen executable. Saves building one when cross-compiling."
127-
FORCE)
128-
endif()
129-
endif()
130-
131122
# Effective tblgen executable to be used:
132123
set(${project}_TABLEGEN_EXE ${${project}_TABLEGEN} PARENT_SCOPE)
133124
set(${project}_TABLEGEN_TARGET ${${project}_TABLEGEN} PARENT_SCOPE)

0 commit comments

Comments
 (0)