Skip to content

Commit

Permalink
[bpftrace] Disable pulling in of libpcap.
Browse files Browse the repository at this point in the history
Summary: If `libpcap-dev` is installed on a machine it causes the bpftrace build to fail. This diff prevents bpftrace from pulling in libpcap.

Test Plan: Installed libpcap-dev and tested that bpftrace still builds

Reviewers: #stirling, jps, zasgar

Reviewed By: #stirling, jps

Signed-off-by: James Bartlett <jamesbartlett@pixielabs.ai>

Differential Revision: https://phab.corp.pixielabs.ai/D12482

GitOrigin-RevId: 8b72dc1f8b2e90cf8db0b4073834a1d5bf16acd4
  • Loading branch information
JamesMBartlett authored and copybaranaut committed Nov 3, 2022
1 parent ce91ef6 commit 8029f0c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bazel/external/bpftrace.BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ cmake(
"ENABLE_BPFTRACE_EXE": "OFF",
"ENABLE_LIBDW": "OFF",
"ENABLE_MAN": "OFF",
"ENABLE_SKB_OUTPUT": "OFF",

# Provide paths to dependent binaries: libbpf, bcc and libcereal.
# Notice that bcc and libceral are in the bazel deps below as well.
Expand Down

0 comments on commit 8029f0c

Please sign in to comment.