Skip to content

Commit 080c7a6

Browse files
committed
llvm21: disabled libunwind and libcxx subpackages, now in llvm22
1 parent 033e0ee commit 080c7a6

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

srcpkgs/llvm21/template

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ fi
7272
build_options="clang clang_tools_extra lld mlir libclc polly lldb flang bolt
7373
openmp libc libcxx libunwind offload lto graphviz full_debug"
7474
build_options_default="clang clang_tools_extra lld libclc polly lldb
75-
libcxx libunwind mlir"
75+
mlir"
7676

7777
# fails to build with libquadmth on musl
7878
case "$XBPS_TARGET_MACHINE" in
@@ -163,13 +163,11 @@ $(vopt_if lld 'lld;')\
163163
$(vopt_if mlir 'mlir;')\
164164
$(vopt_if flang 'flang;')"
165165

166-
_enabled_runtimes="compiler-rt\
166+
_enabled_runtimes="compiler-rt;libunwind;libcxx;libcxxabi\
167167
$(vopt_if openmp ';openmp')\
168168
$(vopt_if offload ';offload')\
169169
$(vopt_if libc ';libc')\
170-
$(vopt_if libclc ';libclc')\
171-
$(vopt_if libunwind ';libunwind')\
172-
$(vopt_if libcxx ';libcxxabi;libcxx')"
170+
$(vopt_if libclc ';libclc')"
173171

174172
configure_args+=" -DLLVM_ENABLE_RUNTIMES=${_enabled_runtimes}"
175173
configure_args+=" -DLLVM_ENABLE_PROJECTS=${_enabled_projects}"

0 commit comments

Comments
 (0)