File tree Expand file tree Collapse file tree 5 files changed +7
-10
lines changed
runtime/workspace/executorchcoreml.xcodeproj Expand file tree Collapse file tree 5 files changed +7
-10
lines changed Original file line number Diff line number Diff line change 67
67
[submodule "shim "]
68
68
path = shim
69
69
url = https://github.com/facebook/buck2-shims-meta
70
+ [submodule "third-party/json "]
71
+ path = third-party/json
72
+ url = https://github.com/nlohmann/json.git
Original file line number Diff line number Diff line change 925
925
"$(SRCROOT)/../include/executorch/runtime/core/portable_type/c10",
926
926
"$(SRCROOT)/../sdk",
927
927
"$(SRCROOT)/../util",
928
- "$(SRCROOT)/../../third-party/nlohmann_json /single_include",
928
+ "$(SRCROOT)/../../../../../ third-party/json /single_include",
929
929
"$(SRCROOT)/../../third-party/coremltools/deps/protobuf/src",
930
930
);
931
931
IPHONEOS_DEPLOYMENT_TARGET = 16.0;
957
957
"$(SRCROOT)/../include/executorch/runtime/core/portable_type/c10",
958
958
"$(SRCROOT)/../sdk",
959
959
"$(SRCROOT)/../util",
960
- "$(SRCROOT)/../../third-party/nlohmann_json /single_include",
960
+ "$(SRCROOT)/../../../../../ third-party/json /single_include",
961
961
"$(SRCROOT)/../../third-party/coremltools/deps/protobuf/src",
962
962
);
963
963
IPHONEOS_DEPLOYMENT_TARGET = 16.0;
Original file line number Diff line number Diff line change @@ -49,14 +49,6 @@ mkdir "$COREMLTOOLS_DIR_PATH/build"
49
49
cmake -S " $COREMLTOOLS_DIR_PATH " -B " $COREMLTOOLS_DIR_PATH /build"
50
50
cmake --build " $COREMLTOOLS_DIR_PATH /build" --parallel --target mlmodel
51
51
52
- echo " ${green} ExecuTorch: Cloning nlohmann."
53
- git clone https://github.com/nlohmann/json.git " $COREML_DIR_PATH /third-party/nlohmann_json"
54
- STATUS=$?
55
- if [ $STATUS -ne 0 ]; then
56
- echo " ${red} ExecuTorch: Failed to clone nlohmann."
57
- exit 1
58
- fi
59
-
60
52
echo " ${green} ExecuTorch: Copying protobuf files."
61
53
mkdir -p " $COREML_DIR_PATH /runtime/sdk/format/"
62
54
cp -rf " $PROTOBUF_FILES_DIR_PATH " " $COREML_DIR_PATH /runtime/sdk/format/"
Original file line number Diff line number Diff line change 4
4
# This source code is licensed under the BSD-style license found in the
5
5
# LICENSE file in the root directory of this source tree.
6
6
7
+ add_subdirectory (json )
7
8
8
9
# MARK: - flatbuffers
9
10
You can’t perform that action at this time.
0 commit comments