|
| From: | Markus Mützel |
| Subject: | [Octave-bug-tracker] [bug #58689] [MXE Octave] Update mesa to use meson as (native) build tool |
| Date: | Thu, 9 Jul 2020 15:36:01 -0400 (EDT) |
| User-agent: | Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36 Edg/83.0.478.58 |
Update of bug #58689 (project octave):
Status: In Progress => Need Info
_______________________________________________________
Follow-up Comment #18:
I tried to update LLVM to the latest version (10.0.0) but I could figure out
how to get it to cross compile.
So I opted for a smaller update from 6.0.1 to 7.0.0.
Good thing is that the host triplet in that version is correctly set to the
cross target for the native version of llvm-config. However, the configure
flags are still incorrectly set.
I added a horrible patch that hard codes the settings we have in our make rule
into llvm-config.
With that hack, I was able to compile (and finally also link) mesa built with
meson.
Is there a way to have a patch only apply for mingw targets?
I'm attaching the two patches.
I still haven't tried a native build. But I hope we'll be able to use the same
build rule.
I don't know how to tread USE_SYSTEM_OPENGL. Why do we need mesa if not for
the software OpenGL driver?
(file #49454, file #49455)
_______________________________________________________
Additional Item Attachment:
File name: llvm.7.0.0.patch Size:5 KB
<https://savannah.gnu.org/file/llvm.7.0.0.patch?file_id=49454>
File name: mesa_meson_v2.patch Size:6 KB
<https://savannah.gnu.org/file/mesa_meson_v2.patch?file_id=49455>
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?58689>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |