[llvm-commits] [llvm] r168316 - in /llvm/trunk/test/ExecutionEngine: MCJIT/lit.local.cfg lit.local.cfg

NAKAMURA Takumi geek4civic at gmail.com
Mon Nov 19 20:45:55 PST 2012


It broke ppc32-linux (f12 ps3).

http://bb.pgr.jp/builders/clang-ppc-linux/builds/693

2012/11/20 Ulrich Weigand <ulrich.weigand at de.ibm.com>:
> Author: uweigand
> Date: Mon Nov 19 11:57:07 2012
> New Revision: 168316
>
> URL: http://llvm.org/viewvc/llvm-project?rev=168316&view=rev
> Log:
> Enable MCJIT tests on PowerPC.
> Disable old JIT tests on PowerPC.
>
> Modified:
>     llvm/trunk/test/ExecutionEngine/MCJIT/lit.local.cfg
>     llvm/trunk/test/ExecutionEngine/lit.local.cfg
>
> Modified: llvm/trunk/test/ExecutionEngine/MCJIT/lit.local.cfg
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/ExecutionEngine/MCJIT/lit.local.cfg?rev=168316&r1=168315&r2=168316&view=diff
> ==============================================================================
> --- llvm/trunk/test/ExecutionEngine/MCJIT/lit.local.cfg (original)
> +++ llvm/trunk/test/ExecutionEngine/MCJIT/lit.local.cfg Mon Nov 19 11:57:07 2012
> @@ -8,12 +8,13 @@
>  root = getRoot(config)
>
>  targets = set(root.targets_to_build.split())
> -if ('X86' in targets) | ('ARM' in targets) | ('Mips' in targets):
> +if ('X86' in targets) | ('ARM' in targets) | ('Mips' in targets) | \
> +   ('PowerPC' in targets):
>      config.unsupported = False
>  else:
>      config.unsupported = True
>
> -if root.host_arch not in ['x86', 'x86_64', 'ARM', 'Mips']:
> +if root.host_arch not in ['x86', 'x86_64', 'ARM', 'Mips', 'PowerPC']:
>      config.unsupported = True
>
>  if root.host_os in ['Darwin']:
>
> Modified: llvm/trunk/test/ExecutionEngine/lit.local.cfg
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/ExecutionEngine/lit.local.cfg?rev=168316&r1=168315&r2=168316&view=diff
> ==============================================================================
> --- llvm/trunk/test/ExecutionEngine/lit.local.cfg (original)
> +++ llvm/trunk/test/ExecutionEngine/lit.local.cfg Mon Nov 19 11:57:07 2012
> @@ -1 +1,12 @@
>  config.suffixes = ['.ll', '.c', '.cpp']
> +
> +def getRoot(config):
> +    if not config.parent:
> +        return config
> +    return getRoot(config.parent)
> +
> +root = getRoot(config)
> +
> +if root.host_arch in ['PowerPC']:
> +    config.unsupported = True
> +
>
>
> _______________________________________________
> 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