Skip to content

Commit 82cfc17

Browse files
committed
scripts: support arm64ec
1 parent 491f4e0 commit 82cfc17

16 files changed

+76
-41
lines changed

.github/workflows/build.yml

+16-17
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
# slightly more, when we know a separate build of the same version but with
2020
# assertions enabled, has passed some amount of tests.
2121
prepare:
22-
if: (github.event_name != 'schedule') || (github.repository == 'mstorsjo/llvm-mingw')
22+
if: (github.event_name != 'schedule') || (github.repository == 'bylaws/llvm-mingw')
2323
runs-on: ubuntu-latest
2424
outputs:
2525
LLVM_VERSION: ${{steps.get-versions.outputs.LLVM_VERSION}}
@@ -52,8 +52,8 @@ jobs:
5252
if: github.event_name == 'schedule'
5353
id: get-versions
5454
run: |
55-
echo LLVM_VERSION=$(git ls-remote https://github.com/llvm/llvm-project.git | grep 'refs/heads/main$' | awk '{print $1}') >> $GITHUB_OUTPUT
56-
echo MINGW_W64_VERSION=$(git ls-remote https://github.com/mingw-w64/mingw-w64.git | grep 'refs/heads/master$' | awk '{print $1}') >> $GITHUB_OUTPUT
55+
echo LLVM_VERSION=$(git ls-remote https://github.com/bylaws/llvm-project.git | grep 'refs/heads/arm64ec$' | awk '{print $1}') >> $GITHUB_OUTPUT
56+
echo MINGW_W64_VERSION=$(git ls-remote https://github.com/bylaws/mingw-w64.git | grep 'refs/heads/arm64ec$' | awk '{print $1}') >> $GITHUB_OUTPUT
5757
echo PYTHON_VERSION_MINGW=$(git ls-remote https://github.com/msys2-contrib/cpython-mingw.git | grep 'refs/heads/mingw-v3.11.6$' | awk '{print $1}') >> $GITHUB_OUTPUT
5858
cat $GITHUB_OUTPUT
5959
cat $GITHUB_OUTPUT >> parameters.txt
@@ -66,7 +66,7 @@ jobs:
6666

6767
# Build a cross compiler for Linux, targeting Windows.
6868
linux:
69-
if: (github.event_name != 'schedule') || (github.repository == 'mstorsjo/llvm-mingw')
69+
if: (github.event_name != 'schedule') || (github.repository == 'bylaws/llvm-mingw')
7070
needs: [prepare]
7171
runs-on: ubuntu-20.04
7272
steps:
@@ -102,7 +102,7 @@ jobs:
102102
# Crosscompile the toolchain for running on Linux on a different architecture, bundle the runtime
103103
# libraries that were built in the 'linux' step above.
104104
linux-cross-aarch64:
105-
if: (github.event_name != 'schedule') || (github.repository == 'mstorsjo/llvm-mingw')
105+
if: (github.event_name != 'schedule') || (github.repository == 'bylaws/llvm-mingw')
106106
needs: [linux, prepare]
107107
runs-on: ubuntu-20.04
108108
steps:
@@ -157,7 +157,7 @@ jobs:
157157
# to better catch such bugs early. This makes the first-stage toolchain built
158158
# here in scheduled builds somewhat slower.
159159
linux-asserts:
160-
if: (github.event_name == 'schedule') && (github.repository == 'mstorsjo/llvm-mingw')
160+
if: (github.event_name == 'schedule') && (github.repository == 'bylaws/llvm-mingw')
161161
needs: [prepare]
162162
runs-on: ubuntu-latest
163163
steps:
@@ -187,7 +187,7 @@ jobs:
187187

188188
# Build a cross compiler for macOS, targeting Windows.
189189
macos:
190-
if: (github.event_name != 'schedule') || (github.repository == 'mstorsjo/llvm-mingw')
190+
if: false
191191
needs: [prepare]
192192
runs-on: macos-14
193193
steps:
@@ -226,7 +226,7 @@ jobs:
226226
# the host environment (libstdc++ or libc++). No artifacts are stored from
227227
# these builds, but llvm-mingw's tests are run.
228228
msys2:
229-
if: (github.event_name != 'schedule') || (github.repository == 'mstorsjo/llvm-mingw')
229+
if: false
230230
needs: [prepare]
231231
runs-on: windows-latest
232232
defaults:
@@ -283,7 +283,7 @@ jobs:
283283
# llvm and make a proper standalone toolchain for Windows (for all 4
284284
# architectures). The binaries built here match actual releases quite closely.
285285
linux-cross-windows:
286-
if: (github.event_name != 'schedule') || (github.repository == 'mstorsjo/llvm-mingw')
286+
if: (github.event_name != 'schedule') || (github.repository == 'bylaws/llvm-mingw')
287287
needs: [linux, prepare]
288288
runs-on: ubuntu-latest
289289
strategy:
@@ -331,7 +331,7 @@ jobs:
331331
# Run llvm-mingw's tests on x86_64 and i686 with the cross-built corresponding
332332
# toolchains from above.
333333
test-toolchain:
334-
if: (github.event_name != 'schedule') || (github.repository == 'mstorsjo/llvm-mingw')
334+
if: (github.event_name != 'schedule') || (github.repository == 'bylaws/llvm-mingw')
335335
needs: [linux-cross-windows]
336336
runs-on: windows-latest
337337
defaults:
@@ -437,7 +437,7 @@ jobs:
437437
# This also forces testing the bundled python executables.
438438
test-openmp:
439439
# Only running these tests in scheduled builds.
440-
if: (github.event_name == 'schedule') && (github.repository == 'mstorsjo/llvm-mingw')
440+
if: (github.event_name == 'schedule') && (github.repository == 'bylaws/llvm-mingw')
441441
needs: [linux-cross-windows, prepare]
442442
runs-on: windows-latest
443443
strategy:
@@ -501,7 +501,7 @@ jobs:
501501
# above. This also forces testing the bundled python executables.
502502
test-compiler-rt:
503503
# Only running these tests in scheduled builds.
504-
if: (github.event_name == 'schedule') && (github.repository == 'mstorsjo/llvm-mingw')
504+
if: (github.event_name == 'schedule') && (github.repository == 'bylaws/llvm-mingw')
505505
needs: [linux-cross-windows, prepare]
506506
runs-on: windows-latest
507507
strategy:
@@ -579,7 +579,7 @@ jobs:
579579
# enabled, to catch code generation bugs that might trigger asserts, to
580580
# find such regressions early.
581581
linux-test-cross-build-ffmpeg:
582-
if: (github.event_name == 'schedule') && (github.repository == 'mstorsjo/llvm-mingw')
582+
if: (github.event_name == 'schedule') && (github.repository == 'bylaws/llvm-mingw')
583583
needs: [linux-asserts]
584584
runs-on: ubuntu-latest
585585
strategy:
@@ -624,7 +624,7 @@ jobs:
624624
# compiler itself, but that only show up at runtime. This is only done
625625
# for scheduled builds.
626626
test-ffmpeg:
627-
if: (github.event_name == 'schedule') && (github.repository == 'mstorsjo/llvm-mingw')
627+
if: (github.event_name == 'schedule') && (github.repository == 'bylaws/llvm-mingw')
628628
needs: [linux-cross-windows]
629629
runs-on: windows-latest
630630
defaults:
@@ -671,18 +671,17 @@ jobs:
671671
make -j$(nproc) fate
672672
673673
upload-nightly:
674-
if: (github.event_name == 'schedule') && (github.repository == 'mstorsjo/llvm-mingw')
674+
if: (github.repository == 'bylaws/llvm-mingw')
675675
permissions:
676676
contents: write
677-
needs: [linux, linux-cross-aarch64, macos, linux-cross-windows, test-toolchain, linux-test-cross-build-ffmpeg, test-ffmpeg]
677+
needs: [linux, linux-cross-aarch64, linux-cross-windows]
678678
runs-on: ubuntu-latest
679679
steps:
680680
- name: Download all artifacts
681681
uses: actions/download-artifact@v4
682682
- name: Rearrange files
683683
run: |
684684
rm -rf linux-asserts*
685-
rm -rf msys2*
686685
mv *-toolchain/*.zip *-toolchain/*.tar.xz .
687686
- name: Upload binaries
688687
env:

.github/workflows/docker.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ jobs:
5959
push: ${{inputs.push}}
6060
file: ./Dockerfile.dev
6161
tags: |
62-
mstorsjo/llvm-mingw:dev
63-
mstorsjo/llvm-mingw:dev-${{needs.prepare.outputs.TAG}}
62+
bylaws/llvm-mingw:dev
63+
bylaws/llvm-mingw:dev-${{needs.prepare.outputs.TAG}}
6464
- name: Inspect Docker images
6565
run: |
6666
docker images
@@ -110,7 +110,7 @@ jobs:
110110
push: ${{inputs.push}}
111111
file: ./${{matrix.file}}
112112
outputs: |
113-
type=image,name=mstorsjo/llvm-mingw,push-by-digest=true,name-canonical=true
113+
type=image,name=bylaws/llvm-mingw,push-by-digest=true,name-canonical=true
114114
- name: Write outputs for later steps
115115
uses: cloudposse/github-action-matrix-outputs-write@main
116116
id: out
@@ -140,5 +140,5 @@ jobs:
140140
run: |
141141
set -x
142142
for tag in latest ${{needs.prepare.outputs.TAG}}; do
143-
docker buildx imagetools create -t mstorsjo/llvm-mingw:$tag mstorsjo/llvm-mingw@${{fromJson(steps.read.outputs.result).digest.amd64}} mstorsjo/llvm-mingw@${{fromJson(steps.read.outputs.result).digest.arm64}}
143+
docker buildx imagetools create -t bylaws/llvm-mingw:$tag bylaws/llvm-mingw@${{fromJson(steps.read.outputs.result).digest.amd64}} bylaws/llvm-mingw@${{fromJson(steps.read.outputs.result).digest.arm64}}
144144
done

.github/workflows/release.yml

-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ jobs:
4949
- name: Rearrange files
5050
run: |
5151
rm -rf linux-asserts*
52-
rm -rf msys2*
5352
mv *-toolchain/*.zip *-toolchain/*.tar.xz .
5453
- name: Set environment
5554
run: |

build-all.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ set -e
1919
HOST_CLANG=
2020
LLVM_ARGS=""
2121
MINGW_ARGS=""
22-
CFGUARD_ARGS="--enable-cfguard"
22+
CFGUARD_ARGS="--disable-cfguard"
2323
HOST_ARGS=""
2424

2525
while [ $# -gt 0 ]; do

build-compiler-rt.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ mkdir -p "$PREFIX"
5757
PREFIX="$(cd "$PREFIX" && pwd)"
5858
export PATH="$PREFIX/bin:$PATH"
5959

60-
: ${ARCHS:=${TOOLCHAIN_ARCHS-i686 x86_64 armv7 aarch64}}
60+
: ${ARCHS:=${TOOLCHAIN_ARCHS-i686 x86_64 armv7 aarch64 arm64ec}}
6161

6262
ANY_ARCH=$(echo $ARCHS | awk '{print $1}')
6363
CLANG_RESOURCE_DIR="$("$PREFIX/bin/$ANY_ARCH-w64-mingw32-clang" --print-resource-dir)"

build-libcxx.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ PREFIX="$(cd "$PREFIX" && pwd)"
4848

4949
export PATH="$PREFIX/bin:$PATH"
5050

51-
: ${ARCHS:=${TOOLCHAIN_ARCHS-i686 x86_64 armv7 aarch64}}
51+
: ${ARCHS:=${TOOLCHAIN_ARCHS-i686 x86_64 armv7 aarch64 arm64ec}}
5252

5353
if [ ! -d llvm-project/libunwind ] || [ -n "$SYNC" ]; then
5454
CHECKOUT_ONLY=1 ./build-llvm.sh

build-llvm.sh

+4-3
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
set -e
1818

19-
: ${LLVM_VERSION:=llvmorg-19.1.0-rc2}
19+
: ${LLVM_VERSION:=28092024}
2020
ASSERTS=OFF
2121
unset HOST
2222
BUILDDIR="build"
@@ -86,7 +86,7 @@ if [ ! -d llvm-project ]; then
8686
mkdir llvm-project
8787
cd llvm-project
8888
git init
89-
git remote add origin https://github.com/llvm/llvm-project.git
89+
git remote add origin https://github.com/bylaws/llvm-project.git
9090
cd ..
9191
CHECKOUT=1
9292
fi
@@ -320,7 +320,8 @@ cmake \
320320
-DLLVM_TARGETS_TO_BUILD="ARM;AArch64;X86;NVPTX" \
321321
-DLLVM_INSTALL_TOOLCHAIN_ONLY=$TOOLCHAIN_ONLY \
322322
-DLLVM_LINK_LLVM_DYLIB=$LINK_DYLIB \
323-
-DLLVM_TOOLCHAIN_TOOLS="llvm-ar;llvm-ranlib;llvm-objdump;llvm-rc;llvm-cvtres;llvm-nm;llvm-strings;llvm-readobj;llvm-dlltool;llvm-pdbutil;llvm-objcopy;llvm-strip;llvm-cov;llvm-profdata;llvm-addr2line;llvm-symbolizer;llvm-windres;llvm-ml;llvm-readelf;llvm-size;llvm-cxxfilt" \
323+
-DLLVM_TOOLCHAIN_TOOLS="llvm-ar;llvm-ranlib;llvm-objdump;llvm-rc;llvm-cvtres;llvm-nm;llvm-strings;llvm-readobj;llvm-dlltool;llvm-pdbutil;llvm-objcopy;llvm-strip;llvm-cov;llvm-profdata;llvm-addr2line;llvm-symbolizer;llvm-windres;llvm-ml;llvm-readelf;llvm-size;llvm-cxxfilt;strip;objcopy;ranlib" \
324+
-DLLVM_INSTALL_BINUTILS_SYMLINKS=ON \
324325
${HOST+-DLLVM_HOST_TRIPLE=$HOST} \
325326
$CMAKEFLAGS \
326327
..

build-mingw-w64-libraries.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ unset CC
4444
: ${CORES:=$(nproc 2>/dev/null)}
4545
: ${CORES:=$(sysctl -n hw.ncpu 2>/dev/null)}
4646
: ${CORES:=4}
47-
: ${ARCHS:=${TOOLCHAIN_ARCHS-i686 x86_64 armv7 aarch64}}
47+
: ${ARCHS:=${TOOLCHAIN_ARCHS-i686 x86_64 armv7 aarch64 arm64ec}}
4848

4949
if [ ! -d mingw-w64 ] || [ -n "$SYNC" ]; then
5050
CHECKOUT_ONLY=1 ./build-mingw-w64.sh
@@ -58,7 +58,7 @@ for lib in winpthreads winstorecompat; do
5858
mkdir -p build-$arch
5959
cd build-$arch
6060
arch_prefix="$PREFIX/$arch-w64-mingw32"
61-
../configure --host=$arch-w64-mingw32 --prefix="$arch_prefix" --libdir="$arch_prefix/lib" \
61+
../configure --host=$arch-w64-mingw32 --enable-static --disable-shared --prefix="$arch_prefix" --libdir="$arch_prefix/lib" \
6262
CFLAGS="$USE_CFLAGS" \
6363
CXXFLAGS="$USE_CFLAGS"
6464
make -j$CORES

build-mingw-w64-tools.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ fi
5656
: ${CORES:=$(nproc 2>/dev/null)}
5757
: ${CORES:=$(sysctl -n hw.ncpu 2>/dev/null)}
5858
: ${CORES:=4}
59-
: ${ARCHS:=${TOOLCHAIN_ARCHS-i686 x86_64 armv7 aarch64}}
59+
: ${ARCHS:=${TOOLCHAIN_ARCHS-i686 x86_64 armv7 aarch64 arm64ec}}
6060
: ${TARGET_OSES:=${TOOLCHAIN_TARGET_OSES-mingw32 mingw32uwp}}
6161

6262
if [ -n "$HOST" ]; then

build-mingw-w64.sh

+6-3
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ set -e
1818

1919
: ${DEFAULT_WIN32_WINNT:=0x601}
2020
: ${DEFAULT_MSVCRT:=ucrt}
21-
: ${MINGW_W64_VERSION:=d96d77563d1ecc76e77d86d3602ab62702bf1875}
21+
: ${MINGW_W64_VERSION:=08082024}
2222

2323
CFGUARD_FLAGS="--enable-cfguard"
2424

@@ -56,7 +56,7 @@ if [ -z "$CHECKOUT_ONLY" ]; then
5656
fi
5757

5858
if [ ! -d mingw-w64 ]; then
59-
git clone https://github.com/mingw-w64/mingw-w64
59+
git clone https://github.com/bylaws/mingw-w64
6060
CHECKOUT=1
6161
fi
6262

@@ -87,7 +87,7 @@ unset CC
8787
: ${CORES:=$(nproc 2>/dev/null)}
8888
: ${CORES:=$(sysctl -n hw.ncpu 2>/dev/null)}
8989
: ${CORES:=4}
90-
: ${ARCHS:=${TOOLCHAIN_ARCHS-i686 x86_64 armv7 aarch64}}
90+
: ${ARCHS:=${TOOLCHAIN_ARCHS-i686 x86_64 armv7 aarch64 arm64ec}}
9191

9292
if [ -z "$SKIP_INCLUDE_TRIPLET_PREFIX" ]; then
9393
HEADER_ROOT="$PREFIX/generic-w64-mingw32"
@@ -124,6 +124,9 @@ for arch in $ARCHS; do
124124
aarch64)
125125
FLAGS="--disable-lib32 --disable-lib64 --enable-libarm64"
126126
;;
127+
arm64ec)
128+
FLAGS="--disable-lib32 --disable-lib64 --enable-libarm64"
129+
;;
127130
i686)
128131
FLAGS="--enable-lib32 --disable-lib64"
129132
;;

build-openmp.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ PREFIX="$(cd "$PREFIX" && pwd)"
4242

4343
export PATH="$PREFIX/bin:$PATH"
4444

45-
: ${ARCHS:=${TOOLCHAIN_ARCHS-i686 x86_64 armv7 aarch64}}
45+
: ${ARCHS:=${TOOLCHAIN_ARCHS-i686 x86_64 armv7 aarch64 arm64ec}}
4646

4747
if [ ! -d llvm-project/openmp ] || [ -n "$SYNC" ]; then
4848
CHECKOUT_ONLY=1 ./build-llvm.sh

install-wrappers.sh

+5-4
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ fi
4242
mkdir -p "$PREFIX"
4343
PREFIX="$(cd "$PREFIX" && pwd)"
4444

45-
: ${ARCHS:=${TOOLCHAIN_ARCHS-i686 x86_64 armv7 aarch64}}
45+
: ${ARCHS:=${TOOLCHAIN_ARCHS-i686 x86_64 armv7 aarch64 arm64ec}}
4646
: ${TARGET_OSES:=${TOOLCHAIN_TARGET_OSES-mingw32 mingw32uwp}}
4747

4848
if [ -n "$HOST" ] && [ -z "$CC" ]; then
@@ -148,7 +148,7 @@ for arch in $ARCHS; do
148148
ln -sf clang-target-wrapper$CTW_SUFFIX $arch-w64-$target_os-$exec$CTW_LINK_SUFFIX
149149
done
150150
ln -sf clang-scan-deps-wrapper$CTW_SUFFIX $arch-w64-$target_os-clang-scan-deps$CTW_LINK_SUFFIX
151-
for exec in addr2line ar ranlib nm objcopy readelf size strings strip llvm-ar llvm-ranlib; do
151+
for exec in addr2line ranlib nm objcopy readelf size strings strip llvm-ranlib; do
152152
if [ -n "$EXEEXT" ]; then
153153
link_target=llvm-wrapper
154154
else
@@ -167,8 +167,9 @@ for arch in $ARCHS; do
167167
# target arch prefix.
168168
ln -sf llvm-windres$EXEEXT $arch-w64-$target_os-windres$EXEEXT
169169
ln -sf llvm-dlltool$EXEEXT $arch-w64-$target_os-dlltool$EXEEXT
170-
for exec in ld objdump; do
171-
ln -sf $exec-wrapper.sh $arch-w64-$target_os-$exec
170+
for exec in objdump ar; do
171+
ln -sf $exec-wrapper.sh $arch-w64-$target_os-$exec$EXEEXT
172+
ln -sf $exec-wrapper.sh $exec$EXEEXT
172173
done
173174
done
174175
done

prepare-cross-toolchain-unix.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ fi
2323
SRC="$1"
2424
DEST="$2"
2525

26-
: ${ARCHS:=${TOOLCHAIN_ARCHS-i686 x86_64 armv7 aarch64}}
26+
: ${ARCHS:=${TOOLCHAIN_ARCHS-i686 x86_64 armv7 aarch64 arm64ec}}
2727

2828
CLANG_RESOURCE_DIR="$("$SRC/bin/clang" --print-resource-dir)"
2929
CLANG_VERSION=$(basename "$CLANG_RESOURCE_DIR")

prepare-cross-toolchain.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ SRC="$1"
2424
DEST="$2"
2525
CROSS_ARCH="$3"
2626

27-
: ${ARCHS:=${TOOLCHAIN_ARCHS-i686 x86_64 armv7 aarch64}}
27+
: ${ARCHS:=${TOOLCHAIN_ARCHS-i686 x86_64 armv7 aarch64 arm64ec}}
2828

2929
CLANG_RESOURCE_DIR="$("$SRC/bin/clang" --print-resource-dir)"
3030
CLANG_VERSION=$(basename "$CLANG_RESOURCE_DIR")

wrappers/ar-wrapper.sh

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
#!/bin/sh
2+
#
3+
# Copyright (c) 2018 Martin Storsjo
4+
#
5+
# Permission to use, copy, modify, and/or distribute this software for any
6+
# purpose with or without fee is hereby granted, provided that the above
7+
# copyright notice and this permission notice appear in all copies.
8+
#
9+
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10+
# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11+
# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12+
# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13+
# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14+
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15+
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16+
17+
get_dir() {
18+
target="$1"
19+
while [ -L "$target" ]; do
20+
cd "$(dirname "$target")"
21+
target="$(readlink "$(basename "$target")")"
22+
done
23+
cd "$(dirname "$target")"
24+
pwd
25+
}
26+
27+
DIR="$(get_dir "$0")"
28+
export PATH="$DIR":"$PATH"
29+
MODE=$(echo "$1" | sed 's/T//')
30+
shift 1
31+
llvm-ar --format=coff $MODE "$@"

wrappers/ld-wrapper.sh

+1
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ i686) M=i386pe ;;
4040
x86_64) M=i386pep ;;
4141
armv7) M=thumb2pe ;;
4242
aarch64) M=arm64pe ;;
43+
arm64ec) M=arm64ecpe ;;
4344
esac
4445
FLAGS="-m $M"
4546
case $TARGET_OS in

0 commit comments

Comments
 (0)