[llvm-dev] modification on lnt to recognize new architecture

Chris Matthews via llvm-dev llvm-dev at lists.llvm.org
Wed Dec 11 11:13:30 PST 2019


I am surprised that anyone is still using nt.py.  Have you tried using test-suite.py instead?  That will allow you to pass custom cmake arguments through to the test suite.

> On Dec 11, 2019, at 12:00 AM, MARUKAWA KAZUSHI(丸川 一志) via llvm-dev <llvm-dev at lists.llvm.org> wrote:
> 
> Hi,
> 
> I have a question regarding to lnt.  We are working on NEC SX-Aurora Vector Engine and
> preparing for upstreaming it on https://reviews.llvm.org/D69103 and following reviews.
> 
> We are running llvm-test-suite to check our modifications often.  To run this test suite,
> we need to specify our architecture to lnt and make program running under lnt to handle
> a few special cases.  In order to do so, we have very simple patch like below.
> 
> My question is where should I send this patch to make it merge with lnt
> (https://github.com/llvm/llvm-lnt)?  I checked lists.llvm.org mailing lists,
> but it is not clear to me.  Thanks in advance.
> 
> -----------
> diff --git a/lnt/tests/nt.py b/lnt/tests/nt.py
> index 4ce6647..ce37687 100644
> --- a/lnt/tests/nt.py
> +++ b/lnt/tests/nt.py
> @@ -420,6 +420,8 @@ class TestConfiguration(object):
>                 llvm_arch = 'Sparc'
>             elif arch in ('mips', 'mipsel', 'mips64', 'mips64el'):
>                 llvm_arch = 'Mips'
> +            elif arch in ('ve'):
> +                llvm_arch = 'VE'
> 
>         if llvm_arch is not None:
>             make_variables['ARCH'] = llvm_arch
> -----------
> 
> Regards,
> -- Kazushi
> 
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3637 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20191211/04d44c61/attachment.bin>


More information about the llvm-dev mailing list