[llvm-commits] [llvm] r146467 - /llvm/trunk/CMakeLists.txt

Chandler Carruth chandlerc at gmail.com
Mon Dec 12 18:19:11 PST 2011


Author: chandlerc
Date: Mon Dec 12 20:19:11 2011
New Revision: 146467

URL: http://llvm.org/viewvc/llvm-project?rev=146467&view=rev
Log:
Don't default the *cached* list of targets to build to an explicit list
of the targets we know about. Because this is cached, rebuilds won't
detect when new targets show up. It's also a bit simpler to just say
"all". If users want to restrict the target set, they can still do so,
and then the cache will preserve what they have explicitly set this
field to.

Modified:
    llvm/trunk/CMakeLists.txt

Modified: llvm/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/CMakeLists.txt?rev=146467&r1=146466&r2=146467&view=diff
==============================================================================
--- llvm/trunk/CMakeLists.txt (original)
+++ llvm/trunk/CMakeLists.txt Mon Dec 12 20:19:11 2011
@@ -90,7 +90,7 @@
   set(LLVM_TARGETS_TO_BUILD X86
     CACHE STRING "Semicolon-separated list of targets to build, or \"all\".")
 else( MSVC )
-  set(LLVM_TARGETS_TO_BUILD ${LLVM_ALL_TARGETS}
+  set(LLVM_TARGETS_TO_BUILD "all"
     CACHE STRING "Semicolon-separated list of targets to build, or \"all\".")
 endif( MSVC )
 





More information about the llvm-commits mailing list