diff --git a/dnn/test/CMakeLists.txt b/dnn/test/CMakeLists.txt index 858d1dcc..0eb3e388 100644 --- a/dnn/test/CMakeLists.txt +++ b/dnn/test/CMakeLists.txt @@ -77,3 +77,8 @@ if(UNIX) target_link_libraries(megdnn_test dl rt) endif() endif() + +install( + TARGETS megdnn_test + EXPORT ${MGE_EXPORT_TARGETS} + RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) diff --git a/dnn/test/arm_common/conv_bias.cpp b/dnn/test/arm_common/conv_bias.cpp index b6d25176..5a6413b6 100644 --- a/dnn/test/arm_common/conv_bias.cpp +++ b/dnn/test/arm_common/conv_bias.cpp @@ -764,8 +764,8 @@ std::vector get_nchw44_channel_wise_benchmark_args( } void BENCHMARK_GROUPCONV_NCHW44_int8x8x16VS_int8x8x32( - const char* algo_name0, const char* algo_name1, Handle* handle, size_t kernel, - size_t stride = 1, size_t pack_size = 1) { + const char* algo_name0, const char* algo_name1, Handle* handle, + size_t /*kernel*/, size_t stride = 1, size_t pack_size = 1) { auto args = get_nchw44_channel_wise_benchmark_args( {2, 3, 5}, stride, false, true, true); diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 030e5e6e..0afdef47 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -61,3 +61,8 @@ if(MGE_WITH_JIT) ${CMAKE_CURRENT_BINARY_DIR}/../src/jit/test/mlir) endif() endif() + +install( + TARGETS megbrain_test + EXPORT ${MGE_EXPORT_TARGETS} + RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})