1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 02:52:53 +02:00

Use pre-python 2.5 syntax in lit.cfg.

Author:    Quentin Neill <qneill@codeaurora.org>
llvm-svn: 166217
This commit is contained in:
Sebastian Pop 2012-10-18 19:58:28 +00:00
parent 2e267f64cb
commit 324f8ad699

View File

@ -152,7 +152,10 @@ config.target_triple += lit.valgrindTriple
# Provide a substition for those tests that need to run the jit to obtain data
# but simply want use the currently considered most reliable jit for platform
defaultIsMCJIT='true' if 'arm' in config.target_triple else 'false'
if 'arm' in config.target_triple:
defaultIsMCJIT = 'true'
else:
defaultIsMCJIT = 'false'
config.substitutions.append( ('%defaultjit', '-use-mcjit='+defaultIsMCJIT) )
# Process jit implementation option