[LLVMdev] Setting number of lit threads with make check

David Tweed david.tweed at arm.com
Thu Jan 17 02:06:51 PST 2013


What I've seen somewhere and been using is

make check-all 'LIT_ARGS=-v -j4'

I think that does work reliably since the -v gets passed through, though
I've never checked that the 4 processes I see aren't because I've got a 4
core machine rather than due to the -j4...

Hope this helps,
Dave

-----Original Message-----
From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On
Behalf Of Redmond, Paul
Sent: 16 January 2013 19:39
To: llvmdev at cs.uiuc.edu
Subject: [LLVMdev] Setting number of lit threads with make check

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