I built Mesa 10.4 with LLVM 3.5 today and I had to make a couple of fixes to 
get it to work:


  1.  root\src\mesa\compiler.h

After:

#include "c99_compat.h" /* inline, __func__, etc. */

Add:

#ifdef _MSC_VER
#define __attribute__(a)
#endif

Otherwise you get a compile error in 
root\build\windows-x86_64\mesa\program\program_parse.tab.c

  2.  root\scons\llvm.py

Add 'LLVMBitReader' to libs list (i.e. 'LLVMBitWriter', 'LLVMBitReader', 
'LLVMX86Disassembler', ...)

Otherwise you get a linker error on opengl32.dll


Rob Conde
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to