ci: add fragment to perform builds without OpenGL and OpenCL#2552
Merged
Dmitry Baryshkov (lumag) merged 6 commits intoJun 25, 2026
Conversation
Contributor
Author
e2e447f to
d92a23a
Compare
Neither libgbm nor msm-gbm-backend are available without the 'opengl' DISTRO_FEATURE being enabled. Guard these dependies with the proper conditional. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Providing the packages without backing DISTRO_FEATUREs is bad, because
the dependencies might also be not available. For example, building the
Vulkan or EGL ICDs without the 'opengl' DISTRO_FEATURE results in the
broken dependencies. Guard all the packages with the DISTRO_FEATURE
checkes and remove libraries from '${D}' if they are not to be packaged.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
The libvulkan_adreno.so.1 library uses gbm / msm-gbm-backend under the hood. Make sure that we don't depend on the libraries which are not available. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
The weston-examples package is available only if the distro has the 'opengl' feature enabled. Guard it with the corresponding feature check. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
The pipewire is a part of meta-multimedia (rather than meta-openembedded). Move it to a separate variable to be used only when the multimedia layer is enabled. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
There are recipes (like CamX) which have hidden dependencies on OpenGL and OpenCL. Verify that those recipes don't break the build for the GL-less distributions. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
d92a23a to
a9e58a0
Compare
Test Results 105 files ±0 634 suites ±0 5h 47m 58s ⏱️ - 8m 5s Results for commit a9e58a0. ± Comparison against base commit a5b2d1e. This pull request removes 4 tests.♻️ This comment has been updated with latest results. |
Ricardo Salveti (ricardosalveti)
approved these changes
Jun 23, 2026
1 similar comment
Koen Kooi (koenkooi)
approved these changes
Jun 24, 2026
Contributor
Author
|
Performing a build / test at https://github.com/qualcomm-linux/meta-qcom/actions/runs/28100270448 |
Ricardo Salveti (ricardosalveti)
approved these changes
Jun 24, 2026
Ricardo Salveti (ricardosalveti)
left a comment
Contributor
There was a problem hiding this comment.
This will probably require a manual backport.
Contributor
Author
|
The build was successful, merging. |
8b0ab77
into
qualcomm-linux:master
255 checks passed
Contributor
|
Git push to origin failed for wrynose with exitcode 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
There are recipes (like CamX) which have hidden dependencies on OpenGL and OpenCL. Verify that those recipes don't break the build for the GL-less distributions.