diff options
author | Ben Gamari <ben@smart-cactus.org> | 2019-06-12 14:24:23 -0400 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2019-06-13 02:48:13 -0400 |
commit | 5ffc266e9c5ec8ed6010835165a65bd1f6b56dd4 (patch) | |
tree | d66d72bc22651fde877aa8eb7684fd9d2bd4f93c /utils | |
parent | 7b751ed89a97545e9ff9c9814a3d5440a8d42d64 (diff) | |
download | haskell-5ffc266e9c5ec8ed6010835165a65bd1f6b56dd4.tar.gz |
Add a few missing llvm-targets
This should finally fix #14261.
[skip ci]
Diffstat (limited to 'utils')
-rwxr-xr-x | utils/llvm-targets/gen-data-layout.sh | 66 |
1 files changed, 52 insertions, 14 deletions
diff --git a/utils/llvm-targets/gen-data-layout.sh b/utils/llvm-targets/gen-data-layout.sh index 60cee202f8..15fa113550 100755 --- a/utils/llvm-targets/gen-data-layout.sh +++ b/utils/llvm-targets/gen-data-layout.sh @@ -18,35 +18,73 @@ # Target sets for which to generate the llvm-targets file TARGETS=( + ######################### + # Windows + ######################### + # Windows x86 - "i386-unknown-windows" "i686-unknown-windows" "x86_64-unknown-windows" + "i386-unknown-windows" + "i686-unknown-windows" + "x86_64-unknown-windows" + + ######################### + # Linux + ######################### # Linux ARM - "arm-unknown-linux-gnueabihf" "armv6-unknown-linux-gnueabihf" "armv6l-unknown-linux-gnueabihf" - "armv7-unknown-linux-gnueabihf" "armv7a-unknown-linux-gnueabi" "armv7l-unknown-linux-gnueabihf" + "arm-unknown-linux-gnueabihf" + "armv6-unknown-linux-gnueabihf" + "armv6l-unknown-linux-gnueabihf" + "armv7-unknown-linux-gnueabihf" + "armv7a-unknown-linux-gnueabi" + "armv7a-unknown-linux-gnueabihf" "armv7l-unknown-linux-gnueabi" - "aarch64-unknown-linux-gnu" "aarch64-unknown-linux" + "armv7l-unknown-linux-gnueabihf" + "aarch64-unknown-linux-gnu" + "aarch64-unknown-linux" # Linux x86 - "i386-unknown-linux-gnu" "i386-unknown-linux" "x86_64-unknown-linux-gnu" "x86_64-unknown-linux" + "i386-unknown-linux-gnu" + "i386-unknown-linux" + "x86_64-unknown-linux-gnu" + "x86_64-unknown-linux" # Linux Android - "x86_64-unknown-linux-android" "armv7-unknown-linux-androideabi" "aarch64-unknown-linux-android" + "x86_64-unknown-linux-android" + "armv7-unknown-linux-androideabi" + "aarch64-unknown-linux-android" + "armv7a-unknown-linux-androideabi" # Linux ppc64le "powerpc64le-unknown-linux" + ######################### + # Darwin + ######################### + + # macOS + "i386-apple-darwin" + "x86_64-apple-darwin" + # iOS + "armv7-apple-ios arm64-apple-ios" + "i386-apple-ios x86_64-apple-ios" + + ######################### + # FreeBSD + ######################### + # FreeBSD amd64 "amd64-portbld-freebsd" "x86_64-unknown-freebsd" # See #15718 - # QNX - "arm-unknown-nto-qnx-eabi" + # FreeBSD ARM + "aarch64-unknown-freebsd" + "armv6-unknown-freebsd-gnueabihf" + "armv7-unknown-freebsd-gnueabihf" - # macOS - "i386-apple-darwin" "x86_64-apple-darwin" - # iOS - "armv7-apple-ios arm64-apple-ios" "i386-apple-ios x86_64-apple-ios" + ######################### + # Other + ######################### - # FreeBSD ARM - "aarch64-unknown-freebsd" "armv6-unknown-freebsd-gnueabihf" "armv7-unknown-freebsd-gnueabihf" + # QNX + "arm-unknown-nto-qnx-eabi" ) # given the call to clang -c11 that clang --target -v generates, |