From 8fed89faa2381841caa9e67e282684448758f12e Mon Sep 17 00:00:00 2001 From: Ilya Lavrenov Date: Sat, 31 Aug 2024 02:55:20 +0400 Subject: [PATCH] Checked Android RISCV64 and adjusted cmake messages (#245) --- src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 4211d7a2..c2787a1d 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -60,7 +60,7 @@ if(ANDROID) if(ANDROID_NATIVE_API_LEVEL LESS 33) message(FATAL_ERROR "FastTokenizers require ANDROID_NATIVE_API_LEVEL to be higher than 33. Please, either disable FastTokenizers or set ANDROID_NATIVE_API_LEVEL / ANDROID_PLATFORM") endif() - elseif(X86_64) + elseif(X86_64 OR RISCV64) message(WARNING "FastTokenizers are not available on ${CMAKE_SYSTEM_NAME} ${CMAKE_SYSTEM_PROCESSOR}. ENABLE_FAST_TOKENIZERS is set to OFF") set(FAST_TOKENIZERS_SUPPORTED OFF) else()