Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions ci/vcpkg/overlay/llvm/portfile.cmake
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions cpp/src/gandiva/engine.cc
Original file line number Diff line number Diff line change
Expand Up @@ -197,8 +197,8 @@ Result<std::unique_ptr<llvm::jitlink::InProcessMemoryManager>> 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) {
Expand Down
Loading