CMake: Enable LLVM_COMPILER_JOBS on all MS IDEs. We don't support older environments...
authorNAKAMURA Takumi <geek4civic@gmail.com>
Sat, 21 Apr 2012 14:51:02 +0000 (14:51 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Sat, 21 Apr 2012 14:51:02 +0000 (14:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155285 91177308-0d34-0410-b5e6-96231b3b80d8

cmake/modules/HandleLLVMOptions.cmake

index b4b2bcd7a77f53e6a49b2d765228e2bb4b4d6ec6..d10e59a09729f3b88d368f43fa19e5b0f1c1a68e 100644 (file)
@@ -112,9 +112,7 @@ endif( CMAKE_SIZEOF_VOID_P EQUAL 8 AND NOT WIN32 )
 
 # On Win32 using MS tools, provide an option to set the number of parallel jobs
 # to use.
-if( MSVC_IDE AND ( MSVC90 OR MSVC10 ) )
-  # Only Visual Studio 2008 and 2010 officially supports /MP.
-  # Visual Studio 2005 do support it but it's experimental there.
+if( MSVC_IDE )
   set(LLVM_COMPILER_JOBS "0" CACHE STRING
     "Number of parallel compiler jobs. 0 means use all processors. Default is 0.")
   if( NOT LLVM_COMPILER_JOBS STREQUAL "1" )