From 095727a247c69a219e74691b9faf9113626f400d Mon Sep 17 00:00:00 2001 From: Logan Riggs Date: Wed, 4 Feb 2026 11:21:32 -0800 Subject: [PATCH 1/2] Use JIT_LINK --- cpp/src/gandiva/engine.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpp/src/gandiva/engine.cc b/cpp/src/gandiva/engine.cc index 8c7beb67b04b..6a1359526267 100644 --- a/cpp/src/gandiva/engine.cc +++ b/cpp/src/gandiva/engine.cc @@ -197,8 +197,8 @@ Result> CreateMemmoryMana } Status UseJITLinkIfEnabled(llvm::orc::LLJITBuilder& jit_builder) { - static auto maybe_use_jit_link = ::arrow::internal::GetEnvVar("GANDIVA_USE_JIT_LINK"); - if (maybe_use_jit_link.ok()) { + bool maybe_use_jit_link = true; + if (maybe_use_jit_link) { ARROW_ASSIGN_OR_RAISE(static auto memory_manager, CreateMemmoryManager()); # if LLVM_VERSION_MAJOR >= 21 jit_builder.setObjectLinkingLayerCreator([&](llvm::orc::ExecutionSession& ES) { From 7d96b8ba48e2108ea97442a1e314fa01dd87b22a Mon Sep 17 00:00:00 2001 From: Logan Riggs Date: Mon, 9 Feb 2026 10:19:26 -0800 Subject: [PATCH 2/2] supress warnings --- ci/vcpkg/overlay/llvm/portfile.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ci/vcpkg/overlay/llvm/portfile.cmake b/ci/vcpkg/overlay/llvm/portfile.cmake index 71f8f6d710f4..0027986c521a 100644 --- a/ci/vcpkg/overlay/llvm/portfile.cmake +++ b/ci/vcpkg/overlay/llvm/portfile.cmake @@ -1,5 +1,7 @@ # Suppress warning: There should be no installed empty directories set(VCPKG_POLICY_ALLOW_EMPTY_FOLDERS enabled) +# Suppress warning about mismatched debug/release binaries when triplet expects debug but we only build release +set(VCPKG_POLICY_MISMATCHED_NUMBER_OF_BINARIES enabled) vcpkg_check_linkage(ONLY_STATIC_LIBRARY) # Only build release configuration to speed up build time