Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #10322 - Bump CLI11 from 2.3.2 to 2.4.2
Turns out the issue is that I rely on CLI11's (circa 2.3.2) interpretation of argc/argv, which for linux reads `/proc/self/cmdline` separated by null terminators. https://github.com/CLIUtils/CLI11/blob/985a19f3860be0cba87354336f6588494b20111c/include/CLI/impl/Argv_inl.hpp#L141 When you run under rosetta, you end up with a duplicated program path, looks like rosetta is trying to remove itself from the command line but duplicating it. So wheen you call `energyplus --help` what cmdline has is `energyplus energyplus --help`. This bumps to CLI11 to 2.4.2, and moves back to using the actual main argc/argv instead of relying on the `static_args` that reads `/proc/self/cmdline` Note: I suppose I could also have achieved the same thing without bumping to 2.4.2, but might as well do it since there were numeros unicode related fixes as well
- Loading branch information
fd3337f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
10322_docker_cmdline (jmarrec) - Win64-Windows-10-VisualStudio-16: OK (2844 of 2844 tests passed, 0 test warnings)
fd3337f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
10322_docker_cmdline (jmarrec) - x86_64-MacOS-10.18-clang-15.0.0: OK (3634 of 3636 tests passed, 0 test warnings)
Messages:\n
Failures:\n
regression Test Summary
fd3337f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
10322_docker_cmdline (jmarrec) - x86_64-Linux-Ubuntu-22.04-gcc-11.4: OK (3675 of 3677 tests passed, 0 test warnings)
Messages:\n
Failures:\n
regression Test Summary
fd3337f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
10322_docker_cmdline (jmarrec) - x86_64-Linux-Ubuntu-22.04-gcc-11.4-IntegrationCoverage-Debug: OK (795 of 795 tests passed, 0 test warnings)
fd3337f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
10322_docker_cmdline (jmarrec) - x86_64-Linux-Ubuntu-22.04-gcc-11.4-UnitTestsCoverage-Debug: OK (2052 of 2052 tests passed, 0 test warnings)