Re: [Mesa-dev] [EXTERNAL] Cross-compile from Linux to Windows

2020-11-09 Thread Jesse Natalie
What version of Mesa are you trying to build? Assuming you're using a version newer than 19.3 (with this change https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/986), the default LLVM discovery should be to use CMake. That means it looks for an installed LLVM in the CMake search dirs.

Re: [Mesa-dev] [EXTERNAL] Cross-compile from Linux to Windows

2020-11-09 Thread Jesse Natalie
Have you tried using Meson on Windows, instead of cross-compiling? If you run it from a Visual Studio command prompt, it should just work out of the box, at least for x86. I believe you'll need to use a cross file for amd64, but the only thing you'd need to specify is the host architecture. Tho

Re: [Mesa-dev] Cross-compile from Linux to Windows

2020-11-09 Thread Eric Anholt
On Mon, Nov 9, 2020 at 2:19 AM Federico Dossena wrote: > > I'm sorry to bother you in the dev list but it seems to be the only one > with activity so it seems like the best place to ask. > > I maintain some Mesa builds for Windows. These are builds of libgl-gdi > with llvmpipe, for both x86 and x8

[Mesa-dev] Cross-compile from Linux to Windows

2020-11-09 Thread Federico Dossena
I'm sorry to bother you in the dev list but it seems to be the only one with activity so it seems like the best place to ask. I maintain some Mesa builds for Windows. These are builds of libgl-gdi with llvmpipe, for both x86 and x86_64; in other words, they're opengl32.dll files that users can