Skip to content

Commit

Permalink
[onert/onert_run] Use arser for onert_run (#13549)
Browse files Browse the repository at this point in the history
This commit updates onert_run to use arser for argument parsing instead of boost::program_options.

ONE-DCO-1.0-Signed-off-by: Hyeongseok Oh <[email protected]>
  • Loading branch information
hseok-oh authored Jul 31, 2024
1 parent bb70676 commit a157c95
Show file tree
Hide file tree
Showing 4 changed files with 275 additions and 236 deletions.
4 changes: 1 addition & 3 deletions tests/tools/onert_run/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ list(APPEND ONERT_RUN_SRCS "src/nnfw_util.cc")
list(APPEND ONERT_RUN_SRCS "src/randomgen.cc")
list(APPEND ONERT_RUN_SRCS "src/rawformatter.cc")

nnfw_find_package(Boost REQUIRED program_options)
nnfw_find_package(Ruy QUIET)
nnfw_find_package(HDF5 QUIET)

Expand All @@ -31,11 +30,10 @@ else()
endif(HDF5_FOUND)

target_include_directories(onert_run PRIVATE src)
target_include_directories(onert_run PRIVATE ${Boost_INCLUDE_DIRS})

target_link_libraries(onert_run nnfw_lib_tflite jsoncpp)
target_link_libraries(onert_run nnfw-dev)
target_link_libraries(onert_run ${Boost_PROGRAM_OPTIONS_LIBRARY})
target_link_libraries(onert_run arser)
target_link_libraries(onert_run nnfw_lib_benchmark)
if(Ruy_FOUND AND PROFILE_RUY)
target_link_libraries(onert_run ruy_instrumentation)
Expand Down
Loading

0 comments on commit a157c95

Please sign in to comment.