-
Notifications
You must be signed in to change notification settings - Fork 84
Add win arm64 native support #186
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
If your system has mingw-w64 with ARM64 target installed, the compiler/archiver names are: aarch64-w64-mingw32-gcc aarch64-w64-mingw32-gcc-ar
…t output file name (.so, .dll, .dylib, .wasm) instead of assuming liblmdb.so. That way you can just add new entries (like win-arm64) to supported_targets and it will “just work”
|
@CoreyKaylor hola ! Commit title: Description:
Note: iOS and macOS builds are not supported on WSL; unsupported build steps can be commented out if needed |
|
Completely replacing the build script to work on WSL isn't really an option (I haven't been a Windows user in years) and leaves more of a mess behind with all the extra cruft when the original script was very simple. If you're using WSL, I'm assuming there's a specific toolset that's used, and if so that toolset can be replicated using the docker build process I already had in the original build script. |
|
@CoreyKaylor Hey, Since you don’t want to modify the current build script and I don’t have a Mac or Homebrew installed, I can’t fully test my findings. Could you please try it on your machine using the current script? Just add the following docker run entry: I hope this will work correctly on your setup. |
|
That image doesn't work @bulpet it doesn't produce an arm64 file. |
|
Looking at the repository though, it looks like there's something there to look closer. When I have a little more time to sit down and try some things out, I'll try some of their documented steps for dockcross repo. |
|
@bulpet I've found the right step to produce the arm64 binary. Please take a look at the latest master and see if that binary works for you. If so, I'll publish the nuget soon. Thanks for pointing me in the right direction. |
No description provided.