diff --git a/var/spack/repos/builtin/packages/mesa/package.py b/var/spack/repos/builtin/packages/mesa/package.py index 00ce444b82..ca3ea2bb24 100644 --- a/var/spack/repos/builtin/packages/mesa/package.py +++ b/var/spack/repos/builtin/packages/mesa/package.py @@ -83,6 +83,12 @@ class Mesa(MesonPackage): # OpenGL ES requires OpenGL conflicts('~opengl +opengles') + def patch(self): + filter_file( + r"_llvm_method = 'auto'", + "_llvm_method = 'config-tool'", + "meson.build") + def meson_args(self): spec = self.spec args = [