Skip to content

Commit

Permalink
temp fallback for ci test
Browse files Browse the repository at this point in the history
  • Loading branch information
guodongliang committed Oct 8, 2024
1 parent 2c5dfaa commit 7c0bf99
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,12 @@ endif()
set(NTT_UNROOL_NUM 1 CACHE STRING "Set the unroll number for loop unrolling")
add_compile_definitions(NTT_UNROOL_NUM=${NTT_UNROOL_NUM})

# Workaroud for riscv toolchain auto vectorization bugs in O3
if (${CMAKE_SYSTEM_PROCESSOR} MATCHES
"(riscv32)|(riscv64)")
set(CMAKE_CXX_FLAGS_RELEASE "-O2 -DNDEBUG")
endif()

include(cmake/dependencies.cmake)

set(NNCASE_MAIN_INCLUDE_DIR ${CMAKE_CURRENT_LIST_DIR}/src/Native/include)
Expand Down

0 comments on commit 7c0bf99

Please sign in to comment.