mirror of
https://github.com/termux/termux-packages.git
synced 2025-05-11 20:13:22 +00:00
21 lines
1.1 KiB
Diff
21 lines
1.1 KiB
Diff
--- a/cmake/onnxruntime_providers_cpu.cmake
|
|
+++ b/cmake/onnxruntime_providers_cpu.cmake
|
|
@@ -225,7 +225,6 @@
|
|
|
|
if (NOT onnxruntime_MINIMAL_BUILD AND NOT onnxruntime_EXTENDED_MINIMAL_BUILD
|
|
AND NOT ${CMAKE_SYSTEM_NAME} MATCHES "Darwin|iOS|visionOS"
|
|
- AND NOT CMAKE_SYSTEM_NAME STREQUAL "Android"
|
|
AND NOT CMAKE_SYSTEM_NAME STREQUAL "Emscripten")
|
|
file(GLOB onnxruntime_providers_shared_cc_srcs CONFIGURE_DEPENDS
|
|
"${ONNXRUNTIME_ROOT}/core/providers/shared/*.h"
|
|
--- a/cmake/onnxruntime_python.cmake
|
|
+++ b/cmake/onnxruntime_python.cmake
|
|
@@ -707,7 +707,6 @@
|
|
|
|
if (NOT onnxruntime_MINIMAL_BUILD AND NOT onnxruntime_EXTENDED_MINIMAL_BUILD
|
|
AND NOT ${CMAKE_SYSTEM_NAME} MATCHES "Darwin|iOS|visionOS"
|
|
- AND NOT CMAKE_SYSTEM_NAME STREQUAL "Android"
|
|
AND NOT onnxruntime_USE_ROCM
|
|
AND NOT CMAKE_SYSTEM_NAME STREQUAL "Emscripten")
|
|
add_custom_command(
|