Skip to content

Build clang 18.1.8 without debug symbols to decrease package size from 3.5 GB to 81 MB #3157

Merged
merged 1 commit into from
Aug 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion clang.be0
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env beesh

# BEE_VERSION clang-18.1.8-0
# BEE_VERSION clang-18.1.8-1

#SRCURL[0]="https://github.com/llvm/llvm-project/releases/download/llvmorg-${PKGVERSION}/clang-${PKGVERSION}.src.tar.xz"
#SRCURL[0]="https://github.com/llvm/llvm-project/releases/download/llvmorg-${PKGVERSION}/llvm-project-${PKGVERSION}.src.tar.xz"
Expand All @@ -26,6 +26,8 @@ sourcesubdir_append clang

mee_configure() {
bee_configure \
-DCMAKE_BUILD_TYPE=Release \
-DCLANG_PATH_TO_LLVM_BUILD=$(llvm-config --prefix) \
-DCLANG_PATH_TO_LLVM_BUILD=$(llvm-config --prefix) \
-DLLVM_MAIN_SRC_DIR=$(llvm-config --prefix) \
-DLLVM_INCLUDE_TESTS=OFF
Expand Down