CMakeLists.txt 355 Bytes
add_llvm_library(MLIRSPIRVSerialization
  Deserializer.cpp
  Serializer.cpp
  SPIRVBinaryUtils.cpp
  TranslateRegistration.cpp

  ADDITIONAL_HEADER_DIRS
  ${MLIR_MAIN_INCLUDE_DIR}/mlir/Dialect/SPIRV
  )

add_dependencies(MLIRSPIRVSerialization
  MLIRSPIRVSerializationGen)

target_link_libraries(MLIRSPIRVSerialization
  MLIRIR
  MLIRSPIRV
  MLIRSupport)