From 942c4daac9ab1538c6a15e582c3acb22c4e98c55 Mon Sep 17 00:00:00 2001
From: Erik Faye-Lund
- See /proc/cpuinfo to know what your CPU supports.
+ See /proc/cpuinfo
to know what your CPU supports.
For Windows you will need to build LLVM from source with MSVC or MINGW
- (either natively or through cross compilers) and CMake, and set the LLVM
- environment variable to the directory you installed it to.
+ (either natively or through cross compilers) and CMake, and set the
+ LLVM
environment variable to the directory you installed
+ it to.
LLVM will be statically linked, so when building on MSVC it needs to be
built with a matching CRT as Mesa, and you'll need to pass
@@ -103,8 +104,8 @@ It's the fastest software rasterizer for Mesa.
- You can build only the x86 target by passing -DLLVM_TARGETS_TO_BUILD=X86
- to cmake.
+ You can build only the x86 target by passing
+ -DLLVM_TARGETS_TO_BUILD=X86
to cmake.
On Linux, building will create a drop-in alternative for libGL.so into
+On Linux, building will create a drop-in alternative for
+libGL.so
into
build/foo/gallium/targets/libgl-xlib/libGL.so @@ -153,10 +155,12 @@ or lib/gallium/libGL.so-
To use it set the LD_LIBRARY_PATH environment variable accordingly.
+To use it set the LD_LIBRARY_PATH
environment variable
+accordingly.
For performance evaluation pass build=release to scons, and use the corresponding -lib directory without the "-debug" suffix.
+For performance evaluation pass build=release
to scons,
+and use the corresponding lib directory without the -debug
+suffix.
copy build/windows-x86-debug/gallium/targets/libgl-gdi/opengl32.dll to C:\Windows\SysWOW64\mesadrv.dll
copy build/windows-x86-debug/gallium/targets/libgl-gdi/opengl32.dll
+ to C:\Windows\SysWOW64\mesadrv.dll
+
load this registry settings:
REGEDIT4
@@ -220,10 +226,11 @@ On Linux, it is possible to have symbol resolution of JIT code with src/gallium/auxiliary/gallivm/. The filenames and function
+ prefixes need to be renamed from lp_bld_
to something else
+ though.
llvm-c/Core.h
file for
+ reference.