@@ -20,39 +20,28 @@ environment:
2020
2121 # 32/64-bit MinGW builds.
2222 #
23- # The MinGW builds unfortunately have to both download a custom toolchain and
24- # avoid the one installed by AppVeyor by default. Interestingly, though, for
25- # different reasons!
23+ # We are using MinGW with posix threads since LLVM does not compile with
24+ # the win32 threads version due to missing support for C++'s std::thread.
2625 #
27- # For 32-bit the installed gcc toolchain on AppVeyor uses the pthread
28- # threading model. This is unfortunately not what we want, and if we compile
29- # with it then there's lots of link errors in the standard library (undefined
30- # references to pthread symbols).
31- #
32- # For 64-bit the installed gcc toolchain is currently 5.3.0 which
33- # unfortunately segfaults on Windows with --enable-llvm-assertions (segfaults
34- # in LLVM). See rust-lang/rust#28445 for more information, but to work around
35- # this we go back in time to 4.9.2 specifically.
26+ # Instead of relying on the MinGW version installed on appveryor we download
27+ # and install one ourselves so we won't be surprised by changes to appveyor's
28+ # build image.
3629 #
3730 # Finally, note that the downloads below are all in the `rust-lang-ci` S3
3831 # bucket, but they cleraly didn't originate there! The downloads originally
3932 # came from the mingw-w64 SourceForge download site. Unfortunately
4033 # SourceForge is notoriously flaky, so we mirror it on our own infrastructure.
41- #
42- # And as a final point of note, the 32-bit MinGW build using the makefiles do
43- # *not* use debug assertions and llvm assertions. This is because they take
44- # too long on appveyor and this is tested by rustbuild below.
4534 - MSYS_BITS : 32
4635 RUST_CONFIGURE_ARGS : --build=i686-pc-windows-gnu --enable-ninja
4736 SCRIPT : python x.py test
4837 MINGW_URL : https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror
49- MINGW_ARCHIVE : i686-6.2.0-release-win32 -dwarf-rt_v5-rev1.7z
38+ MINGW_ARCHIVE : i686-6.2.0-release-posix -dwarf-rt_v5-rev1.7z
5039 MINGW_DIR : mingw32
5140 - MSYS_BITS : 64
5241 SCRIPT : python x.py test
5342 RUST_CONFIGURE_ARGS : --build=x86_64-pc-windows-gnu --enable-ninja
5443 MINGW_URL : https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror
55- MINGW_ARCHIVE : x86_64-6.2.0-release-win32 -seh-rt_v5-rev1.7z
44+ MINGW_ARCHIVE : x86_64-6.2.0-release-posix -seh-rt_v5-rev1.7z
5645 MINGW_DIR : mingw64
5746
5847 # 32/64 bit MSVC and GNU deployment
@@ -71,14 +60,14 @@ environment:
7160 RUST_CONFIGURE_ARGS : --build=i686-pc-windows-gnu --enable-extended --enable-ninja
7261 SCRIPT : python x.py dist
7362 MINGW_URL : https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror
74- MINGW_ARCHIVE : i686-6.2.0-release-win32 -dwarf-rt_v5-rev1.7z
63+ MINGW_ARCHIVE : i686-6.2.0-release-posix -dwarf-rt_v5-rev1.7z
7564 MINGW_DIR : mingw32
7665 DEPLOY : 1
7766 - MSYS_BITS : 64
7867 SCRIPT : python x.py dist
7968 RUST_CONFIGURE_ARGS : --build=x86_64-pc-windows-gnu --enable-extended --enable-ninja
8069 MINGW_URL : https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror
81- MINGW_ARCHIVE : x86_64-6.2.0-release-win32 -seh-rt_v5-rev1.7z
70+ MINGW_ARCHIVE : x86_64-6.2.0-release-posix -seh-rt_v5-rev1.7z
8271 MINGW_DIR : mingw64
8372 DEPLOY : 1
8473
0 commit comments