anza-xyz / platform-tools

Apache License 2.0
47 stars 32 forks source link

Bundle debugging tools #50

Closed riptl closed 1 year ago

riptl commented 2 years ago

bpf-tools should include:

This requires -DLLVM_ENABLE_PROJECTS=clang;lldb

riptl commented 2 years ago

taking this one

dmakarov commented 2 years ago

How about bundling these tools in separate tarballs. They're not required to build on-chain programs. However, cargo-build-sbf spends significant amount of time downloading sbf-tools tarball, and making the tarball bigger would slow it down even more.

dmakarov commented 1 year ago

I added lldb to sbf-tools tarballs. The tarball sizes for Linux and macOS increased by about 10-15%. Not sure it's worth separating the debugger binaries in an optional tarball.