[PATCH] D26483: CMake: make LLVM_OPTIMIZED_TABLEGEN friendly with LLVM_EXTERNAL_CLANG_SOURCE_DIR

Mehdi AMINI via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 9 16:24:30 PST 2016


mehdi_amini created this revision.
mehdi_amini added a reviewer: beanz.
mehdi_amini added a subscriber: llvm-commits.
Herald added a subscriber: mgorny.

This is need because of clang-tblgen


https://reviews.llvm.org/D26483

Files:
  llvm/cmake/modules/CrossCompile.cmake


Index: llvm/cmake/modules/CrossCompile.cmake
===================================================================
--- llvm/cmake/modules/CrossCompile.cmake
+++ llvm/cmake/modules/CrossCompile.cmake
@@ -45,6 +45,7 @@
         -G "${CMAKE_GENERATOR}" -DLLVM_TARGETS_TO_BUILD=${LLVM_TARGETS_TO_BUILD}
         ${CROSS_TOOLCHAIN_FLAGS_${target_name}} ${CMAKE_SOURCE_DIR}
         -DLLVM_TARGET_IS_CROSSCOMPILE_HOST=TRUE
+        -DLLVM_EXTERNAL_CLANG_SOURCE_DIR=${LLVM_EXTERNAL_CLANG_SOURCE_DIR}
       WORKING_DIRECTORY ${LLVM_${target_name}_BUILD} )
   endif(NOT IS_DIRECTORY ${LLVM_${target_name}_BUILD})
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26483.77421.patch
Type: text/x-patch
Size: 605 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161110/5923c356/attachment.bin>


More information about the llvm-commits mailing list