Translation.h is currently awkwardly shoved into the top-level mlir, even though it is specific to the mlir-translate tool. This commit moves it to a new Tools/mlir-translate directory, which is intended for libraries used to implement tools. It also splits the translate registry from the main entry point, to more closely mirror what mlir-opt does. Differential Revision: https://reviews.llvm.org/D121026
18 lines
250 B
CMake
18 lines
250 B
CMake
add_mlir_translation_library(MLIRSPIRVSerialization
|
|
Serialization.cpp
|
|
Serializer.cpp
|
|
SerializeOps.cpp
|
|
|
|
DEPENDS
|
|
MLIRSPIRVSerializationGen
|
|
|
|
LINK_LIBS PUBLIC
|
|
MLIRIR
|
|
MLIRSPIRV
|
|
MLIRSPIRVBinaryUtils
|
|
MLIRSupport
|
|
MLIRTranslateLib
|
|
)
|
|
|
|
|