Skip to content

Commit

Permalink
Try adding dylib to symbol lookup.
Browse files Browse the repository at this point in the history
  • Loading branch information
lriggs committed Jan 6, 2025
1 parent 307ad46 commit 3db732b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cpp/src/gandiva/engine.cc
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,10 @@ Result<std::unique_ptr<llvm::orc::LLJIT>> BuildJIT(
std::move(*target_machine), &object_cache.value().get());
});
}
#if LLVM_VERSION_MAJOR >= 17
jit_builder.setLinkProcessSymbolsByDefault(true);
#endif

auto maybe_jit = jit_builder.create();
ARROW_ASSIGN_OR_RAISE(auto jit,
AsArrowResult(maybe_jit, "Could not LR create LLJIT instance: "));
Expand Down

0 comments on commit 3db732b

Please sign in to comment.