-
Notifications
You must be signed in to change notification settings - Fork 14
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
PQ code package update script #323
base: main
Are you sure you want to change the base?
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.
Thanks, generally looks good with some comments and questions.
I'm also wondering if we should tie the two a little closer togther. We could make libcrux a git submodule for the pqcp repo and then pull it in on that side? Just an idea, trying to see how we can make this as seamless and hassle-free as possible.
… into jonas/pqcp-update-script
Review re-requested
cp -r "$item" "$pqcp_repo" | ||
done < "$allowlist" | ||
|
||
python "$libcrux_ml_kem_crate/pqcp/cargo.py" "$libcrux_root" |
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.
python
doesn't exist on many systems. You probably want python3
.
cargo clean | ||
|
||
message="$(printf "mlkem-rust-libcrux PQ code packages update\n\n$(date): libcrux revision $(git -C $libcrux_root rev-parse HEAD)")" | ||
git switch -c "libcrux-ml-kem-$(git -C $libcrux_root rev-parse HEAD)" |
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.
This moved the libcrux repo over to this revision. Something doesn't seem quite right here.
This PR has been marked as stale due to a lack of activity for 60 days. If you believe this pull request is still relevant, please provide an update or comment to keep it open. Otherwise, it will be closed in 7 days. |
We finally need to get back to this. This may be a little stale. But still the thing to do. |
This is part of the planned workflow for packaging
libcrux-ml-kem
in the PQ code package. (cf. #302)The script copies files from an allow-list over to the PQCP repo submodule directory. It then runs tests using the default features and upon success creates a signed-off commit in the submodule on a separate branch named after the
libcrux
revision. Pushing needs to be done manually.The allow-list does not include e.g. everything related to C code extraction.