Skip to content

Conversation

headius
Copy link
Member

@headius headius commented Apr 5, 2022

We have workflows in place for Windows, macOS, and Linux, but not everything is hooked up to our process for pulling those automated builds down and inserting them back into releases. This PR will try to do that.

The workflows are in the usual place, .github/workflows.

At the moment the Linux builds are working for arm (v7ish?), arm64 (arm64v8/aarch64), i386, amd64 (x86_64), and s390x. macOS and Windows builds are in place but not fully working. No builds for any BSDs or Solaris.

Shipping in our archive native binaries currently (checked builds currently work):

  • jffi-Darwin.jar
  • jffi-aarch64-FreeBSD.jar
  • jffi-aarch64-Linux.jar
  • jffi-arm-Linux.jar
  • jffi-i386-FreeBSD.jar
  • jffi-i386-Linux.jar
  • jffi-i386-OpenBSD.jar
  • jffi-i386-SunOS.jar
  • jffi-i386-Windows.jar
  • jffi-mips64el-Linux.jar
  • jffi-ppc-AIX.jar
  • jffi-ppc-Linux.jar
  • jffi-ppc64-AIX.jar
  • jffi-ppc64-Linux.jar
  • jffi-ppc64le-Linux.jar
  • jffi-s390x-Linux.jar
  • jffi-sparc-SunOS.jar
  • jffi-sparcv9-Linux.jar
  • jffi-sparcv9-SunOS.jar
  • jffi-x86_64-DragonFlyBSD.jar
  • jffi-x86_64-FreeBSD.jar
  • jffi-x86_64-Linux.jar
  • jffi-x86_64-OpenBSD.jar
  • jffi-x86_64-SunOS.jar
  • jffi-x86_64-Windows.jar

Note there is also an "armv5" build for Linux that does not have a home, since we do not differentiate ARM architectures to that level of granularity (we only have "arm" and "aarch64" as endpoints right now).

@headius headius force-pushed the auto-native-builds branch 6 times, most recently from db88ff2 to 108d7ac Compare April 5, 2022 19:52
@headius headius force-pushed the auto-native-builds branch from 108d7ac to 0fd4275 Compare April 5, 2022 20:00
@headius
Copy link
Member Author

headius commented Apr 5, 2022

After some tweaks and hooking up to our MacStadium M1 instance the Darwin build appears to be working.

@headius headius force-pushed the auto-native-builds branch from 01cbdf2 to 4c79fb1 Compare April 5, 2022 20:30
@headius
Copy link
Member Author

headius commented Apr 5, 2022

I attempted to add the other platforms supported by the debian image, but only riscv64 appears to have worked. The ppc64el build failed with a trap error (possibly fixed by https://gitlab.com/qemu-project/qemu/-/issues/588 or the related patches listed there, not yet in a release) and the mip64el build fails deep inside openjdk IO/thread-wrangling code (my email to the mips openjdk list should eventually show up here: https://mail.openjdk.java.net/pipermail/mips-port/2020-April/thread.html).

So I will add riscv64 to the supported platform list but the other ones need extra help.

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.

1 participant