Skip to content

Commit

Permalink
LGTM: build libbpf
Browse files Browse the repository at this point in the history
libbpf is now required so it must be installed from source in LGTM (as
it is not available as a package on the Ubuntu version used by LGTM).
  • Loading branch information
viktormalik committed Jun 14, 2022
1 parent af2bf4a commit b77c833
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .lgtm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,11 @@ extraction:
- libclang-7-dev
- clang-7
- libbpfcc-dev
after_prepare:
- mkdir -p /src
- git clone https://github.com/libbpf/libbpf.git /src/libbpf
- cd /src/libbpf/src
- git checkout v0.8.0
- CC=gcc make -j$(nproc)
- PREFIX=/usr/local LIBDIR=/usr/local/lib make install install_uapi_headers

0 comments on commit b77c833

Please sign in to comment.