Skip to content

Add docopt as a vendor #4082

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

Merged
merged 6 commits into from
Jun 4, 2025
Merged

Add docopt as a vendor #4082

merged 6 commits into from
Jun 4, 2025

Conversation

nickbianco
Copy link
Member

@nickbianco nickbianco commented May 29, 2025

Fixes issue #4061

Brief summary of changes

Adds the latest commit of the C++ port of docopt as a vendor to OpenSim.

Testing I've completed

docopt is indirectly tested via testCommandLineInterface.cpp. I haven't performed any manual testing (yet, I will try soon). We could potentially move some of the tests from the docopt repo over.

Looking for feedback on...

I stripped out the code to build docopt as a header-only library. If we think that might be useful as an option later, I could add it back in.

CHANGELOG.md (choose one)

  • no need to update because...internal change to build system.

This change is Reviewable

@nickbianco nickbianco requested a review from aymanhab May 29, 2025 18:06
Copy link
Member

@aymanhab aymanhab left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@aymanhab
Copy link
Member

aymanhab commented Jun 3, 2025

I assume no actual change to docopt files (they are not in repo) so LGTM

@nickbianco
Copy link
Member Author

The only changes I made to the source were to remove compiler definitions that I didn't think we would use. These were options to build docopt as a header-only library and an option to use the Boost version of regex (which was needed for much older versions of GCC).

Pushed one more commit to remove some #ifdefs that I missed.

@nickbianco
Copy link
Member Author

CI is still passing after the last commit (except for the expected failure on Arm64). Merging.

@nickbianco nickbianco merged commit 1e13710 into main Jun 4, 2025
9 of 10 checks passed
@nickbianco nickbianco deleted the vendor_docopt branch June 4, 2025 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants