From f4df564fd3fec352f85f611e5ae66a8d7c1e7d51 Mon Sep 17 00:00:00 2001 From: Alex Hornby Date: Sun, 28 Apr 2024 10:08:51 -0700 Subject: [PATCH] add libiberty manifest for folly to use Summary: Add a manifest for libiberty so that folly open source builds pick it up and use the demangler when showing stack traces Reviewed By: dmm-fb Differential Revision: D56679872 fbshipit-source-id: 622090112e19a5dd0d2b58a36dead0ea81e89026 --- build/fbcode_builder/manifests/folly | 1 + build/fbcode_builder/manifests/libiberty | 27 ++++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 build/fbcode_builder/manifests/libiberty diff --git a/build/fbcode_builder/manifests/folly b/build/fbcode_builder/manifests/folly index d22e94d859c36..5fc5297f942aa 100644 --- a/build/fbcode_builder/manifests/folly +++ b/build/fbcode_builder/manifests/folly @@ -44,6 +44,7 @@ openssl zlib [dependencies.os=linux] +libiberty libunwind # xz depends on autoconf which does not build on diff --git a/build/fbcode_builder/manifests/libiberty b/build/fbcode_builder/manifests/libiberty new file mode 100644 index 0000000000000..da022dfcab3e7 --- /dev/null +++ b/build/fbcode_builder/manifests/libiberty @@ -0,0 +1,27 @@ +[manifest] +name = libiberty + +[rpms] +binutils-devel +binutils + +[debs] +binutils-dev + +[download] +url = https://ftp.gnu.org/gnu/binutils/binutils-2.42.tar.xz +sha256 = f6e4d41fd5fc778b06b7891457b3620da5ecea1006c6a4a41ae998109f85a800 + +[dependencies] +zlib + +[build] +builder = autoconf +subdir = binutils-2.42/libiberty + +# only build the parts needed for demangling +# as we still want to use system linker and assembler etc +[autoconf.args] +--disable-shared +--disable-testsuite +--enable-install-libiberty