openwrt / packages

Community maintained packages for OpenWrt. Documentation for submitting pull requests is in CONTRIBUTING.md
GNU General Public License v2.0
3.94k stars 3.45k forks source link

github-workflow: add clang for xdp-support? #14754

Open PolynomialDivision opened 3 years ago

PolynomialDivision commented 3 years ago

As you maybe already noticed, some people are working on XDP Support in OpenWrt.

As loader we currently have:

Here are some hacky OpenWrt examples from me:

Soon, there will be some OpenWrt tutorial. Further, I highly recommend XDP-Tutorial. As u can see in the WIP xdp-tools, everything just fails, since I use clang to cross-compile.

*** ERROR: Cannot find tool clang

Can we add clang to the workflow to have support for packages that want to make use of xdp?

PolynomialDivision commented 3 years ago

https://github.com/openwrt/docker/pull/77

neheb commented 3 years ago

OTOH the OpenWrt buildbot do not have clang AFAIK.

PolynomialDivision commented 3 years ago

OTOH the OpenWrt buildbot do not have clang AFAIK.

I wanted to add it, but then suddely I had no free time to work on it anymore. :/ But I will continue! :)