You can build for x86 or x86_64, just open the appropriate command
prompt, meson should properly detect whether you're using an x86 or an
x86_64 toolchain.
Quoting Jesse Natalie (2020-11-09 07:06:31)
> Have you tried using Meson on Windows, instead of cross-compiling? If you run
> it from a Visua
cmake_prefix_path isn't like pkg_config_path, it expects to find an
installed prefix, on linux it expects to see something like
path_to_prefix/usr/{lib,bin}.
Dylan
Quoting Federico Dossena (2020-11-09 07:33:58)
> Thank you for your reply.
>
> That's where I got stuck on Windows, I can't get it t
Thank you for your reply.
That's where I got stuck on Windows, I can't get it to find LLVM.
I built LLVM without problems for both x86 and x86_64 in 2 separate
folders, but when I try to build mesa, even with --cmake-prefix-path, it
doesn't find it, it always say "Neither a subproject director
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.
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