Skip to content

Comments

DX-114802: Fix Mac build to actually use VCPKG for LLVM.#16

Merged
timhurskidremio merged 7 commits intodremio:dremio_27.0_20from
lriggs:change
Feb 24, 2026
Merged

DX-114802: Fix Mac build to actually use VCPKG for LLVM.#16
timhurskidremio merged 7 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
@lriggs lriggs changed the title Fix Mac build to actually use VCPKG for LLVM. DX-114802: Fix Mac build to actually use VCPKG for LLVM. Feb 23, 2026
@timhurskidremio timhurskidremio merged commit 590a513 into dremio:dremio_27.0_20 Feb 24, 2026
11 of 14 checks passed
timhurskidremio pushed a commit to timhurskidremio/dremio-arrow-java that referenced this pull request Feb 24, 2026
* Change release naming scheme to add commit ids.

Add action url to release

Add action url to release

* Mac vcpkg root setting.

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.

* Add username to tag

fix release notes

* Fix merge error

* Fix quotes

* fix env var addressing
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.

2 participants