-
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 #1155
Comments
Yes, I would accept a PR for this, though I can't guarantee it will remain buildable if there's no CI job ensuring that the hermetic build continues to work. |
Thanks for your reply. You make a good point of maintenance. I believe we have two options:
We can then incrementally remove all the disabled warnings and get to a clean build with the most pedantic set of warnings. This second option does not address the file locations and Python type checking. But together with the PR I suggested, gets us quite most of the way -- the C++ source won't need any additional maintenance work. Please let me know what you think. |
Hmm, I'm not excited about having a second parallel build system to maintain, even if you contribute the initial implementation. I don't know much about Bazel; is it unable to consume 3rd party libraries that have a cmake build system? It's also unclear to me why the pedantic set of warnings is necessary for hermetic builds. Maybe let's just start with your PR and we can see how much pain there is for you to maintain that over time. It's not like I'm going to go out of my way to break hermetic builds for you in the future. |
Fair. I opened #1160. The pedantic warnings was just a suggestion driven by the side-effects of using a different build system with stricter defaults. |
Describe the bug
Hermetic builds are a bit more strict with includes and paths.
Additional context
I have a potential PR that consists of a couple of commits enabling such builds. Two main issues addressed in different commits:
Please let me know it this is of interest.
The text was updated successfully, but these errors were encountered: