[LLVMdev] Setting number of lit threads with make check

Redmond, Paul paul.redmond at intel.com
Wed Jan 16 15:59:11 PST 2013


Thanks.

I discovered it's different for cmake builds. You have to use cmake
-DLLVM_LIT_ARGS="..." instead.

Paul

On 2013-01-16 3:43 PM, "Will Dietz" <willdtz at gmail.com> wrote:

>Try:
>
>make check-all LIT_ARGS="-s -j10"
>
>To limit the threads to 10, for example.
>
>On Wed, Jan 16, 2013 at 1:38 PM, Redmond, Paul <paul.redmond at intel.com>
>wrote:
>> Hi,
>>
>> Does anyone know how I can set the number of threads lit uses when
>>invoked by make check? Lit has the ‹threads argument but this doesn't
>>get set when run through make so it uses the max number of cpus.
>>
>> paul
>>
>> _______________________________________________
>> LLVM Developers mailing list
>> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev





More information about the llvm-dev mailing list