forked from bpftrace/bpftrace
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.lgtm.yml
32 lines (31 loc) · 840 Bytes
/
.lgtm.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
extraction:
cpp:
prepare:
packages:
- bison
- cmake
- flex
- g++
- git
- libelf-dev
- libgtest-dev
- libgmock-dev
- zlib1g-dev
- libfl-dev
- systemtap-sdt-dev
- binutils-dev
- llvm-7-dev
- llvm-7-runtime
- libclang-7-dev
- clang-7
- libbpfcc-dev
after_prepare:
- cd $LGTM_WORKSPACE
- mkdir -p local/lib
- git clone https://github.com/libbpf/libbpf.git
- cd libbpf/src
- git checkout v0.8.0
- CC=gcc make -j$(nproc)
- PREFIX=$LGTM_WORKSPACE/local LIBDIR=$LGTM_WORKSPACE/local/lib make install install_uapi_headers
- export CPATH=$LGTM_WORKSPACE/local/include:$CPATH
- export LD_LIBRARY_PATH=$LGTM_WORKSPACE/local/lib:$LD_LIBRARY_PATH