Skip to content

Commit

Permalink
Merge pull request #3157 from mariux64/build-clang-18.1.8-without-deb…
Browse files Browse the repository at this point in the history
…ug-symbols

Build clang 18.1.8 without debug symbols to decrease package size from 3.5 GB to 81 MB
  • Loading branch information
pmenzel authored Aug 20, 2024
2 parents 35a8568 + 3447d55 commit d9c6a75
Showing 1 changed file with 3 additions and 1 deletion.
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

0 comments on commit d9c6a75

Please sign in to comment.