https://llvm.org/viewvc/llvm-project?view=revision&revision=348827 In llvm/clang commit 348827 CodeGenOptions were moved from Frontend to Basic . This breaks building mesa-git with opencl support.
Created attachment 142791 [details] [review] fix
(In reply to Yurii Kolesnykov from comment #1) > Created attachment 142791 [details] [review] [review] > fix Have you tested the patch with LLVM-7? It looks like it would fail the build.
I stumbled across this issue as well and didn't check the bug tracker but immediately prepared [0]. That patch should fix this problem without leaving older LLVM versions out in the cold. [0] <https://patchwork.freedesktop.org/patch/268295/>
Fixed in e4f9a37ace750646fd75fbbdff9b5e77a0b26cfb. clover: Fix build after clang r348827 CodeGenOptions were moved to Basic.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.