mirror of
https://github.com/opencv/opencv.git
synced 2024-12-02 16:00:17 +08:00
5f637e5a02
* Add the support for riscv64 vector 0.7.1. * fixed GCC warnings * cleaned whitespaces * Remove the worning by the use of internal API of compiler. * Update the license header. * removed trailing whitespaces Co-authored-by: Vadim Pisarevsky <vadim.pisarevsky@me.com> Co-authored-by: yulj <linjie.ylj@alibaba-inc.com> Co-authored-by: Vadim Pisarevsky <vadim.pisarevsky@gmail.com>
10 lines
368 B
CMake
10 lines
368 B
CMake
set(CMAKE_SYSTEM_NAME "Linux")
|
|
set(CMAKE_C_COMPILER riscv64-unknown-linux-gnu-gcc)
|
|
set(CMAKE_CXX_COMPILER riscv64-unknown-linux-gnu-g++)
|
|
|
|
set(CMAKE_CXX_FLAGS "" CACHE STRING "")
|
|
set(CMAKE_C_FLAGS "" CACHE STRING "")
|
|
|
|
set(CMAKE_CXX_FLAGS "-static -march=rv64gcvxthead -mabi=lp64v -pthread")
|
|
set(CMAKE_C_FLAGS "-static -march=rv64gcvxthead -mabi=lp64v -pthread")
|