Skip to content

Commit

Permalink
math/ruy: remove ruy library from cmake list
Browse files Browse the repository at this point in the history
ruy is not really used, tflite just uses the header file

Error log from CMake:
================================================================
-- Configuring done (2.1s)
CMake Error at cmake/nuttx_add_library.cmake:183 (add_library):
  No SOURCES given to target: ruy
Call Stack (most recent call first):
  apps/math/ruy/CMakeLists.txt:57 (nuttx_add_library)

Signed-off-by: chao an <[email protected]>
  • Loading branch information
anchao committed Nov 29, 2024
1 parent 2d72b33 commit 913f717
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions math/ruy/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,17 +44,22 @@ if(CONFIG_MATH_RUY)
endif()
endif()

# cmake-format: off
# NOTE: ruy is not really used, tflite just uses the header file

# ############################################################################
# Include Directory
# ############################################################################

set(INCDIR ${CMAKE_CURRENT_LIST_DIR}/ruy)
# set(INCDIR ${CMAKE_CURRENT_LIST_DIR}/ruy)

# ############################################################################
# Library Configuration
# ############################################################################

nuttx_add_library(ruy STATIC)
target_include_directories(ruy PUBLIC ${INCDIR})
# nuttx_add_library(ruy STATIC)
# target_include_directories(ruy PUBLIC ${INCDIR})

# cmake-format: on

endif()

0 comments on commit 913f717

Please sign in to comment.