Commit 3369c23d authored by Udip Pant's avatar Udip Pant Committed by Facebook Github Bot

add manifest for katran and its dependencies

Summary: Dependencies include libbpf and libelf

Reviewed By: wez

Differential Revision: D17363237

fbshipit-source-id: 4408f2fbabbbde170b57779422038b32e52c6f51
parent fbbd7864
......@@ -114,7 +114,7 @@ class MakeBuilder(BuilderBase):
)
self._run_cmd(cmd, env=env)
install_cmd = ["make", "install", "PREFIX=" + self.inst_dir]
install_cmd = ["make", "install"] + self.args + ["PREFIX=" + self.inst_dir]
self._run_cmd(install_cmd, env=env)
......
[manifest]
name = katran
fbsource_path = fbcode/katran
shipit_project = katran
shipit_fbcode_builder = true
[git]
repo_url = https://github.com/facebookincubator/katran.git
[build.not(os=linux)]
builder = nop
[build.os=linux]
builder = cmake
subdir = katran
[cmake.defines]
BUILD_TESTS = OFF
[dependencies]
folly
fizz
libbpf
libmnl
zlib
googletest
[shipit.pathmap]
fbcode/katran/public_root = .
fbcode/katran = katran
[shipit.strip]
^fbcode/katran/facebook
^fbcode/katran/OSS_SYNC
[manifest]
name = libbpf
[download]
url = https://github.com/libbpf/libbpf/archive/v0.0.4.tar.gz
sha256 = bb810e6d236437ebf51e57f49dd68738d5b944108470a99afc7070aa3be06349
# BPF only builds on linux, so make it a NOP on other platforms
[build.not(os=linux)]
builder = nop
[build.os=linux]
builder = make
subdir = libbpf-0.0.4/src
[make.args]
BUILD_STATIC_ONLY=y
[dependencies]
libelf
[manifest]
name = libelf
[download]
url = https://ftp.osuosl.org/pub/blfs/conglomeration/libelf/libelf-0.8.13.tar.gz
sha256 = 591a9b4ec81c1f2042a97aa60564e0cb79d041c52faa7416acb38bc95bd2c76d
# libelf only makes sense on linux, so make it a NOP on other platforms
[build.not(os=linux)]
builder = nop
[build.os=linux]
builder = autoconf
subdir = libelf-0.8.13
......@@ -8,3 +8,8 @@ sha256 = c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1
[build.os=windows]
builder = cmake
subdir = zlib-1.2.11
# Every platform but windows ships with zlib, so just skip
# building on not(windows)
[build.not(os=windows)]
builder = nop
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