[Git][ghc/ghc][wip/romes/24792] bindist: ghc-toolchain related options in configure

Rodrigo Mesquita (@alt-romes) gitlab at gitlab.haskell.org
Thu May 16 10:26:46 UTC 2024



Rodrigo Mesquita pushed to branch wip/romes/24792 at Glasgow Haskell Compiler / GHC


Commits:
b31f26e3 by Rodrigo Mesquita at 2024-05-16T11:26:27+01:00
bindist: ghc-toolchain related options in configure

- - - - -


1 changed file:

- distrib/configure.ac.in


Changes:

=====================================
distrib/configure.ac.in
=====================================
@@ -119,6 +119,22 @@ if test "$HostOS" = "darwin"; then
     fi
 fi
 
+AC_ARG_ENABLE(ghc-toolchain,
+[AS_HELP_STRING([--enable-ghc-toolchain],
+                [Whether to use the newer ghc-toolchain tool to configure ghc targets])],
+  [FP_CAPITALIZE_YES_NO(["$enableval"], [EnableGhcToolchain])],
+  [EnableGhcToolchain=NO]
+)
+AC_SUBST([EnableGhcToolchain])
+
+AC_ARG_ENABLE(strict-ghc-toolchain-check,
+[AS_HELP_STRING([--enable-strict-ghc-toolchain-check],
+                [Whether to raise an error if the output of ghc-toolchain differs from configure])],
+  [FP_CAPITALIZE_YES_NO(["$enableval"], [EnableStrictGhcToolchainCheck])],
+  [EnableStrictGhcToolchainCheck=NO]
+)
+AC_SUBST([EnableStrictGhcToolchainCheck])
+
 dnl ** Which gcc to use?
 dnl --------------------------------------------------------------
 AC_PROG_CC([gcc clang])



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

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/b31f26e32bc27d0ac596c970cfffa0b2def6e8cb
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/20240516/102755be/attachment-0001.html>


More information about the ghc-commits mailing list