Skip to content

Commit 248c208

Browse files
committed
[CMake][Release] Use the TXZ cpack generator for binaries (llvm#90138)
1 parent 3b5b5c1 commit 248c208

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/release-binaries.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ jobs:
214214
215215
- id: package-info
216216
run: |
217-
filename="LLVM-${{ needs.prepare.outputs.release-version }}-Linux.tar.gz"
217+
filename="LLVM-${{ needs.prepare.outputs.release-version }}-Linux.tar.xz"
218218
echo "filename=$filename" >> $GITHUB_OUTPUT
219219
echo "path=/mnt/build/tools/clang/stage2-bins/$filename" >> $GITHUB_OUTPUT
220220

clang/cmake/caches/Release.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,4 +91,6 @@ endif()
9191
# Final Stage Config (stage2)
9292
set_final_stage_var(LLVM_ENABLE_RUNTIMES "${LLVM_RELEASE_ENABLE_RUNTIMES}" STRING)
9393
set_final_stage_var(LLVM_ENABLE_PROJECTS "${LLVM_RELEASE_ENABLE_PROJECTS}" STRING)
94+
set_final_stage_var(CPACK_GENERATOR "TXZ" STRING)
95+
set_final_stage_var(CPACK_ARCHIVE_THREADS "0" STRING)
9496

0 commit comments

Comments
 (0)