Skip to content

Commit

Permalink
Merge pull request #179421 from Homebrew/mesa-drivers
Browse files Browse the repository at this point in the history
mesa: only specify drivers on Intel CPU for Linux
  • Loading branch information
carlocab authored Aug 4, 2024
2 parents 0e3dfcf + 762356e commit 8c404e1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Formula/m/mesa.rb
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@ def install
args += %w[
-Ddri3=enabled
-Degl=enabled
-Dgallium-drivers=r300,r600,radeonsi,nouveau,virgl,svga,swrast,i915,iris,crocus,zink
-Dgallium-extra-hud=true
-Dgallium-nine=true
-Dgallium-omx=disabled
Expand All @@ -154,6 +153,9 @@ def install
-Dvulkan-drivers=amd,intel,intel_hasvk,swrast,virtio
-Dvulkan-layers=device-select,intel-nullhw,overlay
]
if Hardware::CPU.intel?
args << "-Dgallium-drivers=r300,r600,radeonsi,nouveau,virgl,svga,swrast,i915,iris,crocus,zink"
end
end

system "meson", "setup", "build", *args, *std_meson_args
Expand Down

0 comments on commit 8c404e1

Please sign in to comment.