From f9959ca92efbf0dcf032cd335b285c9d61c7af4e Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Mon, 28 Nov 2016 17:18:06 +0000 Subject: [PATCH] docs/releasing: correctly document touch-testing I've used an ancient version of the script which did not cover: - version expansion (cd mesa-* does not work) - --enable-glx-tls - EGL and es2* testing - Vulkan and DOTA2 Signed-off-by: Emil Velikov --- docs/releasing.html | 35 +++++++++++++++++++++++++---------- 1 file changed, 25 insertions(+), 10 deletions(-) diff --git a/docs/releasing.html b/docs/releasing.html index 30ac5c8..4287953 100644 --- a/docs/releasing.html +++ b/docs/releasing.html @@ -300,11 +300,6 @@ Reason: ...

Making a new release

-* process - manual + xorg tool -+ ^^ verify -+ touch test -> glxgears/info dota2vk - -

These are the instructions for making a new Mesa release.

@@ -335,36 +330,56 @@ Here is one solution that I've been using.
 	git clean -fXd; git clean -nxd
 	read # quick cross check any outstanding files
+	export __version=`cat VERSION`
 	export __mesa_root=../
 	export __build_root=./foo
 	chmod 755 -fR $__build_root; rm -rf $__build_root
 	mkdir -p $__build_root && cd $__build_root
 
-	 $__mesa_root/autogen.sh --enable-llvm-shared-libs && make -j2 distcheck
+	$__mesa_root/autogen.sh --enable-llvm-shared-libs && make -j2 distcheck
 
 	# Build check the tarballs (scons)
-	tar -xaf mesa-*.tar.xz && cd mesa-* && scons && cd ..
+	tar -xaf mesa-$__version.tar.xz && cd mesa-$__version && scons && cd ..
 
 	# Test the automake binaries
-	tar -xaf mesa-*.tar.xz && cd mesa-*
+	rm -rf cd mesa-$__version
+	tar -xaf mesa-$__version.tar.xz && cd mesa-$__version
 	./configure \
 		--with-dri-drivers=i965,swrast \
 		--with-gallium-drivers=swrast \
+		--with-vulkan-drivers=intel \
 		--enable-llvm-shared-libs \
-		--enable-gallium-llvm
+		--enable-gallium-llvm \
+		--enable-glx-tls \
+		--enable-gbm \
+		--enable-egl \
+		--with-egl-platforms=x11,drm,wayland
 	make -j2 && DESTDIR=`pwd`/test make -j6 install
 	export LD_LIBRARY_PATH=`pwd`/test/usr/local/lib/
 	export LIBGL_DRIVERS_PATH=`pwd`/test/usr/local/lib/dri/
-	xport LIBGL_DEBUG=verbose
+	export LIBGL_DEBUG=verbose
 	glxinfo | egrep -o "Mesa.*"
 	glxgears
+	es2_info | egrep "GL_VERSION|GL_RENDERER"
+	es2gears_x11
 	export LIBGL_ALWAYS_SOFTWARE=1
 	glxinfo | egrep -o "Mesa.*|Gallium.*"
 	glxgears
+	es2_info | egrep "GL_VERSION|GL_RENDERER"
+	es2gears_x11
 	export LIBGL_ALWAYS_SOFTWARE=1
 	export GALLIUM_DRIVER=softpipe
 	glxinfo | egrep -o "Mesa.*|Gallium.*"
 	glxgears
+	es2_info | egrep "GL_VERSION|GL_RENDERER"
+	es2gears_x11
+	# Smoke test DOTA2
+	unset LD_LIBRARY_PATH
+	unset LIBGL_DRIVERS_PATH
+	unset LIBGL_DEBUG
+	unset LIBGL_ALWAYS_SOFTWARE
+	export VK_ICD_FILENAMES=`pwd`/src/intel/vulkan/dev_icd.json
+	steam steam://rungameid/570  -vconsole -vulkan
 

Update version in file VERSION

-- 2.7.4