| 1 |
[manifest] |
| 2 |
name = eden |
| 3 |
fbsource_path = fbcode/eden |
| 4 |
shipit_project = eden |
| 5 |
shipit_fbcode_builder = true |
| 6 |
|
| 7 |
[git] |
| 8 |
repo_url = https://github.com/facebook/sapling.git |
| 9 |
|
| 10 |
[github.actions] |
| 11 |
run_tests = off |
| 12 |
|
| 13 |
[sandcastle] |
| 14 |
run_tests = off |
| 15 |
|
| 16 |
[build] |
| 17 |
builder = cmake |
| 18 |
|
| 19 |
[dependencies] |
| 20 |
blake3 |
| 21 |
googletest |
| 22 |
folly |
| 23 |
fbthrift |
| 24 |
fb303 |
| 25 |
cpptoml |
| 26 |
rocksdb |
| 27 |
re2 |
| 28 |
libgit2 |
| 29 |
pexpect |
| 30 |
python-toml |
| 31 |
python-filelock |
| 32 |
edencommon |
| 33 |
rust-shed |
| 34 |
|
| 35 |
[dependencies.fbsource=on] |
| 36 |
rust |
| 37 |
|
| 38 |
# macOS ships with sqlite3, and some of the core system |
| 39 |
# frameworks require that that version be linked rather |
| 40 |
# than the one we might build for ourselves here, so we |
| 41 |
# skip building it on macos. |
| 42 |
[dependencies.not(os=darwin)] |
| 43 |
sqlite3 |
| 44 |
|
| 45 |
[dependencies.os=darwin] |
| 46 |
osxfuse |
| 47 |
|
| 48 |
[dependencies.not(os=windows)] |
| 49 |
# TODO: teach getdeps to compile curl on Windows. |
| 50 |
# Enabling curl on Windows requires us to find a way to compile libcurl with |
| 51 |
# msvc. |
| 52 |
libcurl |
| 53 |
# Added so that OSS doesn't see system "python" which is python 2 on darwin and some linux |
| 54 |
python |
| 55 |
|
| 56 |
[shipit.pathmap.fb=on] |
| 57 |
# for internal builds that use getdeps |
| 58 |
fbcode/fb303 = fb303 |
| 59 |
fbcode/common/rust/fbwhoami = common/rust/fbwhoami |
| 60 |
fbcode/common/rust/shed = common/rust/shed |
| 61 |
fbcode/thrift/lib/rust = thrift/lib/rust |
| 62 |
|
| 63 |
[shipit.pathmap] |
| 64 |
# Map hostcaps for now as eden C++ includes its .h. Rust-shed should install it |
| 65 |
fbcode/common/rust/shed/hostcaps = common/rust/shed/hostcaps |
| 66 |
fbcode/configerator/structs/scm/hg = configerator/structs/scm/hg |
| 67 |
fbcode/eden/oss = . |
| 68 |
fbcode/eden = eden |
| 69 |
fbcode/tools/lfs = tools/lfs |
| 70 |
|
| 71 |
[shipit.pathmap.fb=off] |
| 72 |
fbcode/eden/fs/public_autocargo = eden/fs |
| 73 |
fbcode/eden/scm/public_autocargo = eden/scm |
| 74 |
fbcode/common/rust/shed/hostcaps/public_cargo = common/rust/shed/hostcaps |
| 75 |
fbcode/configerator/structs/scm/hg/public_autocargo = configerator/structs/scm/hg |
| 76 |
|
| 77 |
[shipit.strip] |
| 78 |
^fbcode/eden/addons/.*$ |
| 79 |
^fbcode/eden/fs/eden-config\.h$ |
| 80 |
^fbcode/eden/fs/py/eden/config\.py$ |
| 81 |
^fbcode/eden/hg-server/.*$ |
| 82 |
^fbcode/eden/mononoke/(?!lfs_protocol) |
| 83 |
^fbcode/eden/scm/build/.*$ |
| 84 |
^fbcode/eden/scm/lib/third-party/rust/.*/Cargo.toml$ |
| 85 |
^fbcode/eden/website/.*$ |
| 86 |
^fbcode/eden/.*/\.cargo/.*$ |
| 87 |
/Cargo\.lock$ |
| 88 |
\.pyc$ |
| 89 |
|
| 90 |
[shipit.strip.fb=off] |
| 91 |
^fbcode/common/rust/shed(?!/public_autocargo).*/Cargo\.toml$ |
| 92 |
^fbcode/configerator/structs/scm/hg(?!/public_autocargo).*/Cargo\.toml$ |
| 93 |
^fbcode/eden/fs(?!/public_autocargo).*/Cargo\.toml$ |
| 94 |
^fbcode/eden/scm(?!/public_autocargo|/saplingnative).*/Cargo\.toml$ |
| 95 |
^.*/facebook/.*$ |
| 96 |
^.*/fb/.*$ |
| 97 |
|
| 98 |
[cmake.defines.all(fb=on,os=windows)] |
| 99 |
ENABLE_GIT=OFF |
| 100 |
INSTALL_PYTHON_LIB=ON |
| 101 |
|
| 102 |
[cmake.defines.all(not(fb=on),os=windows)] |
| 103 |
ENABLE_GIT=OFF |
| 104 |
|
| 105 |
[cmake.defines.fbsource=on] |
| 106 |
USE_CARGO_VENDOR=ON |
| 107 |
|
| 108 |
[cmake.defines.fb=on] |
| 109 |
IS_FB_BUILD=ON |
| 110 |
|
| 111 |
[depends.environment] |
| 112 |
EDEN_VERSION_OVERRIDE |