Skip to content

Commit

Permalink
add libiberty manifest for folly to use
Browse files Browse the repository at this point in the history
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
  • Loading branch information
ahornby authored and facebook-github-bot committed Apr 28, 2024
1 parent cce2a9c commit f4df564
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
1 change: 1 addition & 0 deletions build/fbcode_builder/manifests/folly
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ openssl
zlib

[dependencies.os=linux]
libiberty
libunwind

# xz depends on autoconf which does not build on
Expand Down
27 changes: 27 additions & 0 deletions build/fbcode_builder/manifests/libiberty
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit f4df564

Please sign in to comment.