File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 6
6
7
7
set -e
8
8
9
- # change to your path
10
9
mkdir -p build_tflite
11
10
12
11
CMAKE_ARGS=()
@@ -26,7 +25,7 @@ CMAKE_ARGS+=("-DHAVE_STD_REGEX=0")
26
25
# install
27
26
CMAKE_ARGS+=(" -DCMAKE_INSTALL_PREFIX=$( pwd) /tflite" )
28
27
CMAKE_ARGS+=(" -DTFLITE_ENABLE_INSTALL=ON" )
29
- ABSL_ENABLE_INSTALL
28
+ CMAKE_ARGS+=( " ABSL_ENABLE_INSTALL=ON " )
30
29
CMAKE_ARGS+=(" -DCMAKE_FIND_PACKAGE_PREFER_CONFIG=ON" )
31
30
CMAKE_ARGS+=(" -Dabsl_DIR=$( pwd) /tflite/lib/cmake/absl" )
32
31
CMAKE_ARGS+=(" -DEigen3_DIR=$( pwd) /tflite/share/eigen3/cmake" )
@@ -41,10 +40,10 @@ CMAKE_ARGS+=("-DTFLITE_ENABLE_XNNPACK=ON")
41
40
# Use-specified CMake arguments go last to allow overridding defaults
42
41
CMAKE_ARGS+=($@ )
43
42
44
- # change to your path
45
43
pushd build_tflite
46
44
47
- ccmake ../../tensorflow/tensorflow/lite " ${CMAKE_ARGS[@]} "
45
+ # change to your path
46
+ cmake ../../tensorflow/tensorflow/lite " ${CMAKE_ARGS[@]} "
48
47
49
48
cmake --build .
50
49
You can’t perform that action at this time.
0 commit comments