[Mesa-dev] Meson-windows v4 (9/21/2018 rebase): LLVM linking problems
Liviu Prodea
liviuprodea at yahoo.com
Tue Oct 2 15:08:41 UTC 2018
Made a comprehensive test of this patch series and I still stumbled upon some big problems:
1. Automatic LLVM linking via llvm-config if used by adding LLVM bin folder to PATH results in build failure with 'llvm-c/Core.h' not found inĀ src/gallium/auxiliary/gallivm/lp_bld.h. Appveyor CI from https://ci.appveyor.com/project/dcbaker/mesa didn't encounter this as it is using llvm-wrap option.
2. Even if build succeeds with LLVM linked via llvm-wrap and everything looking good at first glance, llvmpipe and swr if it was built cannot be selected. GALLIUM_DRIVER variable has no effect. You only get softpipe despite opengl32.dll file looking big enough and swrAVX-0.dll and swrAVX2-0,dll being generated when expected. Even when having LLVM built dynamically to avoid /MD to /MT override warnings and building Mesa3D with default c_args and cpp_args this issue is still in effect.
3. Meson 0.48.0 doesn't pass the /MT or /MTd c_args and cpp_args for some unexplained reasons which leads to build failure if LLVM is not built with /MD.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20181002/1e7ed18b/attachment-0001.html>
More information about the mesa-dev
mailing list