Lang Hames b92839c954 Re-apply "[ORC][LLJIT] Use JITLink by default on ELF/x86-64." with fixes.
This reapplies 85c649bc02a, which was reverted in 35767e43d62 due to failures
with some example programs. The fix was to add export_executable_symbols to the
example programs.
2023-04-23 10:20:09 +00:00

15 lines
219 B
CMake

set(LLVM_LINK_COMPONENTS
Core
ExecutionEngine
IRReader
OrcJIT
Support
nativecodegen
)
add_llvm_example(LLJITWithObjectCache
LLJITWithObjectCache.cpp
)
export_executable_symbols(LLJITWithObjectCache)