sapling/build/fbcode_builder/manifests
Lukas Piatkowski c763ab4b40 eden/scm: provide getdeps.py way of building eden/scm on GitHub
Summary:
In order to do what the title says, this diff does:
1. Add the `eden/oss/.../third-party/rust/.../Cargo.toml` files. As mentioned in the previous diff, those are required by GitHub so that the third party dependencies that are local in fbsource are properly defined with a "git" dependency in order for Cargo to "link" crates properly.
2. Changes to `eden/scm/Makefile` to add build/install commands for getdeps to invoke. Those command knowing that they are called from withing getdeps context they link the dependencies brought by getdeps into their proper places that match their folder layout in fbsource. Those Makefile commands also pass a GETDEPS_BUILD env to the setup.py invocations so that it knows it is being called withing a getdeps build.
3. Changes to `eden/scm/setup.py` that add "thriftasset" that makes use of the getdeps.py provided "thrift" binary to build .py files out of thrift files.
4. Changes to `distutils_rust` to use the vendored crates dir provided by getdeps.
5. Changes to `getdeps/builder.py` and `getdeps/manifest.py` that enable more fine-grained configuratior of how Makefile builds are invoked.
6. Changes to `getdeps/buildopts.py` and `getdeps/manifest.py` to disable overriding PATH and pkgconfig env, so that "eden/scm" builds in getdeps using system libraries rather than getdeps-provided ones (NOTE: I've tried to use getdeps provided libraries, but the trickiest bit was that Rust links with Python, which is currently not providable by getdeps, so if you try to build everything the system provided Python libraries will collide with getdeps provided ones)
7. Added `opensource/fbcode_builder/manifests/eden_scm` for the getdeps build.

Reviewed By: quark-zju

Differential Revision: D22336485

fbshipit-source-id: 244d10c9e06ee83de61e97e62a1f2a2184d2312f
2020-07-02 17:53:37 -07:00
..
autoconf getdeps: allow satisfying deps from system packages 2020-04-29 11:17:51 -07:00
automake getdeps: allow satisfying deps from system packages 2020-04-29 11:17:51 -07:00
bison getdeps: allow satisfying deps from system packages 2020-04-29 11:17:51 -07:00
boost getdeps: allow satisfying deps from system packages 2020-04-29 11:17:51 -07:00
cmake getdeps: allow satisfying deps from system packages 2020-04-29 11:17:51 -07:00
cpptoml fbcode_builder: add manifest files for some dependencies 2019-05-03 15:59:37 -07:00
double-conversion fbcode_builder: add manifest files for some dependencies 2019-05-03 15:59:37 -07:00
eden eden/scm: provide getdeps.py way of building eden/scm on GitHub 2020-07-02 17:53:37 -07:00
eden_scm eden/scm: provide getdeps.py way of building eden/scm on GitHub 2020-07-02 17:53:37 -07:00
fatal Add manifest for fatal 2020-05-06 22:25:15 -07:00
fb303 add fbcode_builder manifest 2019-07-17 01:11:15 -07:00
fboss Remove rsocket-cpp dependency from OSS projects depending on fbthrift 2020-07-01 11:24:22 -07:00
fbthrift Remove rsocket-cpp dependency from OSS projects depending on fbthrift 2020-07-01 11:24:22 -07:00
fbthrift-rust mononoke: make mononoke_types OSS-buildable 2020-02-24 05:23:07 -08:00
fbzmq Remove dependency on fbzmq::ResourceMonitor & sigar 2020-03-04 16:37:28 -08:00
fizz Add CMake option to fetch deps statically 2019-09-12 23:35:45 -07:00
flex getdeps: allow satisfying deps from system packages 2020-04-29 11:17:51 -07:00
fmt Update fmt from 5.3.0 to 6.1.1 2020-03-19 17:54:15 -07:00
folly getdeps: indicate that folly depends on lz4 2020-05-04 17:19:07 -07:00
gflags fbcode_builder: add manifest files for some dependencies 2019-05-03 15:59:37 -07:00
git-lfs fbcode_builder: getdeps: fboss: add git-lfs fetcher 2019-12-03 11:43:41 -08:00
glog fbcode_builder: add manifest files for some dependencies 2019-05-03 15:59:37 -07:00
googletest getdeps: upgrade googletest from 1.8.1 to 1.10.0 2020-04-30 12:20:08 -07:00
gperf add gperf manifest 2019-09-30 12:17:08 -07:00
iproute2 Update FBOSS OSS build to link with v4.12.0 of iproute2 2020-05-07 09:54:57 -07:00
katran include unit tests and integration tests in the cmake build 2019-09-18 11:58:33 -07:00
libbpf eden/scm: provide getdeps.py way of building eden/scm on GitHub 2020-07-02 17:53:37 -07:00
libcurl getdeps: allow satisfying deps from system packages 2020-04-29 11:17:51 -07:00
libelf getdeps: allow satisfying deps from system packages 2020-04-29 11:17:51 -07:00
libevent getdeps: allow satisfying deps from system packages 2020-04-29 11:17:51 -07:00
libgit2 getdeps: allow satisfying deps from system packages 2020-04-29 11:17:51 -07:00
libmnl getdeps: allow satisfying deps from system packages 2020-04-29 11:17:51 -07:00
libnl getdeps: allow satisfying deps from system packages 2020-04-29 11:17:51 -07:00
libsai Switch OSS build to SAI 1.5 2020-02-20 21:56:12 -08:00
libsodium getdeps: allow satisfying deps from system packages 2020-04-29 11:17:51 -07:00
libtool getdeps: allow satisfying deps from system packages 2020-04-29 11:17:51 -07:00
libusb getdeps: allow satisfying deps from system packages 2020-04-29 11:17:51 -07:00
libzmq getdeps: allow satisfying deps from system packages 2020-04-29 11:17:51 -07:00
lz4 getdeps: allow satisfying deps from system packages 2020-04-29 11:17:51 -07:00
mononoke eden/scm: provide getdeps.py way of building eden/scm on GitHub 2020-07-02 17:53:37 -07:00
mvfst windows build 2019-10-31 19:03:26 -07:00
nghttp2 getdeps: allow satisfying deps from system packages 2020-04-29 11:17:51 -07:00
ninja getdeps: allow satisfying deps from system packages 2020-04-29 11:17:51 -07:00
OpenNSA Fix OpenNSA 6.5.19 hash as Brcm modified the tarball 2020-06-29 10:22:36 -07:00
openr Use BaseService for thrift-handler from oss-fb303 2020-02-27 14:36:18 -08:00
openssl getdeps: allow satisfying deps from system packages 2020-04-29 11:17:51 -07:00
osxfuse fbcode_builder: add manifest files for some dependencies 2019-05-03 15:59:37 -07:00
patchelf getdeps: allow satisfying deps from system packages 2020-04-29 11:17:51 -07:00
pcre getdeps: allow satisfying deps from system packages 2020-04-29 11:17:51 -07:00
perl fbcode_builder: add manifest files for some dependencies 2019-05-03 15:59:37 -07:00
pexpect getdeps: add manifests for pexpect and python-ptyprocess 2019-10-01 08:44:09 -07:00
proxygen add gperf manifest 2019-09-30 12:17:08 -07:00
python getdeps: allow satisfying deps from system packages 2020-04-29 11:17:51 -07:00
python-ptyprocess getdeps: add manifests for pexpect and python-ptyprocess 2019-10-01 08:44:09 -07:00
python-six add a builder that can re-package python wheel files 2019-09-19 11:33:35 -07:00
python-toml add a builder that can re-package python wheel files 2019-09-19 11:33:35 -07:00
re2 getdeps: allow satisfying deps from system packages 2020-04-29 11:17:51 -07:00
rocksdb re-enable lz4 compression for rocksdb on macOS and Linux 2020-06-15 10:36:55 -07:00
rust-shed cargo_from_buck: add the patch section to Cargo workspace and allow workspace appending to existing manifest 2020-06-17 06:27:39 -07:00
snappy getdeps: allow satisfying deps from system packages 2020-04-29 11:17:51 -07:00
sqlite3 getdeps: allow satisfying deps from system packages 2020-04-29 11:17:51 -07:00
wangle getdeps: introduce build --enable-tests option 2019-05-08 08:21:16 -07:00
watchman watchman: teach watchman to talk to EdenFS on Windows 2020-03-31 12:55:23 -07:00
zlib getdeps: allow satisfying deps from system packages 2020-04-29 11:17:51 -07:00
zstd getdeps: upgrade zstd from 1.3.8 -> 1.4.4 2020-05-14 18:08:22 -07:00