mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-27 03:48:33 +00:00
f02716a806
D125214 split off a MLIRExecutionEngineUtils library that is used by MLIRGPUTransforms. However, currently the entire ExecutionEngine directory is skipped if the LLVM_NATIVE_ARCH target is not available. Move the check for LLVM_NATIVE_ARCH, such that MLIRExecutionEngineUtils always gets built, and only the JIT-related libraries are omitted without native arch. Differential Revision: https://reviews.llvm.org/D125357
19 lines
522 B
CMake
19 lines
522 B
CMake
# Enable errors for any global constructors.
|
|
add_flag_if_supported("-Werror=global-constructors" WERROR_GLOBAL_CONSTRUCTOR)
|
|
|
|
add_subdirectory(Analysis)
|
|
add_subdirectory(Conversion)
|
|
add_subdirectory(Dialect)
|
|
add_subdirectory(IR)
|
|
add_subdirectory(Interfaces)
|
|
add_subdirectory(Parser)
|
|
add_subdirectory(Pass)
|
|
add_subdirectory(Reducer)
|
|
add_subdirectory(Rewrite)
|
|
add_subdirectory(Support)
|
|
add_subdirectory(TableGen)
|
|
add_subdirectory(Target)
|
|
add_subdirectory(Tools)
|
|
add_subdirectory(Transforms)
|
|
add_subdirectory(ExecutionEngine)
|