Thanks Dan!
The ArchSupportMCJIT() functions in
unittests/ExecutionEngine/MCJIT/MCJITTestBase.h uses "Host Triple" to
check
for compatibility. Since we cross-compile on X86, "Host Triple" for us
will
be "X86" which is a supported architecture. I tried removing it from
the
supported arch list but didn't see any effect.
I was just wondering if these tests are meant to work for any of the
cross-compiled targets. If not, then we can probably enable them only when
Host and Target Triples are same and the host architecture is in the
supported list.
Thanks,
Jyotsna
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by
The Linux Foundation
>-----Original Message-----
>From: Malea, Daniel [mailto:daniel.malea at intel.com]
>Sent: Monday, March 11, 2013 2:52 PM
>To: Jyotsna Verma; llvmdev at cs.uiuc.edu
>Subject: Re: [LLVMdev] Disabling ExecutionEngine tests for Hexagon
>
>Hi Jyotsna,
>
>Currently there's a preprocessor trick that prevents
>llvm/unittests/ExecutionEngine/MCJIT tests from running on architectures
>and operating systems that are known to fail.
>
>Specifically, check out the functions OSSupportsMCJIT() and
>ArchSupportsMCJIT() functions in
>unittests/ExecutionEngine/MCJIT/MCJITTestBase.h, and the corresponding
>macro SKIP_UNSUPPORTED_PLATFORM that is used to 'decorate' the test
>cases.
>
>I'm not sure if there's anything like that in place for JIT, but it
can
probably be>ported over unless someone has a concern with the overall approach.
>
>
>Dan
>
>From: Jyotsna Verma
><jverma at codeaurora.org<mailto:jverma at codeaurora.org>>
>Date: Monday, 11 March, 2013 2:28 PM
>To: LLVM List <llvmdev at cs.uiuc.edu<mailto:llvmdev at
cs.uiuc.edu>>
>Subject: [LLVMdev] Disabling ExecutionEngine tests for Hexagon
>
>Hi There,
>
>We want to disable all ExecutionEngine JIT/MCJIT tests
>(llvm/unittests/ExecutionEngine) for Hexagon. I have been looking into the
>test framework but haven't quite figured out how to turn them off. We
cross
>compile Hexagon on X86 and are not interested in JIT support.
>
>Thanks,
>Jyotsna
>--
>Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
>hosted by The Linux Foundation