-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Update chip-build-crosscompile docker to point to the latest version #39942
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update chip-build-crosscompile docker to point to the latest version #39942
Conversation
…of sysroot Signed-off-by: Raveendra Karu <r.karu@samsung.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review
This pull request updates the sysroot version in the chip-build-crosscompile
Dockerfile to include new development packages. My review identified a likely typo in the new version string which could prevent the Docker image from building correctly. I've provided a suggestion to fix it.
integrations/docker/images/stage-1/chip-build-crosscompile/Dockerfile
Outdated
Show resolved
Hide resolved
Signed-off-by: Raveendra Karu <r.karu@samsung.com>
PR #39942: Size comparison from 6602c2e to 821c30e Full report (72 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
Summary
For cross compiling of camera-app, following dev package configs needed:
ffmpeg
libavformat
libavutil
libavcodec
libcurl
In cross‑builds the target(arm64) development packages—headers, .pc files and libs—have to live in the sysroot, not on the host.
We have already update the sysroot to contain ffmpeg, curl dev packages, docker should point to the new version
Referred: #39497
Testing
Build new docker.
docker run -it -v ~/connectedhomeip:/var/connectedhomeip ghcr.io/project-chip/chip-build-crosscompile:latest /bin/bash
ls /opt/ubuntu-24.04-aarch64-sysroot/usr/lib/aarch64-linux-gnu/pkgconfig |
grep -Ei "avformat|avcodec|avutil|curl"