tricorder-observability / Starship

Starship: next-generation Observability platform built with eBPF+WASM
GNU Affero General Public License v3.0
163 stars 23 forks source link

Change bcc bazel rule into a local rule (same as llvm/clang) #169

Open nascentcore-eng opened 1 year ago

nascentcore-eng commented 1 year ago

The current situation, motivation for this task Right now bcc build is from forked bcc repo The build file is bcc.BUILD The BCC build rule is in bcc_deps.bzl

BCC will need to be built from source, and due to various limitations, BCC build cannot be parallelized (https://github.com/tricorder-observability/Starship/issues/168) So we want to turn BCC rule into a local build rule and install the prebuilt binaries like LLVM/Clang

Describe the solution Follow llvm/Clang's example

Describe alternatives considered Parallelize BCC build https://github.com/tricorder-observability/Starship/issues/168

Additional context None