summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Lee <lee218@llnl.gov>2021-04-28 09:22:00 -0700
committerGitHub <noreply@github.com>2021-04-28 16:22:00 +0000
commitb510464f04f429492ddbf077f48e89e108adfc3c (patch)
tree23d8ad2545fc215aa4b457378ba08b570839e297
parentd5b3d075d244fc2bf03a62c158a57f1e5927747c (diff)
downloadspack-b510464f04f429492ddbf077f48e89e108adfc3c.tar.gz
spack-b510464f04f429492ddbf077f48e89e108adfc3c.tar.bz2
spack-b510464f04f429492ddbf077f48e89e108adfc3c.tar.xz
spack-b510464f04f429492ddbf077f48e89e108adfc3c.zip
mesa: fix build with upstream patch (#23302)
-rw-r--r--var/spack/repos/builtin/packages/mesa/package.py3
1 files changed, 3 insertions, 0 deletions
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):