Commit e3933c88 authored by Xiaoting Tang's avatar Xiaoting Tang Committed by Facebook GitHub Bot

Use latest libbpf

Summary: Time to update libbpf version (the latest release is now 0.1.1).

Reviewed By: udippant

Differential Revision: D24063680

fbshipit-source-id: 715ac74e9671f0f8ed5b8fe9174fe4070fc0f991
parent d6ed060e
......@@ -2,8 +2,8 @@
name = libbpf
[download]
url = https://github.com/libbpf/libbpf/archive/v0.0.4.tar.gz
sha256 = bb810e6d236437ebf51e57f49dd68738d5b944108470a99afc7070aa3be06349
url = https://github.com/libbpf/libbpf/archive/v0.1.1.tar.gz
sha256 = 3fd271cf65b39bf38432b29d9dd2f694600c97dab0928baee419a65b5db4e598
# BPF only builds on linux, so make it a NOP on other platforms
[build.not(os=linux)]
......@@ -11,13 +11,15 @@ builder = nop
[build.os=linux]
builder = make
subdir = libbpf-0.0.4/src
subdir = libbpf-0.1.1/src
[make.build_args]
BUILD_STATIC_ONLY=y
# libbpf-0.1.1 requires uapi headers >= 5.8
[make.install_args]
install
install_uapi_headers
BUILD_STATIC_ONLY=y
[dependencies]
......
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