summaryrefslogtreecommitdiff
path: root/0001-remove-nsync.patch
diff options
context:
space:
mode:
Diffstat (limited to '0001-remove-nsync.patch')
-rw-r--r--0001-remove-nsync.patch17
1 files changed, 16 insertions, 1 deletions
diff --git a/0001-remove-nsync.patch b/0001-remove-nsync.patch
index 8bf253c..71af0b8 100644
--- a/0001-remove-nsync.patch
+++ b/0001-remove-nsync.patch
@@ -9,7 +9,8 @@ Subject: [PATCH] remove nsync
cmake/onnxruntime_unittests.cmake | 22 +++++++++----------
include/onnxruntime/core/platform/ort_mutex.h | 20 ++++++++---------
onnxruntime/core/platform/posix/ort_mutex.cc | 6 ++---
- 5 files changed, 28 insertions(+), 28 deletions(-)
+ cmake/onnxruntime_mlas.cmake | 2 +-
+ 6 files changed, 29 insertions(+), 29 deletions(-)
diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt
index 82a4547..eaebef8 100644
@@ -216,6 +217,20 @@ index e124ce1..5397793 100644
-} // namespace onnxruntime
\ No newline at end of file
+} // namespace onnxruntime
+
+diff --git a/cmake/onnxruntime_mlas.cmake b/cmake/onnxruntime_mlas.cmake
+index e0ccc50..279d63d 100644
+--- a/cmake/onnxruntime_mlas.cmake
++++ b/cmake/onnxruntime_mlas.cmake
+@@ -611,7 +611,7 @@ if (NOT onnxruntime_ORT_MINIMAL_BUILD)
+ if (CPUINFO_SUPPORTED AND NOT CMAKE_SYSTEM_NAME STREQUAL "Emscripten")
+ target_link_libraries(onnxruntime_mlas_q4dq PRIVATE cpuinfo)
+ endif()
+- if(NOT WIN32)
++ if (FALSE AND NOT WIN32)
+ target_link_libraries(onnxruntime_mlas_q4dq PRIVATE nsync::nsync_cpp ${CMAKE_DL_LIBS})
+ endif()
+ if (CMAKE_SYSTEM_NAME STREQUAL "Android")
--
2.41.0