-
Notifications
You must be signed in to change notification settings - Fork 37
Enable Build On Windows #28
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
baentsch
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.
Thanks for this PR, @AdijeShen -- before going into review detail, I've asked the rest of the team as to whether they're OK with the submodule approach. The change I'd immediate question is the removal of RELEASE.md: If there's no good reason for this (?) please bring it back: As and if someone else starts to maintain this sub project again, there may be an interest to do new releases again...
|
Sorry, just delete it accidentally, I would add it back
…---Original---
From: "Michael ***@***.***>
Date: Fri, Nov 1, 2024 18:29 PM
To: ***@***.***>;
Cc: "Huajie ***@***.******@***.***>;
Subject: Re: [open-quantum-safe/liboqs-java] Enable Build On Windows (PR #28)
@baentsch requested changes on this pull request.
Thanks for this PR, @AdijeShen -- before going into review detail, I've asked the rest of the team as to whether they're OK with the submodule approach. The change I'd immediate question is the removal of RELEASE.md: If there's no good reason for this (?) please bring it back: As and if someone else starts to maintain this sub project again, there may be an interest to do new releases again...
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
|
Hi @AdijeShen, do you plan to continue with this PR? |
Hi @SWilson4 , I will turn back to working on this PR and plan to finish it within one week. |
|
I've completed my revisions by removing the git submodule approach as requested. The current implementation uses static linking with liboqs.a instead of dynamic linking, which might require adjustments to the GitHub CI workflow. Please let me know if any further changes are needed. I'm available to address additional feedback to get this PR ready for merging. |
Thanks for the updates! I am not at all knowledgeable about Windows development and build processes (especially in Java), so please bear with me. Could you elaborate on why it's necessary to change from dynamic to static linking? It would also be great if you could add a CI workflow for Windows. You will also need to add DCO signoff to your commits. Instructions for that are here: https://github.com/open-quantum-safe/liboqs-java/pull/28/checks?check_run_id=39103331593. |
Signed-off-by: Adije Shen <[email protected]>
Signed-off-by: Adije Shen <[email protected]>
Signed-off-by: Adije Shen <[email protected]>
Signed-off-by: Adije Shen <[email protected]>
Signed-off-by: Adije Shen <[email protected]>
Signed-off-by: Adije Shen <[email protected]>
Signed-off-by: Huajie Shen <[email protected]> Signed-off-by: Adije Shen <[email protected]>
Signed-off-by: Adije Shen <[email protected]>
Signed-off-by: Adije Shen <[email protected]>
Signed-off-by: Huajie Shen <[email protected]> Signed-off-by: Adije Shen <[email protected]>
Signed-off-by: Adije Shen <[email protected]>
* Port workflows from CircleCI to GitHub Actions * Add CI job for workflow linting * Update README badge --------- Signed-off-by: Spencer Wilson <[email protected]> Signed-off-by: Adije Shen <[email protected]>
Signed-off-by: John Gray <[email protected]> Signed-off-by: Adije Shen <[email protected]>
…fe#32) * Update to latest CI image Signed-off-by: Spencer Wilson <[email protected]> * Install jdk package and set JAVA_HOME Signed-off-by: Spencer Wilson <[email protected]> * Add macOS job Signed-off-by: Spencer Wilson <[email protected]> * Update README.md and example files Signed-off-by: Spencer Wilson <[email protected]> * Remove unnecessary install Signed-off-by: Spencer Wilson <[email protected]> --------- Signed-off-by: Spencer Wilson <[email protected]>
* Support derandomized key generation for ML-KEM Signed-off-by: Spencer Wilson <[email protected]> * Update example output in README.md Signed-off-by: Spencer Wilson <[email protected]> --------- Signed-off-by: Spencer Wilson <[email protected]> Signed-off-by: Adije Shen <[email protected]>
Signed-off-by: Adije Shen <[email protected]>
Signed-off-by: adijeshen <[email protected]>
Signed-off-by: adijeshen <[email protected]>
Signed-off-by: adijeshen <[email protected]>
|
Hi @SWilson4, Thank you for the feedback! Regarding the change from dynamic to static linking:
I've added a Windows CI workflow in my latest commits (42f62eb) to validate the build process on Windows environments. The workflow tests the compilation and basic functionality to ensure compatibility. All actions passed in my forked repo Let me know if you'd like me to make any additional changes or provide more details about the implementation. |
|
Hi @AdijeShen, it looks like the whole repo has been reformatted to use CRLF line endings (\r\n). Could you please reformat to use only LF (\n)? |
|
@SWilson4 Thank you for pointing that out. I've fixed the line ending issue by converting all files back to LF format. The changes have been pushed in the latest commit. |
|
Thanks very much. Can you add the DCO sign-off? See instructions at https://github.com/open-quantum-safe/liboqs-java/pull/28/checks?check_run_id=39813683997 |
Signed-off-by: root <root@adijethinkbook.> Signed-off-by: Adije Shen <[email protected]>
AdijeShen
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.
add signoff
|
@SWilson4 any further thoughts? Otherwise I think we can merge. |
|
@johngray-dev As one of the primary users of the Java wrapper, could you please take a look at this PR? I'd like to understand the implications of moving from dynamic to static linking before we proceed. |
Signed-off-by: Spencer Wilson <[email protected]>
|
In the absence of any objections, merging once re-triggered CI passes. Thanks for the contribution @AdijeShen! |
|
Should we close #1? |
Solve Issue #1
Changes Made
liboqs.so/liboqs.dll) to static linking (liboqs.a)./liboqs/Key Benefits
Documentation Updates