[Git][ghc/ghc][wip/supersven/add-LLVMAS-target] Debug output

Sven Tennie (@supersven) gitlab at gitlab.haskell.org
Sun Sep 1 14:23:02 UTC 2024



Sven Tennie pushed to branch wip/supersven/add-LLVMAS-target at Glasgow Haskell Compiler / GHC


Commits:
33ac182b by Sven Tennie at 2024-09-01T16:22:14+02:00
Debug output

- - - - -


1 changed file:

- m4/fp_prog_llvm_as_args.m4


Changes:

=====================================
m4/fp_prog_llvm_as_args.m4
=====================================
@@ -31,6 +31,11 @@ else
     AC_MSG_RESULT([no])
     AC_MSG_WARN([\$LLVMAS ($LLVMAS) does not support host flags: $LlvmAsArgsHost.])
     AC_MSG_WARN([Falling back to no flags (won't be able to build stages for the host architecture with \$LLVMAS).])
+
+    # TODO: Delete this debug output
+    DEFAULT_TRIPLE=`clang -print-target-triple`
+    AC_MSG_WARN([Default target triple: $DEFAULT_TRIPLE])
+
     # Here LLVMAS cannot assemble for the host. I.e. we won't be able to use it
     # to build intermediate GHC stages (with host target). This ressembles old
     # behaviour and is added for backwards compatibility.



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

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/33ac182b6970a4a981b53ecd1100cbf223d122f7
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/20240901/4736268c/attachment.html>


More information about the ghc-commits mailing list