2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-12-23 03:18:59 +00:00

make_windows_releases: build 32 bit first, build msvc first

Build in the order that is most likely to detect failures earlier.
This commit is contained in:
Jay Berkenbilt 2018-02-21 09:05:34 -05:00
parent ca0d190812
commit 3092366936
2 changed files with 10 additions and 9 deletions

View File

@ -60,7 +60,7 @@ Example:
cd /tmp cd /tmp
zip -r qpdf-external-libs-src.zip external-libs zip -r qpdf-external-libs-src.zip external-libs
``` ```
* To create Windows binary releases, extract the qpdf source distribution in Windows (MSYS2 + MSVC). From the extracted directory, extract the binary distribution of the external libraries. Run ./make_windows_releases simultaneously in 32-bit and 64-windows from there. * To create Windows binary releases, extract the qpdf source distribution in Windows (MSYS2 + MSVC). From the extracted directory, extract the binary distribution of the external libraries. Run ./make_windows_releases simultaneously in 32-bit and 64-windows from there. It may be necessary to disable antivirus software first.
* Before releasing, rebuild and test debian package. * Before releasing, rebuild and test debian package.
* Remember to copy `README-what-to-download.md` separately onto the download area. * Remember to copy `README-what-to-download.md` separately onto the download area.
* Remember to update the web page including putting new documentation in the `files` subdirectory of the website on sourceforge.net. * Remember to update the web page including putting new documentation in the `files` subdirectory of the website on sourceforge.net.

View File

@ -11,17 +11,17 @@ else
wordsize=32 wordsize=32
fi fi
if [ "$wordsize" = 32 ]; then if [ "$wordsize" = 64 ]; then
if [ ! -f win.64 ]; then if [ ! -f win.32 ]; then
echo "Waiting for win.64 to appear" echo "Waiting for win.32 to appear"
while [ ! -f win.64 ]; do while [ ! -f win.32 ]; do
sleep 5 sleep 5
done done
fi fi
else else
rm -f win.32 win.64 rm -f win.32 win.64
echo '' echo ''
echo "You may now start $0 in a 32-bit window." echo "You may now start $0 in a 64-bit window."
echo '' echo ''
sleep 5 sleep 5
fi fi
@ -33,12 +33,12 @@ PATH=$cwd/libqpdf/build:$PATH
rm -rf install-mingw$wordsize install-msvc$wordsize rm -rf install-mingw$wordsize install-msvc$wordsize
./config-mingw ./config-msvc
make -j8 make -j8
make check install make check install
make distclean make distclean
./config-msvc ./config-mingw
make -j8 make -j8
make check install make check install
make distclean make distclean
@ -49,9 +49,10 @@ set +x
echo "Finished builds for $wordsize." echo "Finished builds for $wordsize."
if [ "$wordsize" = 64 ]; then if [ "$wordsize" = 32 ]; then
echo "If not done already, rerun this in a "`expr 96 - $wordsize`"-bit environment." echo "If not done already, rerun this in a "`expr 96 - $wordsize`"-bit environment."
echo '' echo ''
else
echo 'Running "./make_windows_releases-finish".' echo 'Running "./make_windows_releases-finish".'
echo '' echo ''
./make_windows_releases-finish ./make_windows_releases-finish