diff options
Diffstat (limited to '0002-remove-nsync.patch')
-rw-r--r-- | 0002-remove-nsync.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/0002-remove-nsync.patch b/0002-remove-nsync.patch new file mode 100644 index 0000000..3c53fa1 --- /dev/null +++ b/0002-remove-nsync.patch @@ -0,0 +1,25 @@ +From c285edeb9c5f8af7893fd4fd08dc803f33bafd3a Mon Sep 17 00:00:00 2001 +From: binsz <274620705z@gmail.com> +Date: Tue, 30 Jan 2024 23:37:42 +0800 +Subject: [PATCH] remove nsync + +--- + cmake/onnxruntime_mlas.cmake | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +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 + |