mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
04d6014634
- Update documentation now that the move to monorepo has been made - Do not tie compiler extension testing to LLVM_BUILD_EXAMPLES - No need to specify LLVM libraries for plugins - Add NO_MODULE option to match Polly specific requirements (i.e. building the module *and* linking it statically) - Issue a warning when building the compiler extension with LLVM_BYE_LINK_INTO_TOOLS=ON, as it modifies the behavior of clang, which only makes sense for testing purpose. Still mark llvm/test/Feature/load_extension.ll as XFAIL because of a ManagedStatic dependency that's going to be fixed in a seperate commit. Differential Revision: https://reviews.llvm.org/D72327
14 lines
329 B
CMake
14 lines
329 B
CMake
if(LLVM_BYE_LINK_INTO_TOOLS)
|
|
message(WARNING "Setting LLVM_BYE_LINK_INTO_TOOLS=ON only makes sense for testing purpose")
|
|
endif()
|
|
|
|
add_llvm_pass_plugin(Bye
|
|
Bye.cpp
|
|
DEPENDS
|
|
intrinsics_gen
|
|
BUILDTREE_ONLY
|
|
)
|
|
|
|
install(TARGETS ${name} RUNTIME DESTINATION examples)
|
|
set_target_properties(${name} PROPERTIES FOLDER "Examples")
|