mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-07 13:09:52 +00:00
Honour --config-prefix also for lit.local.cfg.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151977 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5fa6f5bc2e
commit
61318736ee
@ -456,9 +456,10 @@ def main(builtinParameters = {}): # Bump the GIL check interval, its more imp
|
|||||||
parser.error('No inputs specified')
|
parser.error('No inputs specified')
|
||||||
|
|
||||||
if opts.configPrefix is not None:
|
if opts.configPrefix is not None:
|
||||||
global gConfigName, gSiteConfigName
|
global gConfigName, gSiteConfigName, kLocalConfigName
|
||||||
gConfigName = '%s.cfg' % opts.configPrefix
|
gConfigName = '%s.cfg' % opts.configPrefix
|
||||||
gSiteConfigName = '%s.site.cfg' % opts.configPrefix
|
gSiteConfigName = '%s.site.cfg' % opts.configPrefix
|
||||||
|
kLocalConfigName = '%s.local.cfg' % opts.configPrefix
|
||||||
|
|
||||||
if opts.numThreads is None:
|
if opts.numThreads is None:
|
||||||
# Python <2.5 has a race condition causing lit to always fail with numThreads>1
|
# Python <2.5 has a race condition causing lit to always fail with numThreads>1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user