[dpdk-dev] time for compiling test_ring.c

Thomas Monjalon thomas at monjalon.net
Wed Apr 22 10:12:18 CEST 2020


22/04/2020 07:11, Honnappa Nagarahalli:
> > > 22/04/2020 02:05, Honnappa Nagarahalli:
> > > > 22/04/2020 02:00, Thomas Monjalon:
> > > > > I don't want know why and when, but it seems the file test_ring.c
> > > > > became very long to compile, especially with clang.
> > > >
> > > > What is the compiler version? Is this on master?
> > >
> > > clang 9.0.1 compiling DPDK master.
> > I think, it is the compiler. The issues were observed with clang-7 during the last
> > release. Clang-8 worked fine. Still, test_ring.c was re-worked to compile in
> > shorter time. Looks like things are back to broken in 9.0.1.
> I am able to reproduce, need sometime to come up with a fix.

OK thank you.
Note that I was not asking for a fix ;-)


> > > > Any info on test_ring_perf.c?
> > >
> > > This one looks slow to compile as well.
> > >
> > > > > I have no solution to shorten the compilation time, so I propose
> > > > > to rename test_ring.c to test_patien.ce.
> > > > > Disclosure: I am failing this test :-(
> > >
> > > The object file takes 5 to 11MB.
> > > I don't know how much this test is magic, but I hope it does a lot
> > > more than this 256B program:
> > > https://www.youtube.com/watch?v=Imquk_3oFf4





More information about the dev mailing list