[Git][ghc/ghc][wip/fltused] Use x86_64-unknown-windows-gnu target for LLVM on Windows
sheaf (@sheaf)
gitlab at gitlab.haskell.org
Mon Sep 2 12:12:11 UTC 2024
sheaf pushed to branch wip/fltused at Glasgow Haskell Compiler / GHC
Commits:
7c774ee6 by sheaf at 2024-09-02T14:11:59+02:00
Use x86_64-unknown-windows-gnu target for LLVM on Windows
- - - - -
3 changed files:
- llvm-targets
- m4/ghc_llvm_target.m4
- utils/llvm-targets/gen-data-layout.sh
Changes:
=====================================
llvm-targets
=====================================
@@ -1,4 +1,4 @@
-[("x86_64-unknown-windows", ("e-m:w-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128", "x86-64", ""))
+[("x86_64-unknown-windows-gnu", ("e-m:w-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128", "x86-64", ""))
,("arm-unknown-linux-gnueabi", ("e-m:e-p:32:32-Fi8-i64:64-v128:64:128-a:0:32-n32-S64", "arm7tdmi", "+strict-align"))
,("arm-unknown-linux-gnueabihf", ("e-m:e-p:32:32-Fi8-i64:64-v128:64:128-a:0:32-n32-S64", "arm1176jzf-s", "+strict-align"))
,("arm-unknown-linux-musleabihf", ("e-m:e-p:32:32-Fi8-i64:64-v128:64:128-a:0:32-n32-S64", "arm1176jzf-s", "+strict-align"))
=====================================
m4/ghc_llvm_target.m4
=====================================
@@ -14,7 +14,7 @@ AC_DEFUN([GHC_LLVM_TARGET], [
;;
*-mingw32|*-mingw64|*-msys)
llvm_target_vendor="unknown"
- llvm_target_os="windows"
+ llvm_target_os="windows-gnu"
;;
# apple is a bit about their naming scheme for
# aarch64; and clang on macOS doesn't know that
=====================================
utils/llvm-targets/gen-data-layout.sh
=====================================
@@ -26,7 +26,7 @@ TARGETS=(
#########################
# Windows
- "x86_64-unknown-windows"
+ "x86_64-unknown-windows-gnu"
#########################
# Linux
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/7c774ee639c62e4d144194514218e48a3225afe1
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/7c774ee639c62e4d144194514218e48a3225afe1
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/20240902/6cbbd634/attachment-0001.html>
More information about the ghc-commits
mailing list