File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Win ARM64 Cross-Compile Tests
2+
3+ on :
4+ push :
5+ branches :
6+ - cross-tests
7+
8+ jobs :
9+ build :
10+ runs-on : windows-latest
11+ env :
12+ MINGW64_PREFIX : " C:/msys64/clang64"
13+ steps :
14+ - uses : actions/checkout@v4
15+
16+ - name : download Rtools-aarch64
17+ run : |
18+ curl https://www.r-project.org/nosvn/winutf8/ucrt3/llvm19_ucrt3_full_aarch64_6536.tar.zst -o llvm-aarch64.tar.zst
19+ tar -xf llvm-aarch64.tar.zst
20+
21+ - uses : msys2/setup-msys2@v2
22+ if : always()
23+ with :
24+ location : C:/
25+ msystem : CLANG64
26+ install :
27+ mingw-w64-clang-x86_64-clang
28+
29+ - name : Copy clang rt libs
30+ if : always()
31+ run : |
32+ cp aarch64-w64-mingw32.static.posix/lib/clang/19/lib/windows/libclang_rt.builtins-aarch64.a ${{env.MINGW64_PREFIX}}/lib/clang/19/lib/windows/
33+ shell : bash
34+
35+ - name : Setup make/local
36+ if : always()
37+ run : |
38+ touch make/local
39+ echo "CXX=clang++ --target=aarch64-w64-mingw32 --sysroot='$(pwd)/aarch64-w64-mingw32.static.posix'" >> make/local
40+ echo "CC=clang --target=aarch64-w64-mingw32 --sysroot='$(pwd)/aarch64-w64-mingw32.static.posix'" >> make/local
41+ shell : bash
42+
43+ - name : Build Math libs
44+ shell : bash
45+ run : |
46+ make -f make/standalone math-libs -j2
47+
You can’t perform that action at this time.
0 commit comments