Summary:
[getdeps] restore rpm system deps for fedora
centOS (even stream) tends to be quite old and thus ends up having its rpm system deps turned off, e.g. boost in D55758008 and glog and gtest in D51813855. Unfortunate the rpm deps were removed entirely rather than limited by distro or distro_vers.
Lets restore the rpm deps but specify distro=fedora to reduce the risk of people removing them entirely.
Also:
* fedora has up to date gtest & gmock, so use them
* zlib-ng-compat added from fedora 38 with zlib removed from F40, so update zlib rpm names. F37 is EOL
X-link: https://github.com/facebook/folly/pull/2231
Reviewed By: HarveyHunt
Differential Revision: D58324546
Pulled By: ahornby
fbshipit-source-id: a4d5e8620cf55701e19317a301db3846d60f8d4b
Summary:
X-link: https://github.com/facebook/folly/pull/2219
Save a bit of time on each github build. Enable homebrew system deps for fmt, gflags, glog, googletest, snappy
Reviewed By: chadaustin
Differential Revision: D57967014
fbshipit-source-id: 286ba96fb384e1b5e8f4e97160af2b801e458aef
Summary:
Building projects using `--allow-system-packages` on CentOS for
projects that rely on `gflags` fails. I'm not completely sure why this is the
case and myself and kmancini have spent some time trying to investigate this.
Fix these builds by disabling the system packages on CentOS.
Reviewed By: chadaustin
Differential Revision: D51813855
fbshipit-source-id: aae48e2723fea94f088af02eace831af9e988c7c
Summary:
To allow us to ship Watchman as a single binary RPM, build snappy,
glog, and gflags against system packages on Fedora.
Reviewed By: genevievehelsel, xavierd
Differential Revision: D39111816
fbshipit-source-id: 679e52b1a2d3fb7e71142c5990648ff102e7f43d
Summary:
This makes our open source builds faster. I tested on both Ubuntu
18.04 and Ubuntu 20.04.
Reviewed By: genevievehelsel
Differential Revision: D36552498
fbshipit-source-id: 02867fccc275ec775d0fdfaaf0f686ecdbbc4eaf
Summary:
These are ported over from the logic in the watchman and eden getdeps
scripts, with additions to help bootstrap a build environment.
These are sufficient to build watchman with thrift support on windows, mac and
linux, and eden on mac and linux when combined with the getdeps code that
follows in later diffs in this stack.
Reviewed By: simpkins
Differential Revision: D14691005
fbshipit-source-id: 7f8b02fedcdc020e2d0e758c466959d8161d4587