From 8acfe9306568559eab8a655bc22e032c27853b11 Mon Sep 17 00:00:00 2001 From: Cheng Shao Date: Sat, 7 Jan 2023 15:25:31 +0000 Subject: Change MSYSTEM to CLANG64 uniformly --- .gitlab/ci.sh | 11 +++-------- .gitlab/gen_ci.hs | 3 +-- .gitlab/jobs.yaml | 12 ++++++------ 3 files changed, 10 insertions(+), 16 deletions(-) (limited to '.gitlab') diff --git a/.gitlab/ci.sh b/.gitlab/ci.sh index 87f9b96525..19afcdb5f6 100755 --- a/.gitlab/ci.sh +++ b/.gitlab/ci.sh @@ -59,7 +59,7 @@ Environment variables affecting both build systems: CROSS_TARGET Triple of cross-compilation target. VERBOSE Set to non-empty for verbose build output RUNTEST_ARGS Arguments passed to runtest.py - MSYSTEM (Windows-only) Which platform to build form (MINGW64 or MINGW32). + MSYSTEM (Windows-only) Which platform to build from (CLANG64). IGNORE_PERF_FAILURES Whether to ignore perf failures (one of "increases", "decreases", or "all") @@ -141,11 +141,7 @@ function setup_locale() { function mingw_init() { case "$MSYSTEM" in - MINGW32) - target_triple="i386-unknown-mingw32" - boot_triple="i386-unknown-mingw32" # triple of bootstrap GHC - ;; - MINGW64) + CLANG64) target_triple="x86_64-unknown-mingw32" boot_triple="x86_64-unknown-mingw32" # triple of bootstrap GHC ;; @@ -320,8 +316,7 @@ function fetch_cabal() { # N.B. Windows uses zip whereas all others use .tar.xz MSYS_*|MINGW*) case "$MSYSTEM" in - MINGW32) cabal_arch="i386" ;; - MINGW64) cabal_arch="x86_64" ;; + CLANG64) cabal_arch="x86_64" ;; *) fail "unknown MSYSTEM $MSYSTEM" ;; esac url="https://downloads.haskell.org/~cabal/cabal-install-$v/cabal-install-$v-$cabal_arch-windows.zip" diff --git a/.gitlab/gen_ci.hs b/.gitlab/gen_ci.hs index c06c1c8463..f1d451732b 100755 --- a/.gitlab/gen_ci.hs +++ b/.gitlab/gen_ci.hs @@ -375,7 +375,7 @@ opsysVariables Amd64 (Darwin {}) = ] opsysVariables _ (Windows {}) = - mconcat [ "MSYSTEM" =: "MINGW64" + mconcat [ "MSYSTEM" =: "CLANG64" , "HADRIAN_ARGS" =: "--docs=no-sphinx" , "LANG" =: "en_US.UTF-8" , "CABAL_INSTALL_VERSION" =: "3.8.1.0" @@ -842,4 +842,3 @@ main = do [] -> B.putStrLn (fp:_) -> B.writeFile fp) (A.encode jobs) - diff --git a/.gitlab/jobs.yaml b/.gitlab/jobs.yaml index c8fe55a71b..ce580bcd05 100644 --- a/.gitlab/jobs.yaml +++ b/.gitlab/jobs.yaml @@ -1798,7 +1798,7 @@ "GHC_VERSION": "9.4.3", "HADRIAN_ARGS": "--docs=no-sphinx", "LANG": "en_US.UTF-8", - "MSYSTEM": "MINGW64", + "MSYSTEM": "CLANG64", "TEST_ENV": "x86_64-windows-int_native-validate", "XZ_OPT": "-9" } @@ -1857,7 +1857,7 @@ "GHC_VERSION": "9.4.3", "HADRIAN_ARGS": "--docs=no-sphinx", "LANG": "en_US.UTF-8", - "MSYSTEM": "MINGW64", + "MSYSTEM": "CLANG64", "TEST_ENV": "x86_64-windows-validate", "XZ_OPT": "-9" } @@ -2963,7 +2963,7 @@ "HADRIAN_ARGS": "--docs=no-sphinx", "IGNORE_PERF_FAILURES": "all", "LANG": "en_US.UTF-8", - "MSYSTEM": "MINGW64", + "MSYSTEM": "CLANG64", "TEST_ENV": "x86_64-windows-int_native-release+no_split_sections", "XZ_OPT": "-9" } @@ -3023,7 +3023,7 @@ "HADRIAN_ARGS": "--docs=no-sphinx", "IGNORE_PERF_FAILURES": "all", "LANG": "en_US.UTF-8", - "MSYSTEM": "MINGW64", + "MSYSTEM": "CLANG64", "TEST_ENV": "x86_64-windows-release+no_split_sections", "XZ_OPT": "-9" } @@ -4331,7 +4331,7 @@ "GHC_VERSION": "9.4.3", "HADRIAN_ARGS": "--docs=no-sphinx", "LANG": "en_US.UTF-8", - "MSYSTEM": "MINGW64", + "MSYSTEM": "CLANG64", "TEST_ENV": "x86_64-windows-int_native-validate" } }, @@ -4389,7 +4389,7 @@ "GHC_VERSION": "9.4.3", "HADRIAN_ARGS": "--docs=no-sphinx", "LANG": "en_US.UTF-8", - "MSYSTEM": "MINGW64", + "MSYSTEM": "CLANG64", "TEST_ENV": "x86_64-windows-validate" } } -- cgit v1.2.1