From b510464f04f429492ddbf077f48e89e108adfc3c Mon Sep 17 00:00:00 2001 From: Gregory Lee Date: Wed, 28 Apr 2021 09:22:00 -0700 Subject: mesa: fix build with upstream patch (#23302) --- var/spack/repos/builtin/packages/mesa/package.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'var') diff --git a/var/spack/repos/builtin/packages/mesa/package.py b/var/spack/repos/builtin/packages/mesa/package.py index f38e9ea2de..8115d75be3 100644 --- a/var/spack/repos/builtin/packages/mesa/package.py +++ b/var/spack/repos/builtin/packages/mesa/package.py @@ -92,6 +92,9 @@ class Mesa(MesonPackage): # OpenGL ES requires OpenGL conflicts('~opengl +opengles') + # requires native to be added to llvm_modules when using gallium swrast + patch('https://cgit.freedesktop.org/mesa/mesa/patch/meson.build?id=054dd668a69acc70d47c73abe4646e96a1f23577', sha256='36096a178070e40217945e12d542dfe80016cb897284a01114d616656c577d73', when='@21.0.0:21.0.3') + # 'auto' needed when shared llvm is built @when('^llvm~shared_libs') def patch(self): -- cgit v1.2.3-70-g09d2