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

Feature/argon2 m1 lib #81

Merged
merged 1 commit into from
Feb 7, 2021
Merged

Conversation

cricketsamya
Copy link
Contributor

I have added the dylib built on M1 mac.
Please let me know, if you need more help

@cricketsamya cricketsamya changed the base branch from master to develop February 4, 2021 12:02
@cricketsamya cricketsamya mentioned this pull request Feb 4, 2021
@phxql phxql merged commit e59c063 into phxql:develop Feb 7, 2021
@phxql
Copy link
Owner

phxql commented Feb 7, 2021

Thanks a lot!

@phxql
Copy link
Owner

phxql commented Feb 7, 2021

Could you run https://github.com/phxql/jna-info on your M1 Mac?

It should output something like:

nativeLibraryResourcePrefix: linux-x86-64
Testing JNA... success

I'm interested in the nativeLibraryResourcePrefix on your M1 machine.

@cricketsamya
Copy link
Contributor Author

cricketsamya commented Feb 7, 2021

@phxql

➜  jna-info git:(master) ./gradlew run

> Configure project :
The compile configuration has been deprecated for dependency declaration. This will fail with an error in Gradle 7.0. Please use the implementation configuration instead. Consult the upgrading guide for further information: https://docs.gradle.org/6.8.2/userguide/upgrading_version_5.html#dependencies_should_no_longer_be_declared_using_the_compile_and_runtime_configurations
        at build_8tbbvgm48i7x9dgaeqweqbvrq$_run_closure2.doCall(/Users/sameer.kulkarni/Developement/workspaces/jna-info/build.gradle:17)
        (Run with --stacktrace to get the full stack trace of this deprecation warning.)

> Task :run
nativeLibraryResourcePrefix: darwin
Testing JNA... success

BUILD SUCCESSFUL in 1s
2 actionable tasks: 1 executed, 1 up-to-date
➜  jna-info git:(master)

May be this is not helpful, the architecture type is still missing the info.

@phxql
Copy link
Owner

phxql commented Feb 8, 2021

Thanks!

This is indeed interesting, as it seems that JNA can't find the architecture suffix on your System.

This JNA PR (java-native-access/jna#1297) has been merged, but has not been released yet. Support for M1 is therefore incomplete until the new JNA version is released.

@cricketsamya
Copy link
Contributor Author

@phxql Currently I have made a work around on certain calls! I am using a different library for now. But this is really interesting. I hope they release it soon, so you can do it as well! Until then lets wait!

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

Successfully merging this pull request may close these issues.

2 participants