mirror of
https://github.com/facebook/proxygen.git
synced 2025-08-07 07:02:53 +03:00
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
31 lines
697 B
Plaintext
31 lines
697 B
Plaintext
[manifest]
|
|
name = googletest
|
|
|
|
[download]
|
|
url = https://github.com/google/googletest/archive/refs/tags/release-1.12.1.tar.gz
|
|
sha256 = 81964fe578e9bd7c94dfdb09c8e4d6e6759e19967e397dbea48d1c10e45d0df2
|
|
|
|
[build]
|
|
builder = cmake
|
|
subdir = googletest-release-1.12.1
|
|
|
|
[cmake.defines]
|
|
# Everything else defaults to the shared runtime, so tell gtest that
|
|
# it should not use its choice of the static runtime
|
|
gtest_force_shared_crt=ON
|
|
|
|
[cmake.defines.os=windows]
|
|
BUILD_SHARED_LIBS=ON
|
|
|
|
[homebrew]
|
|
googletest
|
|
|
|
# packaged googletest is too old
|
|
[debs.not(all(distro=ubuntu,any(distro_vers="18.04",distro_vers="20.04",distro_vers="22.04")))]
|
|
libgtest-dev
|
|
libgmock-dev
|
|
|
|
[rpms.distro=fedora]
|
|
gmock-devel
|
|
gtest-devel
|