[Mesa-dev] [PATCH 1/6] docs/releasing: build test the scons/mingw build

Emil Velikov emil.l.velikov at gmail.com
Mon Feb 13 13:42:18 UTC 2017


From: Emil Velikov <emil.velikov at collabora.com>

We had multiple cases in the past where files used only by the
Scons/MinGW/Windows build were missing.

Avoid such instances and add a step to catch them early.

Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
 docs/releasing.html | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/docs/releasing.html b/docs/releasing.html
index 09ef4ac89c..ec1baee094 100644
--- a/docs/releasing.html
+++ b/docs/releasing.html
@@ -343,11 +343,17 @@ Here is one solution that I've been using.
 
 	$__mesa_root/autogen.sh --enable-llvm-shared-libs && make -j2 distcheck
 
-	# Build check the tarballs (scons)
-	tar -xaf mesa-$__version.tar.xz && cd mesa-$__version && scons && cd ..
+	# Build check the tarballs (scons, linux)
+	tar -xaf mesa-$__version.tar.xz && cd mesa-$__version
+	scons
+	cd .. && rm -rf mesa-$__version
+
+	# Build check the tarballs (scons, windows/mingw)
+	tar -xaf mesa-$__version.tar.xz && cd mesa-$__version
+	scons platform=windows toolchain=crossmingw
+	cd .. && rm -rf mesa-$__version
 
 	# Test the automake binaries
-	rm -rf mesa-$__version
 	tar -xaf mesa-$__version.tar.xz && cd mesa-$__version
 	./configure \
 		--with-dri-drivers=i965,swrast \
-- 
2.11.0



More information about the mesa-dev mailing list