LWJGL / lwjgl3

LWJGL is a Java library that enables cross-platform access to popular native APIs useful in the development of graphics (OpenGL, Vulkan, bgfx), audio (OpenAL, Opus), parallel computing (OpenCL, CUDA) and XR (OpenVR, LibOVR, OpenXR) applications.
https://www.lwjgl.org
BSD 3-Clause "New" or "Revised" License
4.76k stars 636 forks source link

OpenPOWER Support #495

Closed llebout closed 11 months ago

llebout commented 5 years ago

Hello, Currently only ARM and x86 is supported, but it would be nice to support the OpenPOWER platform that's high performance and gaming capable. An OpenPOWER compliant CPU would be the IBM POWER9.

I don't exactly know what's really architecture specific into lwjgl3 but hopefully you can tell me that so I can go straight to the point if I want to solve that issue myself.

Thanks

Spasi commented 5 years ago

LWJGL artifacts are built on Travis CI (Linux & macOS) and AppVeyor (Windows). Support for a new architecture like POWER must start here: LWJGL-CI. In each repository there's a .travis.yml file that builds the corresponding library for the supported architectures. A new target must be added to the build matrix, that cross-compiles for POWER.

You can start by forking the repositories and removing the AWS S3 stuff. You can also skip libraries that are irrelevant on POWER9 or support specific architectures only (e.g. Meow and Tootle). When you have working builds, update this issue and we'll talk about next steps.

owlshrimp commented 4 years ago

Neato! This'd be really cool to have, and I'd be willing to contribute to a bounty on it at https://www.bountysource.com/ similar to some other POWER porting work.

I just kinda want to run minecraft :P but with the work going in right now for Radeon Open Compute (https://www.phoronix.com/scan.php?page=news_item&px=AMDGPU-Linux-5.5-KFD-PPC) this would be pretty timely. :D

runlevel5 commented 1 year ago

I believe the CI has now been migrated to hosted Github Action which does not offer ppc64le workers. I am more than happy to host Github Action worker on my ppc64le box

EDITED: I've just learned that the CI is using cross platform compilation I've started the work https://github.com/LWJGL-CI/lwjgl3/pull/4

runlevel5 commented 1 year ago

The first PR to get libffi lib compiled with ppc64le https://github.com/LWJGL-CI/libffi/pull/3

runlevel5 commented 11 months ago

Great thanks @Spasi