[dpdk-dev] [PATCH] test/ring: fix long compilation time

Aaron Conole aconole at redhat.com
Fri May 1 14:56:58 CEST 2020


Aaron Conole <aconole at redhat.com> writes:

> Honnappa Nagarahalli <honnappa.nagarahalli at arm.com> writes:
>
>> test_ring.c takes lot of time to compile with clang. It is
>> reproducable with compiler version 8.0 on Ubuntu 18.04.
>> Amount of testing is reduced, but attempt is made to keep
>> the same coverage.
>>
>> Reported-by: Aaron Conole <aconole at redhat.com>
>> Reported-by: Thomas Monjalon <thomas at monjalon.net>
>> Signed-off-by: Honnappa Nagarahalli <honnappa.nagarahalli at arm.com>
>> Reviewed-by: Ruifeng Wang <ruifeng.wang at arm.com>
>> ---
>
> Thanks, Honnappa!
>
> One thing to note, I don't see this with just clang - it occurs with gcc
> as well.  I'm going to test this patch today.

Sorry I forgot to send the reply.  This got me further in my work, so
I'm happy with it from that perspective.

BUT, it still did take a bit longer with this version than with
Konstantin's patch.  I have no opinion which is the more "technically
correct" version.



More information about the dev mailing list