Skip to content

Commit 7fad06e

Browse files
pbhandar2facebook-github-bot
authored andcommitted
Migrate OSS build from custom to getdeps
Summary: X-link: https://github.com/facebookincubator/zstrong/pull/1098 We have been manually syncing our builds when there is a change in builds of our dependencies (folly, thrift). This has been one of the major source of work in OSS maintenance. Migrating to getdeps will automatically sync the dependencies which means we only have to manage our own builds. NOTE: There is a dependency of getdeps on zlib which requires us to first run sudo dnf install -y zlib-devel before we successfully run getdeps. I don't think this should affect the OSS build as it is a getdeps dependency. Reviewed By: haowu14 Differential Revision: D65844211 fbshipit-source-id: 8e89e670cdec4a21ca7aba48ae58b5b72ddbf832
1 parent 4dcc2ab commit 7fad06e

File tree

3 files changed

+61
-0
lines changed

3 files changed

+61
-0
lines changed
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
[manifest]
2+
name = cachelib
3+
fbsource_path = fbcode/cachelib
4+
shipit_project = cachelib
5+
shipit_fbcode_builder = true
6+
7+
[git]
8+
repo_url = https://github.com/facebook/cachelib.git
9+
10+
[build]
11+
builder = cmake
12+
subdir = cachelib
13+
job_weight_mib = 2048
14+
15+
[dependencies]
16+
zlib
17+
fizz
18+
fmt
19+
folly
20+
fbthrift
21+
googletest
22+
sparsemap
23+
wangle
24+
zstd
25+
mvfst
26+
numa
27+
# cachelib also depends on openssl but since the latter requires a platform-
28+
# specific configuration we rely on the folly manifest to provide this
29+
# dependency to avoid duplication.
30+
31+
[shipit.pathmap]
32+
fbcode/cachelib = cachelib
33+
fbcode/cachelib/public_tld = .
34+
35+
[shipit.strip]
36+
^fbcode/cachelib/examples(/|$)
37+
^fbcode/cachelib/facebook(/|$)
38+
^fbcode/cachelib/public_tld/website/docs/facebook(/|$)
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
[manifest]
2+
name = numa
3+
4+
[download]
5+
url = https://github.com/numactl/numactl/releases/download/v2.0.19/numactl-2.0.19.tar.gz
6+
sha256 = f2672a0381cb59196e9c246bf8bcc43d5568bc457700a697f1a1df762b9af884
7+
8+
[build]
9+
builder = autoconf
10+
subdir = numactl-2.0.19
11+
12+
[rpms.distro=centos_stream]
13+
numactl-devel
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
[manifest]
2+
name = sparsemap
3+
4+
[download]
5+
url = https://github.com/Tessil/sparse-map/archive/refs/tags/v0.6.2.tar.gz
6+
sha256 = 7020c21e8752e59d72e37456cd80000e18671c803890a3e55ae36b295eba99f6
7+
8+
[build]
9+
builder = cmake
10+
subdir = sparse-map-0.6.2/

0 commit comments

Comments
 (0)