[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#49794] [PATCH core-updates-frozen] fix mesa-opencl and mesa-opencl-
From: |
John Kehayias |
Subject: |
[bug#49794] [PATCH core-updates-frozen] fix mesa-opencl and mesa-opencl-icd build failure |
Date: |
Sat, 31 Jul 2021 18:08:28 +0000 |
Hello,
Attached is a patch to fix failures for mesa-opencl and mesa-opencl-icd
building with the update to 21.1.6 for Mesa. This is from upstream, a change in
meson.build that removed LLVM targets (for CMake users it seems) but then
breaks compilation for us on a shared library LLVM build.
https://gitlab.freedesktop.org/mesa/mesa/-/issues/4443
https://gitlab.freedesktop.org/mesa/mesa/-/issues/4302
And the commit that changed it:
https://gitlab.freedesktop.org/mesa/mesa/-/commit/80817b6e344258ac9b955f824ebf9019a0fc1610
The patch restores 'all-targets' to llvm_modules and successfully builds.
Apologies about the long line and I'm still guessing at some of the scheme
patching code. Since Mesa takes a while to build I didn't want to go through
many iterations to get the code cleaner. Please feel free to make it better,
and I would think mesa-opencl-icu should be able to inherit the patch from
mesa-opencl, but I didn't try to do that.
Thanks,
John
0001-gnu-mesa-fix-mesa-opencl-and-mesa-opencl-icd-21.1.6.patch
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug#49794] [PATCH core-updates-frozen] fix mesa-opencl and mesa-opencl-icd build failure,
John Kehayias <=