typesense/cmake/onnx.patch
2023-03-22 03:41:20 +03:00

43 lines
1.4 KiB
Diff

diff --git a/cmake/external/helper_functions.cmake b/cmake/external/helper_functions.cmake
index 88b46890b7..d090499971 100644
--- a/cmake/external/helper_functions.cmake
+++ b/cmake/external/helper_functions.cmake
@@ -117,7 +117,6 @@ macro(onnxruntime_fetchcontent_makeavailable)
${__cmake_contentName}
${__cmake_contentNameLower}
)
- find_package(${__cmake_contentName} ${__cmake_fpArgs})
list(POP_BACK __cmake_fcCurrentNameStack
__cmake_contentNameLower
__cmake_contentName
diff --git a/.gitmodules b/.gitmodules
index 8e4217162b..bb63b7d9c5 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -1,9 +1,11 @@
[submodule "cmake/external/protobuf"]
path = cmake/external/protobuf
url = https://github.com/protocolbuffers/protobuf.git
+ branch = 22.x
[submodule "cmake/external/onnx"]
path = cmake/external/onnx
url = https://github.com/onnx/onnx.git
+ branch = rel-1.13.1
[submodule "cmake/external/eigen"]
path = cmake/external/eigen
url = https://gitlab.com/libeigen/eigen.git
@@ -13,7 +15,8 @@
[submodule "cmake/external/emsdk"]
path = cmake/external/emsdk
url = https://github.com/emscripten-core/emsdk.git
- branch = 3.1.19
+ tag = 3.1.19
[submodule "cmake/external/onnxruntime-extensions"]
path = cmake/external/onnxruntime-extensions
url = https://github.com/microsoft/onnxruntime-extensions.git
+ branch = rel-0.7