mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-27 13:36:07 +00:00

Fix the builds with LLVM_TOOL_LLVM_DRIVER_BUILD enabled. LLVM_ENABLE_EXPORTED_SYMBOLS_IN_EXECUTABLES is not completely compatible with export_executable_symbols as the later will be ignored if the previous is set to NO. Fix the issue by passing if symbols need to be exported to llvm_add_exectuable so the link flag can be determined directly without calling export_executable_symbols_* later.
15 lines
186 B
CMake
15 lines
186 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
OrcShared
|
|
OrcTargetProcess
|
|
Support
|
|
)
|
|
|
|
add_llvm_utility(llvm-jitlink-executor
|
|
llvm-jitlink-executor.cpp
|
|
|
|
DEPENDS
|
|
intrinsics_gen
|
|
|
|
EXPORT_SYMBOLS
|
|
)
|