[Git][ghc/ghc][wip/ghc-9.4.5-backports] darwin ci: Explicitly pass desired build triple to configure

Zubin (@wz1000) gitlab at gitlab.haskell.org
Fri Apr 14 08:37:40 UTC 2023



Zubin pushed to branch wip/ghc-9.4.5-backports at Glasgow Haskell Compiler / GHC


Commits:
ce47e2c5 by Matthew Pickering at 2023-04-14T14:07:25+05:30
darwin ci: Explicitly pass desired build triple to configure

On the zw3rk machines for some reason the build machine was inferred to
be arm64. Setting the build triple appropiately resolve this confusion
and we produce x86 binaries.

- - - - -


1 changed file:

- .gitlab/darwin/toolchain.nix


Changes:

=====================================
.gitlab/darwin/toolchain.nix
=====================================
@@ -98,6 +98,6 @@ pkgs.writeTextFile {
     export CABAL="$CABAL_INSTALL"
 
     sdk_path="$(xcrun --sdk macosx --show-sdk-path)"
-    export CONFIGURE_ARGS="$CONFIGURE_ARGS --with-ffi-libraries=$sdk_path/usr/lib --with-ffi-includes=$sdk_path/usr/include/ffi"
+    export CONFIGURE_ARGS="$CONFIGURE_ARGS --with-ffi-libraries=$sdk_path/usr/lib --with-ffi-includes=$sdk_path/usr/include/ffi --build=${targetTriple}"
   '';
 }



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/ce47e2c5a5cacc7e7a13b0d83f7d335c0b3f14ad

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/ce47e2c5a5cacc7e7a13b0d83f7d335c0b3f14ad
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20230414/932da0bc/attachment.html>


More information about the ghc-commits mailing list