Skip to content

Commit

Permalink
Fix builds for TensorFlow Lite on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
saudet committed Aug 12, 2024
1 parent 7c5b811 commit 5ff45a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tensorflow-lite/cppbuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ case $PLATFORM in
export CXX="clang++"
;;
windows-x86_64)
sedinplace 's/CMAKE_CXX_STANDARD 17/CMAKE_CXX_STANDARD 20/g' ../tensorflow-$TENSORFLOW_VERSION/tensorflow/lite/CMakeLists.txt
sedinplace 's/CMAKE_CXX_STANDARD 17/CMAKE_CXX_STANDARD 20/g' ../tensorflow-$TENSORFLOW_VERSION/tensorflow/lite/CMakeLists.txt ../tensorflow-$TENSORFLOW_VERSION/tensorflow/lite/c/CMakeLists.txt
sedinplace 's/__PRETTY_FUNCTION__/__func__/g' ../tensorflow-$TENSORFLOW_VERSION/tensorflow/lite/kernels/internal/optimized/depthwiseconv*.h ../tensorflow-$TENSORFLOW_VERSION/tensorflow/lite/kernels/internal/optimized/integer_ops/depthwise_conv.h
export CC="cl.exe -D_USE_MATH_DEFINES -DTFLITE_MMAP_DISABLED"
export CXX="cl.exe -D_USE_MATH_DEFINES -DTFLITE_MMAP_DISABLED"
Expand Down

0 comments on commit 5ff45a2

Please sign in to comment.