Skip to content

Commit b87314f

Browse files
committed
try CW_LLVM_MINGW_ONLY=1
It reduces the extra installed packages to half. The remaining ones belonging to `wine` mostly. Since llvm-mingw is used for ARM64 anyway, this is a pure saving. Downside is shifting away from the standard distro track, where Debian Trixie ships with mingw-w64 12, while debian:testing has 13 now and llvm-mingw has 14 (staying close to master), and they will be bumped further away from Trixie and other Linux distros in the coming years. In theory these should be compatible. In practice, not always, also depending on what we use exactly. Ref: 21cdc44 These builds are at least by trurl CMake tests on Windows: https://github.com/curl/trurl/blob/a96ea111f206c72462c05ae3ecc494c0875b14b8/.github/workflows/build.yml#L197-L204 win-llvm: Before: ``` 0 upgraded, 288 newly installed, 0 to remove and 10 not upgraded. Need to get 413 MB of archives. After this operation, 2185 MB of additional disk space will be used. ``` https://github.com/curl/curl-for-win/actions/runs/18853837259/job/53796629205 After: ``` 0 upgraded, 237 newly installed, 0 to remove and 10 not upgraded. Need to get 237 MB of archives. After this operation, 1152 MB of additional disk space will be used. ``` https://github.com/curl/curl-for-win/actions/runs/18856581133/job/53805849066
1 parent 9497363 commit b87314f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -609,7 +609,7 @@ jobs:
609609
COSIGN_PKG_GPG_PASS: '${{ secrets.COSIGN_PKG_GPG_PASS }}'
610610
COSIGN_PKG_KEY_PASS: '${{ secrets.COSIGN_PKG_KEY_PASS }}'
611611
CW_LLVM_MINGW_DL: '1'
612-
CW_LLVM_MINGW_ONLY: '0'
612+
CW_LLVM_MINGW_ONLY: '1'
613613
run: |
614614
export CW_CONFIG="${GITHUB_REF_NAME}-werror-win"
615615
export CW_REVISION="${GITHUB_SHA}"
@@ -640,7 +640,7 @@ jobs:
640640
COSIGN_PKG_GPG_PASS: '${{ secrets.COSIGN_PKG_GPG_PASS }}'
641641
COSIGN_PKG_KEY_PASS: '${{ secrets.COSIGN_PKG_KEY_PASS }}'
642642
CW_LLVM_MINGW_DL: '1'
643-
CW_LLVM_MINGW_ONLY: '0'
643+
CW_LLVM_MINGW_ONLY: '1'
644644
run: |
645645
export CW_CONFIG="${GITHUB_REF_NAME}-werror-win"
646646
export CW_REVISION="${GITHUB_SHA}"

0 commit comments

Comments
 (0)