File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -35,8 +35,10 @@ sedinplace '/#include <math.h>/a\
3535sedinplace " s/TFLITE_VERSION_STRING/\" $TENSORFLOW_VERSION \" /g" tensorflow-$TENSORFLOW_VERSION /tensorflow/lite/core/c/c_api.cc
3636sedinplace " s/TFLITE_EXTENSION_APIS_VERSION_STRING/\" $TENSORFLOW_VERSION \" /g" tensorflow-$TENSORFLOW_VERSION /tensorflow/lite/core/c/c_api.cc
3737sedinplace ' /private:/d' tensorflow-$TENSORFLOW_VERSION /tensorflow/lite/core/model_building.h
38+ sedinplace ' /core\/example/d' tensorflow-$TENSORFLOW_VERSION /tensorflow/lite/CMakeLists.txt
3839sedinplace " s:TENSORFLOW_SOURCE_DIR \"\" :TENSORFLOW_SOURCE_DIR \" $PWD /tensorflow-$TENSORFLOW_VERSION \" :g" tensorflow-$TENSORFLOW_VERSION /tensorflow/lite/CMakeLists.txt
3940
41+
4042if [[ ! " $PLATFORM " == windows* ]]; then
4143 mkdir -p build_flatc
4244 cd build_flatc
@@ -123,6 +125,7 @@ sedinplace '/CMakeCCompilerId.o/d' objs
123125sedinplace ' /CMakeCXXCompilerId.o/d' objs
124126sedinplace ' /tensorflowlite_c.dir/d' objs
125127sedinplace ' /tensorflow_profiler_logger/d' objs
128+ sedinplace ' /xnnpack-operator-delete.dir/d' objs
126129# convert to DOS paths with short names to prevent exceeding MAX_PATH on Windows
127130if which cygpath; then
128131 cygpath -d -f objs > objs.dos
You can’t perform that action at this time.
0 commit comments