-
Notifications
You must be signed in to change notification settings - Fork 1
Add printers to standalones #471
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
Conversation
Currently only works for none or cout printer Will allow all standalones to build regardless of build order. Does not contain an error message when the DarkBitmodule function to pull form the postprocessor is used.
This will cover any of the cases known to fail. Also removed a now out of date hack for suspicious points and the standalones.
…t_A_standalone as an example.
|
I added a commit that allows any printer to be used in a standalone. This requires many more printer commands, so if others think that they would prefer it without these changes, I can simply revert the commit. I only did this for the ExampleBit_A_standalone to demonstrate. |
tegonzalo
left a comment
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.
The standalones build as expected and run as expected (except 3bithit and FlavBit cause of FeynHiggs). I asked for some file shuffiling and cosmetic changes
|
I think I've addressed your PR comments. Please have a look and let me know if there is anything else. |
tegonzalo
left a comment
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.
All good here too. Waiting for some tests to finish, will merge right after.
This adds the printers to the standalone builds. This should let the standalones successfully build when built one at a time, and on the Macs. Once combined with PRs #462 and #412 , this should (hopefully) allow the Mac CIs to get past all of their current issues.
Currently only the cout or none printers work. There is a check for whether those are used in the standalone util function made use of. This also removes the script that edited code depending on make targets.
Perhaps we can allow the standalones to make full use of the printers, but that will require more work.
Setting @tegonzalo as the reviewer, but feel free to change to someone else if you prefer.