[PATCH] D60711: Removed CMake cache upgrade code from 2011

Dmitri Gribenko via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 16 02:44:18 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL358482: Removed CMake cache upgrade code from 2011 (authored by gribozavr, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D60711?vs=195184&id=195342#toc

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D60711/new/

https://reviews.llvm.org/D60711

Files:
  llvm/trunk/cmake/modules/TableGen.cmake


Index: llvm/trunk/cmake/modules/TableGen.cmake
===================================================================
--- llvm/trunk/cmake/modules/TableGen.cmake
+++ llvm/trunk/cmake/modules/TableGen.cmake
@@ -119,15 +119,6 @@
   set(${project}_TABLEGEN "${target}" CACHE
       STRING "Native TableGen executable. Saves building one when cross-compiling.")
 
-  # Upgrade existing LLVM_TABLEGEN setting.
-  if(${project} STREQUAL LLVM)
-    if(${LLVM_TABLEGEN} STREQUAL tblgen)
-      set(LLVM_TABLEGEN "${target}" CACHE
-          STRING "Native TableGen executable. Saves building one when cross-compiling."
-          FORCE)
-    endif()
-  endif()
-
   # Effective tblgen executable to be used:
   set(${project}_TABLEGEN_EXE ${${project}_TABLEGEN} PARENT_SCOPE)
   set(${project}_TABLEGEN_TARGET ${${project}_TABLEGEN} PARENT_SCOPE)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D60711.195342.patch
Type: text/x-patch
Size: 836 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190416/c4a54c17/attachment.bin>


More information about the llvm-commits mailing list