Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[onert/onert_run] Use arser for onert_run #13549

Merged
merged 1 commit into from
Jul 31, 2024

Conversation

hseok-oh
Copy link
Contributor

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]


Draft: #13366

@hseok-oh hseok-oh added the PR/ready for review It is ready to review. Please review it. label Jul 29, 2024
@hseok-oh hseok-oh requested a review from a team July 29, 2024 08:13
@hseok-oh hseok-oh force-pushed the arser_onert_run branch 2 times, most recently from 4171c5b to ded8151 Compare July 30, 2024 08:43
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]>
Copy link
Contributor

@ragmani ragmani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

#include <cassert>
#include <chrono>
#include <climits>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why climits newly included here?

Copy link
Contributor Author

@hseok-oh hseok-oh Jul 31, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know exact reason, but it might be included from boost/program_options.hpp. Without this, we meet build fail on line 491's PATH_MAX.

Copy link
Contributor

@zetwhite zetwhite left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@hseok-oh hseok-oh merged commit a157c95 into Samsung:master Jul 31, 2024
9 checks passed
@hseok-oh hseok-oh deleted the arser_onert_run branch July 31, 2024 04:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR/ready for review It is ready to review. Please review it.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants