-
Notifications
You must be signed in to change notification settings - Fork 51
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
Fix Highway hook: change optarch in pre_prepare_hook
and reset it in post_prepare_hook
#532
Fix Highway hook: change optarch in pre_prepare_hook
and reset it in post_prepare_hook
#532
Conversation
Instance
|
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.
looks good, I would just add a comment to help ensure that the condition is kept in sync in the pre/post hooks used for Highway...
Co-authored-by: Kenneth Hoste <[email protected]>
Co-authored-by: Kenneth Hoste <[email protected]>
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
Since the hook is changing a general build option (for setting
optarch=GENERIC
), it has to be reset afterwards. See #529 (review).Tested it interactively for Haswell, Neoverse N1+V1. We could also let the bot do it, but then we'll need to add a rebuild easystack file.