[Mesa-dev] [PATCH 1/4] docs: add instructions to specify LLVM version for basic testing

Andres Gomez agomez at igalia.com
Sat Jul 8 19:59:38 UTC 2017


The "Perform basic testing" section provides some instructions to do
so. We add now some comments in order to use a recent enough LLVM
version to test the distcheck and the automake generated binaries.

Signed-off-by: Andres Gomez <agomez at igalia.com>
---
 docs/releasing.html | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/docs/releasing.html b/docs/releasing.html
index 99707bee3f..ceb6e365e4 100644
--- a/docs/releasing.html
+++ b/docs/releasing.html
@@ -437,6 +437,8 @@ Here is one solution that I've been using.
 	chmod 755 -fR $__build_root; rm -rf $__build_root
 	mkdir -p $__build_root && cd $__build_root
 
+	# For the distcheck, you may want to specify which LLVM to use:
+	# export LLVM_CONFIG=/usr/lib/llvm-3.9/bin/llvm-config
 	$__mesa_root/autogen.sh && make -j2 distcheck
 
 	# Build check the tarballs (scons, linux)
@@ -445,18 +447,22 @@ Here is one solution that I've been using.
 	cd .. && rm -rf mesa-$__version
 
 	# Build check the tarballs (scons, windows/mingw)
+	# You may need to unset LLVM if you set it before:
+	# unset LLVM_CONFIG
 	tar -xaf mesa-$__version.tar.xz && cd mesa-$__version
 	scons platform=windows toolchain=crossmingw
 	cd .. && rm -rf mesa-$__version
 
 	# Test the automake binaries
 	tar -xaf mesa-$__version.tar.xz && cd mesa-$__version
+	# You may want to specify which LLVM to use:
 	./configure \
 		--with-dri-drivers=i965,swrast \
 		--with-gallium-drivers=swrast \
 		--with-vulkan-drivers=intel \
 		--enable-llvm-shared-libs \
 		--enable-llvm \
+		--with-llvm-prefix=/usr/lib/llvm-3.9 \
 		--enable-glx-tls \
 		--enable-gbm \
 		--enable-egl \
-- 
2.11.0



More information about the mesa-dev mailing list