mirror of
https://github.com/opencv/opencv.git
synced 2025-08-06 06:26:29 +08:00
RISC-V: fix installation process
This commit is contained in:
parent
100db1bc0b
commit
81ab6a3fbd
@ -423,9 +423,6 @@ elseif(RISCV)
|
|||||||
|
|
||||||
ocv_update(CPU_RVV_FLAGS_CONFLICT "-march=[^ ]*")
|
ocv_update(CPU_RVV_FLAGS_CONFLICT "-march=[^ ]*")
|
||||||
|
|
||||||
if(NOT ${BUILD_SHARED_LIBS}) # static build for k230
|
|
||||||
add_extra_compiler_option("-static -static-libgcc -static-libstdc++")
|
|
||||||
endif()
|
|
||||||
set(CPU_DISPATCH "FP16;RVV_ZVFH" CACHE STRING "${HELP_CPU_DISPATCH}")
|
set(CPU_DISPATCH "FP16;RVV_ZVFH" CACHE STRING "${HELP_CPU_DISPATCH}")
|
||||||
set(CPU_BASELINE "DETECT" CACHE STRING "${HELP_CPU_BASELINE}")
|
set(CPU_BASELINE "DETECT" CACHE STRING "${HELP_CPU_BASELINE}")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user