mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 16:57:49 +03:00
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
This commit is contained in:
parent
25228797ca
commit
e9a5b7e379
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user