Skip to content
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

ARMv8 compatibility: CI and cross-compiling? #127

Open
thomwiggers opened this issue Mar 15, 2022 · 8 comments
Open

ARMv8 compatibility: CI and cross-compiling? #127

thomwiggers opened this issue Mar 15, 2022 · 8 comments

Comments

@thomwiggers
Copy link
Member

At the moment, this crate is only expected to work on intel. We might want to set up CI for ARMv8 and next figure out the relevant CMake flags etc.

@expressvpn-pete-m
Copy link

I use the oqs-sys crate in wolfssl-sys. I've got an example that builds and tests post quantum with WolfSSL here: https://github.com/expressvpn/wolfssl-sys

It builds happily on an M1 mac as an arm64 executable.

Though I just discovered that the ports on the test site aren't fixed, so my test breaks if you don't update the port 😄

@thomwiggers
Copy link
Member Author

That's good to hear; but I don't know what you mean by "the ports on the test site"?

@thomwiggers
Copy link
Member Author

Also I think that cross-compiling to ARMv8 is something that we should probably support but I'm not too experienced with how to set up cmake for that.

@thomwiggers
Copy link
Member Author

Okay for the latter it seems we're blocked on rust-lang/cmake-rs#158 at least.

@expressvpn-pete-m
Copy link

Ah sorry, I have an example app that connects to test.openquantumsafe.org on port 6051. At the time of writing, it was the port used for the equivalent of WOLFSSL_P521_KYBER_LEVEL5. Since then though (I guess it was restarted?) the assigned port numbers have changed, so this example no longer works.

I just need to find out if there's a way to programmatically get that port lis, if I need to scrape the page or just make the port a command line argument 😊

@thomwiggers
Copy link
Member Author

Ah right. That's more of a question for the liboqs repository I think.

@thomwiggers thomwiggers changed the title ARMv8 compatibility ARMv8 compatibility: CI and cross-compiling? Aug 19, 2022
@baentsch
Copy link
Member

@expressvpn-pete-m : Sorry I only see this comment now:

I just need to find out if there's a way to programmatically get that port lis, if I need to scrape the page or just make the port a command line argument

There is: See the current port assignment JSON here.

@aparcar
Copy link

aparcar commented Aug 15, 2024

Is it possible that my issue here is related to this? I'm trying to use armv8 via cross compiling, too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants