* manually add pygments hatchling DEP and update .cache
[t2sde.git] / package / develop / lldb / lldb.conf
blobc479a445ce5536f097d247b30f2c89f8d5e4b0e0
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/lldb/lldb.conf
3 # Copyright (C) 2009 - 2024 The T2 SDE Project
4
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
7
8 # This program is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License version 2.
10 # --- T2-COPYRIGHT-NOTE-END ---
12 cmake_mod() {
13         tar $taropt `match_source_file -p cmake` -C ..
14         mv -vf ../cmake-*src ../../cmake
16 hook_add preconf 5 cmake_mod
18 if atstage toolchain; then
19         var_append cmakeopt " " "-DLLVM_DEFAULT_TARGET_TRIPLE=$arch_target"
20 elif atstage cross; then
21         var_append cmakeopt " " "-DLLVM_MAIN_INCLUDE_DIR=$root$includedir"
22         var_append cmakeopt " " "-DLLVM_LIBRARY_DIR=$root$libdir"
23         var_append GCC_WRAPPER_FILTER '|' "sed 's,$root/TOOLCHAIN.*libLLVM\(.*\)\.[as].*,-lLLVM\1,g'"
26 [ "${libdir##*/lib}" ] && var_append cmakeopt " " "-DLLVM_LIBDIR_SUFFIX=${libdir##*/lib}"
27 var_append cmakeopt " " "-DBUILD_SHARED_LIBS=ON -DLLDB_INCLUDE_TESTS=OFF"