Skip to content

Commit b1432f3

Browse files
author
zhangdanfeng
committed
change point
Signed-off-by: zhangdanfeng <[email protected]>
1 parent 2c0036f commit b1432f3

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

scripts/tf/build-linux-riscv64-JDSK.sh

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
set -e
88

9-
# change to your path
109
mkdir -p build_tflite
1110

1211
CMAKE_ARGS=()
@@ -26,7 +25,7 @@ CMAKE_ARGS+=("-DHAVE_STD_REGEX=0")
2625
# install
2726
CMAKE_ARGS+=("-DCMAKE_INSTALL_PREFIX=$(pwd)/tflite")
2827
CMAKE_ARGS+=("-DTFLITE_ENABLE_INSTALL=ON")
29-
ABSL_ENABLE_INSTALL
28+
CMAKE_ARGS+=("ABSL_ENABLE_INSTALL=ON")
3029
CMAKE_ARGS+=("-DCMAKE_FIND_PACKAGE_PREFER_CONFIG=ON")
3130
CMAKE_ARGS+=("-Dabsl_DIR=$(pwd)/tflite/lib/cmake/absl")
3231
CMAKE_ARGS+=("-DEigen3_DIR=$(pwd)/tflite/share/eigen3/cmake")
@@ -41,10 +40,10 @@ CMAKE_ARGS+=("-DTFLITE_ENABLE_XNNPACK=ON")
4140
# Use-specified CMake arguments go last to allow overridding defaults
4241
CMAKE_ARGS+=($@)
4342

44-
# change to your path
4543
pushd build_tflite
4644

47-
ccmake ../../tensorflow/tensorflow/lite "${CMAKE_ARGS[@]}"
45+
# change to your path
46+
cmake ../../tensorflow/tensorflow/lite "${CMAKE_ARGS[@]}"
4847

4948
cmake --build .
5049

0 commit comments

Comments
 (0)