From 7a95d67bb52609a195ff2d785c61a3061f0295bd Mon Sep 17 00:00:00 2001 From: zhangwm Date: Fri, 14 Apr 2023 17:08:29 +0800 Subject: [PATCH] C908: fix build --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8786692b..c0f2eb2a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -137,7 +137,7 @@ if(BUILD_RISCV) LIST(APPEND C908_LST ${NN2_SRCS} ${REF_SRCS} ${GREF_SRCS} ${THEAD_RVV_SRCS} ${C908_SRCS}) add_library(c908_static STATIC ${C908_LST}) SET_TARGET_PROPERTIES(c908_static PROPERTIES OUTPUT_NAME "shl_c908") - set(C908_BUILD_FLAGS -march=rv64gcv_zfh_xtheadc_xtheadv -mabi=lp64d -DSHL_BUILD_C908 -DSHL_BUILD_REF -DSHL_BUILD_GREF -DSHL_BUILD_RVV) + set(C908_BUILD_FLAGS -march=rv64gcv_zfh_xtheadc_xtheadvdot -mabi=lp64d -DSHL_BUILD_C908 -DSHL_BUILD_REF -DSHL_BUILD_GREF -DSHL_BUILD_RVV) target_compile_options(c908_static PRIVATE ${C908_BUILD_FLAGS}) install(TARGETS c908_static DESTINATION lib)