Add also other architecture(s) to CI build (AARCH64, ARMv7)
It would be nice if the CI process also builds different architectures, I'm thinking about Armv7 and AARCH64.
I will drop a PR tomorrow...
Great idea Please see my changes to support aarch64 as follows: https://github.com/asafravid/ovs/commit/8c441a55ca0333b56609f3d60830088ee5e4986f
As well as: https://github.com/asafravid/p4-dpdk-target/commit/6d9126f13891026b4046105fe208783ae1c1e35f
Iām also working on aarch64 so would be great to cooperate and collaborate Let me know if you have any questions
@asafravid You where on my list!! š Just got the generic script code working in the ipdk cli (building different platform architectures and running different platform architectures) but because docker buildx is using qemu emulation it is terribly slow to test if it works. As @mestery said, we need to split up the build process to make IPDK (CI) building usable.... š¢
Another option we thought of is to auto-detect the architecture via uname -m (yields x86_64 or aarch64 respectively for x86 or arm64) so as to simplify that
Both options of course can work together with the cli (if provided option) overrules the auto-detect (for instance)
I think we should look at using OCI's free tier of ARM runners, which integrate with GitHub Actions: https://blogs.oracle.com/cloud-infrastructure/post/announcing-github-actions-arm-runners-for-the-arm-compute-platform-on-oracle-cloud-infrastructure
Let me see if I can get ipdk.io a free OCI account to try out the arm runners.
See also https://github.com/ipdk-io/ovs/pull/20 which is required for aarch64
@mestery I have a free OCI account for myself now but the ARM64 hosts are full in the Amsterdam DC... š Already trying to start up a runner for my own org for 5 days now but every time I get a "Out of host capacity" error message, really bad capacity planning š Hopefully Oracle expands the capacity soon...
Well, I figured that might be the case in terms of limited availability. Thanks for checking at least!
@mestery I've got a OCI ARM64 based Github runner working for my own org now. Took some time for Oracle to add extra capacity š Will try to build a IPDK ARM64 package version somewhere today...