Commit 7ba43ce3 authored by Udip Pant's avatar Udip Pant Committed by Facebook GitHub Bot

update to libbpf-0.3 in getdeps

Summary: Allows us to use new APIs in libbpf

Reviewed By: anakryiko

Differential Revision: D25933787

fbshipit-source-id: f0988caae351760b814eba74f6f716db51f728bd
parent 9c9f1d2d
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
name = libbpf name = libbpf
[download] [download]
url = https://github.com/libbpf/libbpf/archive/v0.1.1.tar.gz url = https://github.com/libbpf/libbpf/archive/v0.3.tar.gz
sha256 = 3fd271cf65b39bf38432b29d9dd2f694600c97dab0928baee419a65b5db4e598 sha256 = c168d84a75b541f753ceb49015d9eb886e3fb5cca87cdd9aabce7e10ad3a1efc
# BPF only builds on linux, so make it a NOP on other platforms # BPF only builds on linux, so make it a NOP on other platforms
[build.not(os=linux)] [build.not(os=linux)]
...@@ -11,12 +11,12 @@ builder = nop ...@@ -11,12 +11,12 @@ builder = nop
[build.os=linux] [build.os=linux]
builder = make builder = make
subdir = libbpf-0.1.1/src subdir = libbpf-0.3/src
[make.build_args] [make.build_args]
BUILD_STATIC_ONLY=y BUILD_STATIC_ONLY=y
# libbpf-0.1.1 requires uapi headers >= 5.8 # libbpf-0.3 requires uapi headers >= 5.8
[make.install_args] [make.install_args]
install install
install_uapi_headers install_uapi_headers
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment