mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-06-03 23:49:44 +00:00
parent
8d657de4b2
commit
de3d772995
1 changed files with 4 additions and 0 deletions
|
|
@ -40,6 +40,10 @@ if (NOT CMAKE_BUILD_TYPE)
|
|||
set(CMAKE_BUILD_TYPE "RelWithDebInfo" CACHE STRING "Choose build type: Debug Release RelWithDebInfo MinSizeRel." FORCE)
|
||||
endif()
|
||||
|
||||
if("${CMAKE_C_COMPILER_ID}" STREQUAL "GNU" AND CMAKE_C_COMPILER_VERSION VERSION_LESS 8)
|
||||
message(FATAL_ERROR "GCC version must not less than 8")
|
||||
endif()
|
||||
|
||||
# Options
|
||||
option(onnxruntime_RUN_ONNX_TESTS "Enable ONNX Compatibility Testing" OFF)
|
||||
option(onnxruntime_GENERATE_TEST_REPORTS "Enable test report generation" OFF)
|
||||
|
|
|
|||
Loading…
Reference in a new issue