mirror of
https://github.com/termux/termux-packages.git
synced 2025-05-11 15:35:38 +00:00
11 lines
457 B
Diff
11 lines
457 B
Diff
+++ ./cmake/CMakeLists.txt
|
|
@@ -1864,3 +1864,8 @@
|
|
set(ARM64X_TARGETS onnxruntime)
|
|
include("${CMAKE_CURRENT_SOURCE_DIR}/arm64x.cmake")
|
|
endif()
|
|
+
|
|
+target_compile_options(onnx PRIVATE "-Wno-unused-variable")
|
|
+target_compile_options(onnxruntime_providers PRIVATE "-Wno-unused-variable")
|
|
+target_compile_options(onnxruntime_providers_xnnpack PRIVATE -Wno-unused-variable)
|
|
+target_compile_options(onnxruntime_providers_nnapi PRIVATE "-Wno-unused-variable")
|