Perform RPi builds on balenalib/raspberrypi3-*
images and skip DISPMANX
API usage if can't be used [build wheel armv7l]
#8223
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Maintainer merge checklist
Component: xxx
label.api-deprecation
orapi-break
label.release-highlight
label to be highlighted in release notes.versionadded
,versionchanged
as needed.buster-3.7
were not working due to an incompatibility onGCLIB
.bullseye-3.9
were not working due to missing features (during the build we were manually downloading raspberry-specific libs and headers which are not available onbullseye-3.9
)Now, cross-builds are performed on
balenalib/raspberrypi3-debian-python:3.7-buster
andbalenalib/raspberrypi3-debian-python:3.9-bullseye
. That allows us to have almost the same environment which is available on a real RPi with Raspbian.Additionally, since
DISPMANX
is not available onRaspbian Bullseye
, we should check if it's usable, even if we're on an RPi. For this reason, onsetup.py
a new helper methodcheck_c_source_compiles
has been added.As
DISPMANX
is not available onRaspbian Bullseye
,vidcore_lite
support is missing on thecp39
artifact. In the future (2.3.0
?), we will need to add support forDRM
instead.Can't create window since it couldn't find matching GLX visual
).Would be nice to test the artifacts on an RPi which is attached to a display, before the final
2.2.0
release.