- 
                Notifications
    You must be signed in to change notification settings 
- Fork 38
Add no-stdlib build for mlkem-native #1153
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
base: main
Are you sure you want to change the base?
Conversation
4fdf64b    to
    2e4aaaa      
    Compare
  
    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 README still needs to be adjusted
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.
Yes, thanks for the reminder!
I have addressed this and re-pushed the changes,
including
- examples/README.md,
- examples/multilevel_build_no_stdlib/README.md
- mlkem/README.md
and also added this example to base.yml for the CI tests.
faec912    to
    cebb880      
    Compare
  
    709a22c    to
    abfc2dc      
    Compare
  
    abfc2dc    to
    b9ee08d      
    Compare
  
    37163aa    to
    e847379      
    Compare
  
    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.
I am fine with the changes now (except for a small nit), but this PR conflicts with #1185. Please rebase on top of that one.
309dd25    to
    4c8e5be      
    Compare
  
    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.
Please rebase this on top of main.
e3adae2    to
    e1f2117      
    Compare
  
    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 @willieyz. I am fine with the code changes now.
I found a small typo in the READMEs that was pre-existing before your PR, but maybe we can sort that out in a separate commit everywhere?
…2/768/1024}` - This typo was pre-existing before this PR #1153, we sort this out with a separate commit Signed-off-by: willieyz <[email protected]>
e1f2117    to
    243b0af      
    Compare
  
    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.
Small correction of the grammar. Then this is good to go.
Thanks @willieyz!
…2/768/1024}` - This typo was pre-existing before this PR #1153, we sort this out with a separate commit Signed-off-by: willieyz <[email protected]>
243b0af    to
    707fa9a      
    Compare
  
    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 @willieyz. I'm happy with this PR now.
@hanno-becker - what do you think? Note that the second commit (renaming) is somewhat unrelated and requested by me.
…2/768/1024}` - This typo was pre-existing before this PR #1153, we sort this out with a separate commit Signed-off-by: willieyz <[email protected]>
707fa9a    to
    6af5c38      
    Compare
  
    - This commit add an example demonstrating how to build mlkem-native without the standard library (-nostdlib) - Create an example folder named `multilevel_build_no_stdlib` - Add the `example_no_stdlib_config.h` reference from `test/custom_stdlib_config.h`, this config provide custom implementations for mlk_memcpy and mlk_memset - Add the `-nostdlib` cflag during generating objects file. - Integrate this example to the `tests` script and ./Makefile - Add this example to the `base.yml` for CI testing Signed-off-by: willieyz <[email protected]>
…2/768/1024}` - This typo was pre-existing before this PR #1153, we sort this out with a separate commit Signed-off-by: willieyz <[email protected]>
6af5c38    to
    208fe20      
    Compare
  
    
-nostdlib)multilevel_build_no_stdlibexample_no_stdlib_config.hreference fromtest/custom_stdlib_config.h,this config file provide custom implementations for
mlk_memcpyandmlk_memset-nostdlibcflag during generating objects file.testsscript and./Makefile