Skip to content

Fix Mac build to actually use VCPKG for LLVM.#16

Open
lriggs wants to merge 4 commits intodremio:dremio_27.0_20from
lriggs:change
Open

Fix Mac build to actually use VCPKG for LLVM.#16
lriggs wants to merge 4 commits intodremio:dremio_27.0_20from
lriggs:change

Conversation

@lriggs
Copy link

@lriggs lriggs commented Feb 14, 2026

What's Changed

Fix Mac build to actually use VCPKG for LLVM.
Add tracking info to release notes.

Add action url to release

Add action url to release
Old grpc uninstall causing error?

fix vcpkg root error

Fix vcpgkg llvm for mac.

vcpkg

vcpkg

Go back to brew for build tools. vcpkg just for llvm

Update macos path

fix path to system files

vcpkg

vcpkg

vcpkg

fix re2 dependency

Make JNI CMake args more robust

- Check if protobuf_ep-install exists before adding Protobuf_ROOT
- Check if re2_ep-install exists before adding re2_ROOT
- This handles cases where system dependencies are used instead of bundled

Use vcpkg RE2 instead of bundled RE2 for macOS Gandiva build

vcpkg installs RE2 as a dependency of LLVM. When we use bundled RE2,
the Arrow C++ build compiles Gandiva against vcpkg's RE2 headers
(which use std::string_view API) but links against bundled RE2
(which uses StringPiece API), causing linker errors.

This change uses vcpkg's RE2 for both compilation and linking when
vcpkg LLVM is used, ensuring ABI compatibility.
fix release notes
@lriggs lriggs requested a review from laurentgo as a code owner February 14, 2026 00:17
@lriggs lriggs changed the base branch from main to dremio_27.0_20 February 14, 2026 00:17
@lriggs lriggs requested a review from jbonofre as a code owner February 14, 2026 00:17
@lriggs lriggs closed this Feb 14, 2026
@lriggs lriggs reopened this Feb 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant