From ec03eb747cff32b73e974781f1659a630534e0ca Mon Sep 17 00:00:00 2001 From: Daniel Martinez Date: Tue, 12 Nov 2024 16:28:54 -0500 Subject: [PATCH] llvm19: disable debug on 32bit build machines --- srcpkgs/llvm19/template | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/srcpkgs/llvm19/template b/srcpkgs/llvm19/template index a88735d567e..a99664ebdb3 100644 --- a/srcpkgs/llvm19/template +++ b/srcpkgs/llvm19/template @@ -72,6 +72,10 @@ nocross="save the builders!" CFLAGS="-Wno-unused-command-line-argument" CXXFLAGS="-Wno-unused-command-line-argument" +if [ "$XBPS_WORDSIZE" == "32" ]; then + nodebug=yes # 32bit memory exhasted +fi + build_options="clang clang_tools_extra lld mlir libclc polly lldb flang bolt openmp libc libcxx libunwind offload llvm_spirv lto graphviz full_debug" build_options_default="clang clang_tools_extra lld mlir libclc polly lldb