Skip to content

mesa: apply patch to fix gallium-xa detection#237265

Closed
ghost wants to merge 1 commit intostagingfrom
unknown repository
Closed

mesa: apply patch to fix gallium-xa detection#237265
ghost wants to merge 1 commit intostagingfrom
unknown repository

Conversation

@ghost
Copy link
Copy Markdown

@ghost ghost commented Jun 11, 2023

Description of changes

This commit applies a patch submitted upstream that allows mesa's meson to set gallium-xa automatically depending on (a large number of) other features' enablement/disablement.

https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23581

In order to get mesa to do this detection for us, we must use mesonAutoFeatures="auto" for mesa; otherwise it cannot distinguish between auto and enabled.

Without this commit, mesa does not make it past the configurePhase on powerpc64le.

Things done
  • Built on platform(s)
    • x86_64-linux
    • powerpc64le-linux
    • aarch64-linux (in progress)
  • Fits CONTRIBUTING.md.

This commit applies a patch submitted upstream that allows mesa's
meson to set `gallium-xa` automatically depending on (a large number
of) other features' enablement/disablement.

  https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23581

In order to get mesa to do this detection for us, we must use
`mesonAutoFeatures="auto"` for mesa; otherwise it cannot distinguish
between `auto` and `enabled`.

Without this commit, mesa does not make it past the configurePhase
on powerpc64le.
@ofborg ofborg bot requested review from primeos and vcunat June 11, 2023 23:45
@ofborg ofborg bot added 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 501-1000 This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 1001-2500 This PR causes many rebuilds on Linux and should target the staging branches. labels Jun 11, 2023
@ghost ghost marked this pull request as draft June 12, 2023 00:18
@ghost ghost changed the base branch from master to staging June 12, 2023 00:19
@ghost ghost marked this pull request as ready for review June 12, 2023 00:19
@ghost ghost marked this pull request as draft October 22, 2023 07:06
@ghost ghost closed this Jan 23, 2024
@ghost ghost deleted the pr/mesa/fix-powerpc branch January 23, 2024 06:49
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 501-1000 This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 1001-2500 This PR causes many rebuilds on Linux and should target the staging branches.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants