-
Notifications
You must be signed in to change notification settings - Fork 505
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate OSS build from custom to getdeps
Summary: X-link: facebookincubator/zstrong#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
- Loading branch information
1 parent
a5250bd
commit 4f34c53
Showing
3 changed files
with
61 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
[manifest] | ||
name = cachelib | ||
fbsource_path = fbcode/cachelib | ||
shipit_project = cachelib | ||
shipit_fbcode_builder = true | ||
|
||
[git] | ||
repo_url = https://github.com/facebook/cachelib.git | ||
|
||
[build] | ||
builder = cmake | ||
subdir = cachelib | ||
job_weight_mib = 2048 | ||
|
||
[dependencies] | ||
zlib | ||
fizz | ||
fmt | ||
folly | ||
fbthrift | ||
googletest | ||
sparsemap | ||
wangle | ||
zstd | ||
mvfst | ||
numa | ||
# cachelib also depends on openssl but since the latter requires a platform- | ||
# specific configuration we rely on the folly manifest to provide this | ||
# dependency to avoid duplication. | ||
|
||
[shipit.pathmap] | ||
fbcode/cachelib = cachelib | ||
fbcode/cachelib/public_tld = . | ||
|
||
[shipit.strip] | ||
^fbcode/cachelib/examples(/|$) | ||
^fbcode/cachelib/facebook(/|$) | ||
^fbcode/cachelib/public_tld/website/docs/facebook(/|$) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
[manifest] | ||
name = numa | ||
|
||
[download] | ||
url = https://github.com/numactl/numactl/releases/download/v2.0.19/numactl-2.0.19.tar.gz | ||
sha256 = f2672a0381cb59196e9c246bf8bcc43d5568bc457700a697f1a1df762b9af884 | ||
|
||
[build] | ||
builder = autoconf | ||
subdir = numactl-2.0.19 | ||
|
||
[rpms.distro=centos_stream] | ||
numactl-devel |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[manifest] | ||
name = sparsemap | ||
|
||
[download] | ||
url = https://github.com/Tessil/sparse-map/archive/refs/tags/v0.6.2.tar.gz | ||
sha256 = 7020c21e8752e59d72e37456cd80000e18671c803890a3e55ae36b295eba99f6 | ||
|
||
[build] | ||
builder = cmake | ||
subdir = sparse-map-0.6.2/ |