llvm-project/mlir/test/mlir-cpu-runner/CMakeLists.txt

13 lines
474 B
CMake

set(LLVM_OPTIONAL_SOURCES
mlir_test_cblas.cpp
mlir_test_cblas_interface.cpp
)
add_llvm_library(mlir_test_cblas SHARED mlir_test_cblas.cpp)
target_compile_definitions(mlir_test_cblas PRIVATE mlir_test_cblas_EXPORTS)
add_llvm_library(mlir_test_cblas_interface SHARED mlir_test_cblas_interface.cpp)
target_link_libraries(mlir_test_cblas_interface PRIVATE mlir_test_cblas)
target_compile_definitions(mlir_test_cblas_interface PRIVATE mlir_test_cblas_interface_EXPORTS)