-
Notifications
You must be signed in to change notification settings - Fork 138
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
hermetic builds #1160
hermetic builds #1160
Conversation
Adds explicit arguments to the generator scripts to point to the input such that they can be used in a hermetic build where the scripts do not run from the source directory. Remaining inputs are assume to be in the same directory. Additional style changes include: - checking the path for opening files rather than relying on exceptions. - explicity define the type for and check for assignments to curropts array to enable static type checking of the code. - adding missing includes in generated code.
Hermetic builds look for all necessary includes for the features used in the header files. This commit adds the missing includes.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1160 +/- ##
==========================================
- Coverage 94.84% 94.76% -0.09%
==========================================
Files 191 193 +2
Lines 47944 50002 +2058
==========================================
+ Hits 45472 47383 +1911
- Misses 2472 2619 +147
... and 149 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
Python bindings required updating the arguments to the syntax_gen script. Prints the OSError message.
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.
Approach seems fine, just some questions about a few details.
Adds explicit arguments to the generator scripts to point to the input
such that they can be used in a hermetic build where the scripts do
not run from the source directory. Remaining inputs are assume to be
in the same directory.
Adds missing includes.
Fixes #1155