Skip to content

Commit 2ddbbe2

Browse files
authored
Merge pull request #183 from AhSinan/update_tf
Update Tensorflow commit to a recent one
2 parents 48c54a8 + 6475994 commit 2ddbbe2

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

kleidiai-examples/audiogen/app/CMakeLists.txt

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -26,18 +26,18 @@ endif()
2626
if(NOT TF_SRC_PATH)
2727
include(FetchContent)
2828

29-
FetchContent_Declare(
29+
FetchContent_Declare(
3030
tensorflow_src
3131
GIT_REPOSITORY https://github.com/tensorflow/tensorflow.git
32-
GIT_TAG 84dd28bbc29d75e6a6d917eb2998e4e8ea90ec56
32+
GIT_TAG 3c9e7b2d24bf422e86eff4cff98440ddfdd369cc
3333
)
3434

3535
FetchContent_MakeAvailable(tensorflow_src)
3636

37-
set(TENSORFLOW_SOURCE_DIR ${tensorflow_src_SOURCE_DIR})
37+
set(TENSORFLOW_SOURCE_DIR ${tensorflow_src_SOURCE_DIR} CACHE STRING "" FORCE)
3838

3939
else()
40-
set(TENSORFLOW_SOURCE_DIR ${TF_SRC_PATH})
40+
set(TENSORFLOW_SOURCE_DIR ${TF_SRC_PATH} CACHE STRING "" FORCE)
4141
endif()
4242

4343
set(FLATBUFFERS_SOURCE_DIR ${TENSORFLOW_SOURCE_DIR}/tensorflow/lite/tools/cmake/native_tools/flatbuffers)
@@ -95,12 +95,6 @@ file(REMOVE ${FLATBUFFERS_BIN_DIR}/_deps/flatbuffers-build/flatc "")
9595

9696
add_dependencies(tensorflow-lite flatc_build)
9797

98-
target_compile_definitions(tensorflow-lite PRIVATE
99-
TF_MAJOR_VERSION=0
100-
TF_MINOR_VERSION=0
101-
TF_PATCH_VERSION=0
102-
TF_VERSION_SUFFIX=""
103-
)
10498

10599
# Include headers
106100
target_include_directories(audiogen PRIVATE

0 commit comments

Comments
 (0)