Skip to content

Add support for private external_deps in generated CMake#2564

Closed
afrind wants to merge 2 commits into
facebook:mainfrom
afrind:export-D91102521
Closed

Add support for private external_deps in generated CMake#2564
afrind wants to merge 2 commits into
facebook:mainfrom
afrind:export-D91102521

Conversation

@afrind

@afrind afrind commented Jan 22, 2026

Copy link
Copy Markdown
Contributor

Summary:
Update generate_cmake.py to extract and handle private external_deps from
BUCK files, not just exported_external_deps.

Previously, only exported_external_deps were converted to CMake EXTERNAL_DEPS.
This change adds support for the private external_deps field, ensuring that
dependencies like glog are properly linked even when they're private.

Differential Revision: D91102521

afrind and others added 2 commits January 21, 2026 13:54
Summary:
Replace usage of boost::thread::barrier with folly::test::Barrier in test
files. This reduces the dependency on boost_thread in folly's test code.

The folly::test::Barrier is a simple barrier implementation suitable for
testing purposes.

Differential Revision: D91102520
Summary:
Update generate_cmake.py to extract and handle private external_deps from
BUCK files, not just exported_external_deps.

Previously, only exported_external_deps were converted to CMake EXTERNAL_DEPS.
This change adds support for the private external_deps field, ensuring that
dependencies like glog are properly linked even when they're private.

Differential Revision: D91102521
@meta-codesync

meta-codesync Bot commented Jan 22, 2026

Copy link
Copy Markdown

@afrind has exported this pull request. If you are a Meta employee, you can view the originating Diff in D91102521.

@meta-codesync meta-codesync Bot closed this in 2eeac0c Jan 23, 2026
@meta-codesync

meta-codesync Bot commented Jan 23, 2026

Copy link
Copy Markdown

This pull request has been merged in 2eeac0c.

meta-codesync Bot pushed a commit to facebook/hhvm that referenced this pull request Jan 23, 2026
Summary:
X-link: facebook/folly#2564

Update generate_cmake.py to extract and handle private external_deps from
BUCK files, not just exported_external_deps.

Previously, only exported_external_deps were converted to CMake EXTERNAL_DEPS.
This change adds support for the private external_deps field, ensuring that
dependencies like glog are properly linked even when they're private.

Reviewed By: mjoras, yfeldblum

Differential Revision: D91102521

fbshipit-source-id: 1b5a1cbb2e36785c13e0ac42214f4fb290bd52dc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment