Skip to content

Commit

Permalink
[tools/onert_train] Update onert_train to use C++17 (Samsung#12529)
Browse files Browse the repository at this point in the history
This PR updates onert_train to use C++17.

ONE-DCO-1.0-Signed-off-by: SeungHui Youn <[email protected]>
  • Loading branch information
zetwhite authored Jan 26, 2024
1 parent b3eaa9e commit d8d8837
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/tools/onert_train/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ if(NOT BUILD_ONERT)
return()
endif(NOT BUILD_ONERT)

# Use C++17 for onert_train
# TODO: Remove this when we use C++17 for all runtime directories
set(CMAKE_CXX_STANDARD 17)

list(APPEND ONERT_TRAIN_SRCS "src/onert_train.cc")
list(APPEND ONERT_TRAIN_SRCS "src/args.cc")
list(APPEND ONERT_TRAIN_SRCS "src/nnfw_util.cc")
Expand Down

0 comments on commit d8d8837

Please sign in to comment.