-
Notifications
You must be signed in to change notification settings - Fork 1k
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
update codegen dep and cleanup organization #14127
Conversation
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.
LGTM, but may be good to have someone else also have a look tho
"includes": attr.label_list(providers = [GoLibrary]), | ||
"out": attr.output(), |
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.
nice, this is great
proto/prysm/v1alpha1/BUILD.bazel
Outdated
"Withdrawal", | ||
], | ||
exclude_objs = [ | ||
"Attestation", |
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.
These excludes look like prior fork objs. Perhaps these can be better arranged like
ssz_gen_marshal(
name = "ssz_generated_altair",
...
objs = ssz_altair_objs,
excludes = ssz_phase0_objs,
)
Co-authored-by: Kasey Kirkham <kasey@users.noreply.github.com> (cherry picked from commit 8cd249c)
What type of PR is this?
Other - cleanup
What does this PR do? Why is it needed?
Support for cpu detection to branch around vectorized operations is now available directly in gohashtree. This PR removes the hard coded boolean flag to control whether our code uses the vectorized form and relies on gohashtree to internally pick the right approach. This matches what the code currently does, but just removes the generated code that is currently impossible to reach due to the hard-coded boolean config. In preparation for further changes to code generation, this PR also improves the organization of generated code files, grouping them by fork.