[llvm-commits] [llvm] r155285 - /llvm/trunk/cmake/modules/HandleLLVMOptions.cmake

Bill Wendling isanbard at gmail.com
Sun Apr 22 23:47:42 PDT 2012


Done. Thanks!

-bw

On Apr 22, 2012, at 6:09 PM, NAKAMURA Takumi wrote:

> Bill, please pick up r155284 and r155285.
> They enable parallel build on vs11b.
> 
> 
> 2012/4/21 NAKAMURA Takumi <geek4civic at gmail.com>:
>> Author: chapuni
>> Date: Sat Apr 21 09:51:02 2012
>> New Revision: 155285
>> 
>> URL: http://llvm.org/viewvc/llvm-project?rev=155285&view=rev
>> Log:
>> CMake: Enable LLVM_COMPILER_JOBS on all MS IDEs. We don't support older environments than VS9.
>> 
>> Modified:
>>    llvm/trunk/cmake/modules/HandleLLVMOptions.cmake
>> 
>> Modified: llvm/trunk/cmake/modules/HandleLLVMOptions.cmake
>> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/cmake/modules/HandleLLVMOptions.cmake?rev=155285&r1=155284&r2=155285&view=diff
>> ==============================================================================
>> --- llvm/trunk/cmake/modules/HandleLLVMOptions.cmake (original)
>> +++ llvm/trunk/cmake/modules/HandleLLVMOptions.cmake Sat Apr 21 09:51:02 2012
>> @@ -112,9 +112,7 @@
>> 
>>  # 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" )
>> 
>> 
>> _______________________________________________
>> llvm-commits mailing list
>> llvm-commits at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits





More information about the llvm-commits mailing list