Skip to content

fix(build): Add c-ares installation to Mac setup#16250

Closed
nmahadevuni wants to merge 1 commit intofacebookincubator:mainfrom
nmahadevuni:add_c-ares_to_mac_setup
Closed

fix(build): Add c-ares installation to Mac setup#16250
nmahadevuni wants to merge 1 commit intofacebookincubator:mainfrom
nmahadevuni:add_c-ares_to_mac_setup

Conversation

@nmahadevuni
Copy link
Copy Markdown
Collaborator

c-ares is required by proxygen most probably due to the recent FB_OS_VERSION upgrade. Was missing from Mac setup script.

@netlify
Copy link
Copy Markdown

netlify bot commented Feb 5, 2026

Deploy Preview for meta-velox canceled.

Name Link
🔨 Latest commit aafb854
🔍 Latest deploy log https://app.netlify.com/projects/meta-velox/deploys/698ace81ee8a7e0008b67746

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Feb 5, 2026
@@ -43,7 +43,7 @@ export CMAKE_POLICY_VERSION_MINIMUM="3.5"
DEPENDENCY_DIR=${DEPENDENCY_DIR:-$(pwd)}
# gflags and glog are installed from source to ensure version compatibility.
# Homebrew's glog 0.7.x has breaking API changes that are incompatible with folly.
MACOS_VELOX_DEPS="bison flex googletest icu4c libevent libsodium lz4 openssl protobuf@21 simdjson snappy xz xxhash zstd"
MACOS_VELOX_DEPS="bison flex googletest icu4c libevent libsodium lz4 openssl protobuf@21 simdjson snappy xz xxhash zstd c-ares"
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please out it in alphabetic order into the list. It is not quite alphabetic but almost.

@nmahadevuni nmahadevuni force-pushed the add_c-ares_to_mac_setup branch from e7fc23b to ce26aae Compare February 6, 2026 10:24
@czentgr
Copy link
Copy Markdown
Collaborator

czentgr commented Feb 9, 2026

@nmahadevuni Please rebase. The pre-commit should have been fixed.

@nmahadevuni nmahadevuni force-pushed the add_c-ares_to_mac_setup branch from ce26aae to aafb854 Compare February 10, 2026 06:21
Copy link
Copy Markdown
Collaborator

@czentgr czentgr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@majetideepak when you get a chance please review too.
We should be ok with using c-ares from brew. On Linux we use the OS version. If needed we can pin it to a specific version but if we keep up with FBOS more or less lets hope we don't have the same issue like we had with other deps that required pinning.

# gflags and glog are installed from source to ensure version compatibility.
# Homebrew's glog 0.7.x has breaking API changes that are incompatible with folly.
MACOS_VELOX_DEPS="bison flex googletest icu4c libevent libsodium lz4 openssl protobuf@21 simdjson snappy xz xxhash zstd"
MACOS_VELOX_DEPS="bison c-ares flex googletest icu4c libevent libsodium lz4 openssl protobuf@21 simdjson snappy xz xxhash zstd"
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this go on the Presto side?

@majetideepak
Copy link
Copy Markdown
Collaborator

Moved here prestodb/presto#27135

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants