From d186b261aaeddfbd15fcf16bac78ae2f5d851204 Mon Sep 17 00:00:00 2001 From: Alex Hornby Date: Mon, 3 Jun 2024 01:46:35 -0700 Subject: [PATCH] enable more brew system deps (#2219) Summary: Pull Request resolved: 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 --- build/fbcode_builder/manifests/fmt | 3 +++ build/fbcode_builder/manifests/gflags | 3 +++ build/fbcode_builder/manifests/glog | 3 +++ build/fbcode_builder/manifests/googletest | 3 +++ build/fbcode_builder/manifests/snappy | 3 +++ 5 files changed, 15 insertions(+) diff --git a/build/fbcode_builder/manifests/fmt b/build/fbcode_builder/manifests/fmt index eb79496e3d9..9bc0800e5c8 100644 --- a/build/fbcode_builder/manifests/fmt +++ b/build/fbcode_builder/manifests/fmt @@ -12,3 +12,6 @@ subdir = fmt-9.1.0 [cmake.defines] FMT_TEST = OFF FMT_DOC = OFF + +[homebrew] +fmt diff --git a/build/fbcode_builder/manifests/gflags b/build/fbcode_builder/manifests/gflags index a6af8ba2455..7c26690aa90 100644 --- a/build/fbcode_builder/manifests/gflags +++ b/build/fbcode_builder/manifests/gflags @@ -15,5 +15,8 @@ BUILD_STATIC_LIBS = ON #BUILD_gflags_nothreads_LIB = OFF BUILD_gflags_LIB = ON +[homebrew] +gflags + [debs] libgflags-dev diff --git a/build/fbcode_builder/manifests/glog b/build/fbcode_builder/manifests/glog index 5c60527ed0d..b72836d2c8a 100644 --- a/build/fbcode_builder/manifests/glog +++ b/build/fbcode_builder/manifests/glog @@ -21,5 +21,8 @@ WITH_PKGCONFIG=ON HAVE_TR1_UNORDERED_MAP=OFF HAVE_TR1_UNORDERED_SET=OFF +[homebrew] +glog + [debs] libgoogle-glog-dev diff --git a/build/fbcode_builder/manifests/googletest b/build/fbcode_builder/manifests/googletest index 90b05c635fb..ffbfc233c9e 100644 --- a/build/fbcode_builder/manifests/googletest +++ b/build/fbcode_builder/manifests/googletest @@ -17,6 +17,9 @@ 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 diff --git a/build/fbcode_builder/manifests/snappy b/build/fbcode_builder/manifests/snappy index c4517efa24d..b184c2aa74c 100644 --- a/build/fbcode_builder/manifests/snappy +++ b/build/fbcode_builder/manifests/snappy @@ -1,6 +1,9 @@ [manifest] name = snappy +[homebrew] +snappy + [debs] libsnappy-dev