linux icon indicating copy to clipboard operation
linux copied to clipboard

ci: add buildroot dependencies to install list

Open ozan956 opened this issue 1 month ago • 2 comments

ozan956 avatar Nov 26 '25 10:11 ozan956

Built this on my machine as philip/linux rather than adi/linux, copied it to one of the build machines, created a service file to test it and it looks good so far:

https://github.com/analogdevicesinc/br2-external/actions/runs/19715596206/job/56556778405

Interestingly the --cups=4 results in all 20 cores at 20% and 1.2-2 GHz.

pamolloy avatar Nov 27 '25 14:11 pamolloy

We need to figure out a way to better handle building the kernel with GCC 13. Even if repos have different Containerfiles. I had to do the following and then created images names adi/buildroot for now that I deployed to the build machines.

diff --git a/container/install-compilers.sh b/container/install-compilers.sh
index 80a846c1100c7..3893da174bee5 100644
--- a/container/install-compilers.sh
+++ b/container/install-compilers.sh
@@ -11,6 +11,3 @@ zypper install -y --no-recommends \
     cross-arm-gcc13 \
     cross-aarch64-gcc13 \
     sparse coccinelle ocaml ocaml-findlib cppcheck python313 python313-pip python313-devel
-
-update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-13 50
-update-alternatives --install /usr/bin/cpp cpp /usr/bin/cpp-13 50

pamolloy avatar Dec 01 '25 15:12 pamolloy