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

JNA support for s390x #845

Closed
aborkar-ibm opened this issue Aug 10, 2017 · 4 comments
Closed

JNA support for s390x #845

aborkar-ibm opened this issue Aug 10, 2017 · 4 comments

Comments

@aborkar-ibm
Copy link

This is a request for JNA lib to be made available in maven repo for s390x. #427 The previous issue mentions about environment to build JNA.
Is there a CI infrastructure that we can join?

matthiasblaesing added a commit to matthiasblaesing/jna that referenced this issue Aug 11, 2017
@matthiasblaesing
Copy link
Member

As far as possible I try to decouple building the binaries from the actual architecture. I have a debian chroot environment, that runs the builds in a qemu-static emulation. This way I can rebuild the native parts independently of owning the hardware. The chroot-version covers many of the linux bits. I added an environment for s390x based on debian stable.

The result can be found here:

https://github.com/matthiasblaesing/jna/tree/s390x

#427 was closed because there was no reaction to the test request. If you verify, that the build from the above branch works, I'll merge it to master and JNA will be distributed with next version.

Here is a pre-build version of jna.jar (zipped to keep github happy):

jna.zip

For CI Integration: If you are interested you can just monitor the PR or master and let that trigger builds and test-runs. I suggest to ask on the jna-users list, as there are people reading there, that did it for raspberry bi.

http://groups.google.com/group/jna-users

@imdurgadas
Copy link

Thanks. Above provided fix works. Can you merge into master ?
When can we expect the new version to be available on maven repo ?

@matthiasblaesing
Copy link
Member

Thank you for checking. I merged the binary to master. You can use the snapshot build above. The release of 4.5.0 is not yet scheduled.

@imdurgadas
Copy link

Sure. Thanks for the quick fix.

imdurgadas pushed a commit to linux-on-ibm-z/jenkins that referenced this issue Jul 28, 2018
Fixes https://issues.jenkins-ci.org/browse/JENKINS-52771.
JNA support for s390x is missing in 4.2.1. The support is added in 4.5.1 version as part of issue 845
Issue: java-native-access/jna#845
Commit : matthiasblaesing/jna@1fef4a2
oleg-nenashev pushed a commit to jenkinsci/jenkins that referenced this issue Jul 30, 2018
* Bump up jna.jar version to 4.5.1

Fixes https://issues.jenkins-ci.org/browse/JENKINS-52771.
JNA support for s390x is missing in 4.2.1. The support is added in 4.5.1 version as part of issue 845
Issue: java-native-access/jna#845
Commit : matthiasblaesing/jna@1fef4a2

* Per review comment , bump jna.jar version to 4.5.2
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

3 participants