r199150 - Teach the standalone Clang CMake bits about the flag to force using an

Chandler Carruth chandlerc at gmail.com
Mon Jan 13 14:22:25 PST 2014


Author: chandlerc
Date: Mon Jan 13 16:22:24 2014
New Revision: 199150

URL: http://llvm.org/viewvc/llvm-project?rev=199150&view=rev
Log:
Teach the standalone Clang CMake bits about the flag to force using an
old toolchain to build. The toolchain version is now checked in
HandleLLVMOptions.

Modified:
    cfe/trunk/CMakeLists.txt

Modified: cfe/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/CMakeLists.txt?rev=199150&r1=199149&r2=199150&view=diff
==============================================================================
--- cfe/trunk/CMakeLists.txt (original)
+++ cfe/trunk/CMakeLists.txt Mon Jan 13 16:22:24 2014
@@ -71,6 +71,9 @@ if( CMAKE_SOURCE_DIR STREQUAL CMAKE_CURR
 
   option(LLVM_INSTALL_TOOLCHAIN_ONLY "Only include toolchain files in the 'install' target." OFF)
 
+  option(LLVM_FORCE_USE_OLD_HOST_TOOLCHAIN
+         "Set to ON to force using an old, unsupported host toolchain." OFF)
+
   include(AddLLVM)
   include(TableGen)
   include(HandleLLVMOptions)





More information about the cfe-commits mailing list