Skip to content

fix(mesa): Use RHEL-like feature set for cloud/server distro#16624

Merged
reubeno merged 1 commit intotomls/base/mainfrom
chrco/fix-mesa
Apr 13, 2026
Merged

fix(mesa): Use RHEL-like feature set for cloud/server distro#16624
reubeno merged 1 commit intotomls/base/mainfrom
chrco/fix-mesa

Conversation

@christopherco
Copy link
Copy Markdown
Collaborator

Set rhel=10 to disable GPU drivers and features not relevant for Azure VMs (teflon, opencl, asahi, d3d12, embedded ARM GPUs, old AMD/Intel drivers). Keeps llvmpipe, virgl, radeonsi, iris/crocus, vmware, and basic Vulkan. Replace rust-toolset (RHEL meta-package) with cargo-rpm-macros.

@christopherco christopherco marked this pull request as ready for review April 12, 2026 23:01
Copilot AI review requested due to automatic review settings April 12, 2026 23:01
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adjusts the mesa component configuration to build with a more RHEL-like feature profile suitable for Azure cloud/server environments, while ensuring Rust build dependencies remain compatible with Azure Linux packaging.

Changes:

  • Added a dedicated base/comps/mesa/mesa.comp.toml to define rhel=10 at build time and apply an overlay to swap rust-toolset for cargo-rpm-macros.
  • Removed the bare [components.mesa] entry from base/comps/components.toml now that mesa has per-component customization.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
base/comps/mesa/mesa.comp.toml Introduces mesa-specific build macro defines and a spec overlay for Rust BuildRequires compatibility.
base/comps/components.toml Removes the inline mesa component entry to avoid duplication now that a dedicated .comp.toml exists.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Set rhel=10 to disable GPU drivers and features not relevant for Azure
VMs (teflon, opencl, asahi, d3d12, embedded ARM GPUs, old AMD/Intel
drivers). Keeps llvmpipe, virgl, radeonsi, iris/crocus, vmware, and
basic Vulkan. Replace rust-toolset (RHEL meta-package) with
cargo-rpm-macros.
@reubeno reubeno merged commit d714daf into tomls/base/main Apr 13, 2026
5 checks passed
@reubeno reubeno deleted the chrco/fix-mesa branch April 13, 2026 04:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants