-
Notifications
You must be signed in to change notification settings - Fork 496
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
Ensure generic OQS_OPT_TARGET in weekly CT tests #1618
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.
Conceptually I agree that we should test the generic/reference/C code for CT, so this PR makes sense. But I wonder whether it should be extended to also (keep) testing the optimized code? It's running most of the time (as say AVX2 is available in most machines these days). See #1619 as a possible next step.
The optimized code will still be tested via the |
Ah, Yes. Completely overlooked that one. Indeed "haswell" has the relevant extensions. Thanks (for PR & explanation)! |
@dstebila Weekly runs are on Friday, so approval & merge before would be great. Alternatively, shall we exclude such "infrastructure" PRs from the "2 approvals needed" rule? |
I don't know how to change the "2 approvals needed" rule to only apply to certain directories -- we can apply it only to certain branches, but I don't see directories as an option. |
Hmm -- just read the documentation and I also didn't find a way how to do that. A bit disappointing, I'd say. But what I did find is an option that demands approval by code owners. And that can be set to specific directories, right? So what about the idea to carefully define code ownership(s), set this flag and revert back to just 1 review needed for PRs? Not ideal if there's a sole code owner designated for some sections and that person isn't around -- in such case the 4 eyes rule would be better again... |
Set
-DOQS_DIST_BUILD=OFF
in the "generic" weekly constant-time test run so that theOQS_OPT_TARGET
variable has an effect. This currently isn't being done, which means that only theAVX2
versions are being tested (in the weekly "extensions" run). As mentioned in #1617.