docs/releasing: build test the scons/mingw build
authorEmil Velikov <emil.velikov@collabora.com>
Wed, 1 Feb 2017 08:42:14 +0000 (08:42 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 16 Feb 2017 15:17:51 +0000 (15:17 +0000)
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@collabora.com>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
docs/releasing.html

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