Le mardi 23 septembre 2014, 16:23:03 Tom Stellard a écrit : > LLVM commit r218316 removes the JITMemoryManager class, which is > the parent for a seemingly important class in gallivm. In order to > fix the build, I've wrapped most of lp_bld_misc.cpp in > if HAVE_LLVM < 0x0306 and modifyed the > lp_build_create_jit_compiler_for_module() function to return false > for 3.6 and newer which effectively disables the gallivm functionality. > > I realize this is overkill, but I could not come up with a simple > solution to fix the build. Also, since 3.6 will be the first release > without the old JIT, it would be really great if we could > move gallivm to use the C API only for accessing MCJIT. There > is still time before the 3.6 release to extend the C API in > case it is missing some functionality that is required by gallivm.
This fix isn't enough:
make[4]: Entering directory '/build/mesa-git/src/mesa/src/gallium/auxiliary'
GEN indices/u_indices_gen.c
GEN indices/u_unfilled_gen.c
GEN util/u_format_table.c
CC draw/draw_llvm.lo
CC draw/draw_llvm_sample.lo
CC draw/draw_vs_llvm.lo
CC draw/draw_pt_fetch_shade_pipeline_llvm.lo
CXX gallivm/lp_bld_debug.lo
CXX gallivm/lp_bld_misc.lo
gallivm/lp_bld_misc.cpp:58:51: fatal error:
llvm/ExecutionEngine/JITMemoryManager.h: No such file or directory
#include <llvm/ExecutionEngine/JITMemoryManager.h>
^
compilation terminated.
Makefile:1705: recipe for target 'gallivm/lp_bld_misc.lo' failed
--
Laurent Carlier
http://www.archlinux.org
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ mesa-dev mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-dev
