Enable libunwind in DEB native packages. (#19417)
Only on 64-bit x86, 32-bit ARM, and 64-bit ARM for the moment (32-bit x86 is broken because of issues in our handling of libunwind).
Austin S. Hemmelgarn committed
Jan 21, 2025 at 07:06 UTC
3d09660c48bc3f1d5a07c5875768868cd1c1767f
1 file changed
+8
packaging/build-package.sh
+8
@@ -59,14 +59,22 @@ case "${PKG_TYPE}" in
59
amd64)
60
add_cmake_option ENABLE_PLUGIN_XENSTAT On
61
add_cmake_option ENABLE_PLUGIN_EBPF On
62
+ add_cmake_option ENABLE_LIBUNWIND On
63
;;
64
arm64)
65
add_cmake_option ENABLE_PLUGIN_XENSTAT On
66
add_cmake_option ENABLE_PLUGIN_EBPF Off
67
+ add_cmake_option ENABLE_LIBUNWIND On
68
+ ;;
69
+ armhf)
70
+ add_cmake_option ENABLE_PLUGIN_XENSTAT Off
71
+ add_cmake_option ENABLE_PLUGIN_EBPF Off
72
+ add_cmake_option ENABLE_LIBUNWIND On
73
;;
74
*)
75
add_cmake_option ENABLE_PLUGIN_XENSTAT Off
76
add_cmake_option ENABLE_PLUGIN_EBPF Off
77
+ add_cmake_option ENABLE_LIBUNWIND Off
78
;;
79
esac
80
;;