diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2012-04-21 14:51:02 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2012-04-21 14:51:02 +0000 |
commit | 4a80d641948f245ef16cbe482d24f3a404b23270 (patch) | |
tree | 3d002644f9031ef707977d84d2ef14f7513a6247 /cmake/modules | |
parent | 5bfe3bf8d1fc37b6a10ce295195810a2cd9fe43d (diff) | |
download | external_llvm-4a80d641948f245ef16cbe482d24f3a404b23270.zip external_llvm-4a80d641948f245ef16cbe482d24f3a404b23270.tar.gz external_llvm-4a80d641948f245ef16cbe482d24f3a404b23270.tar.bz2 |
CMake: Enable LLVM_COMPILER_JOBS on all MS IDEs. We don't support older environments than VS9.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155285 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake/modules')
-rw-r--r-- | cmake/modules/HandleLLVMOptions.cmake | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/cmake/modules/HandleLLVMOptions.cmake b/cmake/modules/HandleLLVMOptions.cmake index b4b2bcd..d10e59a 100644 --- a/cmake/modules/HandleLLVMOptions.cmake +++ b/cmake/modules/HandleLLVMOptions.cmake @@ -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" ) |