diff options
author | Ben Gamari <ben@smart-cactus.org> | 2022-04-30 15:05:56 -0400 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2022-05-04 16:16:48 -0400 |
commit | 8635323b45b6379d329a2e0cc4c1f5d3d40bb7e7 (patch) | |
tree | dcbb85ecc5b4c28a1760f9dfb3397ba4a0215273 /.gitlab/gen_ci.hs | |
parent | f9698d7990f2e7e6f20eeb19b4c169126543c823 (diff) | |
download | haskell-8635323b45b6379d329a2e0cc4c1f5d3d40bb7e7.tar.gz |
gitlab-ci: Use ld.lld on ARMv7/Linux
Due to #16177.
Also cleanup some code style issues.
(cherry picked from commit cc1c3861e2372f464bf9e3c9c4d4bd83f275a1a6)
Diffstat (limited to '.gitlab/gen_ci.hs')
-rwxr-xr-x | .gitlab/gen_ci.hs | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/.gitlab/gen_ci.hs b/.gitlab/gen_ci.hs index c571381f11..b7b8e17fa0 100755 --- a/.gitlab/gen_ci.hs +++ b/.gitlab/gen_ci.hs @@ -309,6 +309,11 @@ opsysVariables _ FreeBSD = mconcat , "GHC_VERSION" =: "9.2.2" , "CABAL_INSTALL_VERSION" =: "3.2.0.0" ] +opsysVariables ARMv7 (Linux distro) = + distroVariables distro <> + mconcat [ -- ld.gold is affected by #16177 and therefore cannot be used. + "CONFIGURE_ARGS" =: "LD=ld.lld" + ] opsysVariables _ (Linux distro) = distroVariables distro opsysVariables AArch64 (Darwin {}) = mconcat [ "NIX_SYSTEM" =: "aarch64-darwin" @@ -342,13 +347,14 @@ opsysVariables _ _ = mempty distroVariables :: LinuxDistro -> Variables distroVariables Alpine = mconcat - [ "CONFIGURE_ARGS" =: "--disable-ld-override" + [ -- Due to #20266 + "CONFIGURE_ARGS" =: "--disable-ld-override" , "INSTALL_CONFIGURE_ARGS" =: "--disable-ld-override" , "HADRIAN_ARGS" =: "--docs=no-sphinx" --- encoding004: due to lack of locale support --- T10458, ghcilink002: due to #17869 --- linker_unload_native: due to musl not supporting any means of probing dynlib dependencies --- (see Note [Object unloading]). + -- encoding004: due to lack of locale support + -- T10458, ghcilink002: due to #17869 + -- linker_unload_native: due to musl not supporting any means of probing dynlib dependencies + -- (see Note [Object unloading]). , "BROKEN_TESTS" =: "encoding004 T10458 ghcilink002 linker_unload_native" ] distroVariables Fedora33 = mconcat |