Re: Getting started guide && ./src/configure.sh

dave seddon <[email protected]> Fri, 7 Nov 2025 10:41:21 -0800
Newsgroups dev.linux.lists.xdp2
Message-ID <CANypexSRKdC4dnNC3dT9BtxOoggKx=PNr+9kuGZtgxzChHBb6w@mail.gmail.com>
G'day,

Thanks.

Please let me know if the issue with the samples is between my seat
and keyboard :)  I could easily be doing something silly

Yes, agreed automated testing is needed. - I could use some guidance
on roughly what the automated tests should do, beyond just a complete
re-compile, and running samples.

Thanks,
Dave

On Fri, Nov 7, 2025 at 7:53=E2=80=AFAM Tom Herbert <[email protected]> wr=
ote:
>
> On Thu, Nov 6, 2025 at 5:29=E2=80=AFPM dave seddon <dave.seddon.ca@gmail.=
com> wrote:
> >
> > G'day,
> >
> > I hope you are doing well
> >
> > Very exciting to see the Ultra Ethernet protocols being added!
> >
> > However, I suspect unintended "challenges" were introduced since the
> > flake.nix was added.
> >
> > Upon review, I found that actually xdp2 was no longer working on
> > ubuntu without nix.
> >
> > This pull request:
> >
> > - Adds a getting started guide ( note - sample compiles challenges pers=
ist )
> > - Adds an experimental ./src/configure.sh designed as an alternative
> > to the existing ./src/configure
> > ./src/configure creates a config.mk that works on Ubuntu ( no nix )
> > using llvm or llvm20. ( The getting started guide explains that Ubuntu
> > package naming makes supporting different llvm versions tricky.
> > configure.sh hopefully handles this correctly now. )
> > - ./src/configure.sh has extensive --debug_level 7 logging
> > - ./src/configure.sh modifies the test cpp code to support llvm 18 and =
20
> > - Updates various Makefiles to allow the make variables to be passed,
> > so -j$(nproc) works
> > - Enforces dependencies, so the builds work with -j$(nproc)
> >
> > This has been tested with ubuntu24.0.4.3 ( no nix ) using llvm and
> > llvm20, but I strongly encourage more testing
>
> Thanks Dave, I'll look at that.
>
> Also, it's clear we're going to need a nightly test suite sooner than lat=
er.
>
> Tom
>
> >
> > Happy to discuss
> >
> > I'm going to keep working on the flake.nix, because it's broken, and
> > this pull request marks the files as such
> >
> > https://github.com/xdp2-dev/xdp2/pull/11
> >
> > --
> > Regards,
> > Dave Seddon
> > +1 415 857 5102
> >



--=20
Regards,
Dave Seddon
+1 415 857 5102