Skip to content

ci: add fragment to perform builds without OpenGL and OpenCL#2552

Merged
Dmitry Baryshkov (lumag) merged 6 commits into
qualcomm-linux:masterfrom
lumag:check-nogl
Jun 25, 2026
Merged

ci: add fragment to perform builds without OpenGL and OpenCL#2552
Dmitry Baryshkov (lumag) merged 6 commits into
qualcomm-linux:masterfrom
lumag:check-nogl

Conversation

@lumag

Copy link
Copy Markdown
Contributor

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.

@lumag

Dmitry Baryshkov (lumag) commented Jun 19, 2026

Copy link
Copy Markdown
Contributor Author

Comment thread ci/test-oe-nogl.yml
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>
@github-actions

Copy link
Copy Markdown

Test run workflow

Test jobs for commit a9e58a0

nodistro
Pass: 9 | Fail: 0 | Total: 9
qcom-distro_linux-qcom-6.18
Pass: 177 | Fail: 0 | Total: 214
qcom-distro
Pass: 9 | Fail: 1 | Total: 10

@test-reporting-app

test-reporting-app Bot commented Jun 23, 2026

Copy link
Copy Markdown

Test Results

  105 files  ±0    634 suites  ±0   5h 47m 58s ⏱️ - 8m 5s
  125 tests  - 4    125 ✅ +16   0 💤 ±0  0 ❌  - 20 
6 036 runs  +3  5 951 ✅ +24  85 💤 +4  0 ❌  - 25 

Results for commit a9e58a0. ± Comparison against base commit a5b2d1e.

This pull request removes 4 tests.
lava ‑ auto-login-action
lava ‑ lava-test-retry
lava ‑ lava-test-shell
lava ‑ minimal-boot

♻️ This comment has been updated with latest results.

@github-actions

Copy link
Copy Markdown

Test run workflow

Test jobs for commit a9e58a0

nodistro
Pass: 9 | Fail: 0 | Total: 9
qcom-distro_linux-qcom-6.18
Pass: 207 | Fail: 1 | Total: 250
qcom-distro
Pass: 252 | Fail: 1 | Total: 292

1 similar comment
@github-actions

Copy link
Copy Markdown

Test run workflow

Test jobs for commit a9e58a0

nodistro
Pass: 9 | Fail: 0 | Total: 9
qcom-distro_linux-qcom-6.18
Pass: 207 | Fail: 1 | Total: 250
qcom-distro
Pass: 252 | Fail: 1 | Total: 292

@lumag

Copy link
Copy Markdown
Contributor Author

@github-actions

Copy link
Copy Markdown

Test run workflow

Test jobs for commit a9e58a0

nodistro
Pass: 9 | Fail: 0 | Total: 9
qcom-distro_linux-qcom-6.18
Pass: 207 | Fail: 1 | Total: 250
qcom-distro
Pass: 252 | Fail: 1 | Total: 292

@github-actions

Copy link
Copy Markdown

Test run workflow

Test jobs for commit a9e58a0

nodistro
Pass: 9 | Fail: 0 | Total: 9
qcom-distro_linux-qcom-6.18
Pass: 207 | Fail: 1 | Total: 250
qcom-distro
Pass: 253 | Fail: 1 | Total: 297

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will probably require a manual backport.

@lumag

Copy link
Copy Markdown
Contributor Author

The build was successful, merging.

@lumag Dmitry Baryshkov (lumag) merged commit 8b0ab77 into qualcomm-linux:master Jun 25, 2026
255 checks passed
@lumag Dmitry Baryshkov (lumag) deleted the check-nogl branch June 25, 2026 04:49
@quic-yocto-ci

Copy link
Copy Markdown
Contributor

Git push to origin failed for wrynose with exitcode 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants