mirror of
https://github.com/open-mmlab/mmdeploy.git
synced 2025-01-14 08:09:43 +08:00
* tmp * refine * update ssd-lite * tmp * tmp * 0.1 * 0.1.1 * rename to base_dense_head * remove debug code * wait stream * update cmakelists * add some comments * fix lint * fix ci error * fix according reviewer comments * update params * fix * support normalize with to_float being false * fix lint * support rv1126 build ci * support rv1126 build ci * change debug level * fix ci * update * update doc * fix circleci error * update normalize * update * check in build script * change name
17 lines
568 B
CMake
17 lines
568 B
CMake
set(CMAKE_SYSTEM_NAME Linux)
|
|
set(CMAKE_SYSTEM_PROCESSOR arm)
|
|
|
|
set(CMAKE_C_COMPILER "arm-linux-gnueabihf-gcc")
|
|
set(CMAKE_CXX_COMPILER "arm-linux-gnueabihf-g++")
|
|
|
|
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
|
|
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
|
|
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
|
|
|
|
set(CMAKE_C_FLAGS "-march=armv7-a -mfloat-abi=hard -mfpu=neon")
|
|
set(CMAKE_CXX_FLAGS "-march=armv7-a -mfloat-abi=hard -mfpu=neon")
|
|
|
|
# cache flags
|
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS}" CACHE STRING "c flags")
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}" CACHE STRING "c++ flags")
|