File tree Expand file tree Collapse file tree 1 file changed +21
-1
lines changed Expand file tree Collapse file tree 1 file changed +21
-1
lines changed Original file line number Diff line number Diff line change 70
70
-DEXTRA_CXXFLAGS=-flto=full
71
71
with_pgo: true
72
72
73
+ - job_name: Alpine musl aarch64
74
+ os: ubuntu-24.04-arm
75
+ container_image: alpine:3.21
76
+ arch: aarch64
77
+ base_cmake_flags: >-
78
+ -DLDC_INSTALL_LLVM_RUNTIME_LIBS_ARCH=aarch64
79
+ -DLLVM_IS_SHARED=OFF
80
+ -DLDC_ENABLE_PLUGINS=OFF
81
+ -DLDC_DYNAMIC_COMPILE=OFF
82
+ extra_cmake_flags: >-
83
+ -DTEST_COMPILER_RT_LIBRARIES="profile;lsan;asan;msan;fuzzer"
84
+ -DLDC_INSTALL_LTOPLUGIN=OFF
85
+ -DLDC_FULLY_STATIC=ON
86
+ -DCMAKE_C_COMPILER=clang
87
+ -DCMAKE_CXX_COMPILER=clang++
88
+ -DCMAKE_EXE_LINKER_FLAGS=-static-libstdc++
89
+ -DD_COMPILER_FLAGS="-O -flto=full -defaultlib=phobos2-ldc-lto,druntime-ldc-lto"
90
+ -DEXTRA_CXXFLAGS=-flto=full
91
+ with_pgo: true
92
+
73
93
- job_name: macOS x86_64
74
94
os: macos-13
75
95
arch: x86_64
@@ -138,7 +158,7 @@ jobs:
138
158
# create missing 7za symlink
139
159
ln -s 7z /usr/bin/7za
140
160
# make lld the default linker (note: /usr/bin/ld seems unused)
141
- ln -sf /usr/bin/ld.lld /usr/x86_64 -alpine-linux-musl/bin/ld
161
+ ln -sf /usr/bin/ld.lld /usr/${{ matrix.arch }} -alpine-linux-musl/bin/ld
142
162
# create ../llvm symlink to distro LLVM (no prebuilt LDC-LLVM for musl)
143
163
ln -s /usr/lib/llvm19 $(dirname $(pwd))/llvm
144
164
../llvm/bin/llvm-config --version
You can’t perform that action at this time.
0 commit comments