Skip to content

Commit 6e1ddf6

Browse files
committed
Merging r155285:
------------------------------------------------------------------------ r155285 | chapuni | 2012-04-21 07:51:02 -0700 (Sat, 21 Apr 2012) | 1 line 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/branches/release_31@155335 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 2652bc9 commit 6e1ddf6

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

cmake/modules/HandleLLVMOptions.cmake

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,7 @@ endif( CMAKE_SIZEOF_VOID_P EQUAL 8 AND NOT WIN32 )
112112

113113
# On Win32 using MS tools, provide an option to set the number of parallel jobs
114114
# to use.
115-
if( MSVC_IDE AND ( MSVC90 OR MSVC10 ) )
116-
# Only Visual Studio 2008 and 2010 officially supports /MP.
117-
# Visual Studio 2005 do support it but it's experimental there.
115+
if( MSVC_IDE )
118116
set(LLVM_COMPILER_JOBS "0" CACHE STRING
119117
"Number of parallel compiler jobs. 0 means use all processors. Default is 0.")
120118
if( NOT LLVM_COMPILER_JOBS STREQUAL "1" )

0 commit comments

Comments
 (0)