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 request] Support Linux PowerPC 64 Little Endian (ppc64le) architecture #194

Open
runlevel5 opened this issue Nov 24, 2022 · 4 comments

Comments

@runlevel5
Copy link

I just realise that the Linux ppc64le is not supported after seeing the compilation log:

-- Check for working CXX compiler: /usr/lib64/ccache/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:46 (TARGET_COMPILE_DEFINITIONS):
  Cannot specify compile definitions for target "qcommon" which is not built
  by this project.


CMake Error at CMakeLists.txt:47 (TARGET_COMPILE_DEFINITIONS):
  Cannot specify compile definitions for target "qcommon_ded" which is not
  built by this project.


-- Found JPEG: /usr/lib64/libjpeg.so (found version "62") 
-- Found SDL2: /usr/lib64/libSDL2.so (found version "2.26.0") 
CMake Warning (dev) at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
  The package name passed to `find_package_handle_standard_args` (SDL2main)
  does not match the name of the calling package (SDL2).  This can lead to
  problems in calling code that expects `find_package` result variables
  (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  cmake_modules/FindSDL2.cmake:318 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:171 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found SDL2main: /usr/lib64/libSDL2main.a (found version "2.26.0") 
-- Configuring incomplete, errors occurred!
See also "/home/tle/Work/Quake3e/build/CMakeFiles/CMakeOutput.log".

Wondering if the core team could cherry-pick the powerpc code/qcommon from the ioquake3 source port?

Many thanks

@ec-
Copy link
Owner

ec- commented Nov 26, 2022

Feel free to add PR with required changes, however I'm not very optimistic about any arch that:

  1. not commercially (-widely) available
  2. comes without (as a result of p.1) decent bytecode compiler

I can handle p.2 by myself (as I did for both armv7l and aarch64 in ~3 weeks - and it was very exciting) but there still
dependency from p.1

@runlevel5
Copy link
Author

Regarding P1, I am more than happy to grant you the access to my box.

@stallmanshiteater
Copy link

stallmanshiteater commented Feb 2, 2023

Well, I'm also on PPC64LE and would like this,

  1. These systems are commercially available, there is me and a couple others who play Q3 often who would like to play on PPC64LE
  2. So far, I can compile Quake3e as it is no problem. it runs okay, stable 250fps in baseq3. Performance is lacking in CPMA however (a bummer). OSP mod just crashes on both ioquake3 and quake3e on ppc64le. ioquake3 also doesnt perform well, but quake3e performs a lot better. I haven't been able to test the vulkan renderer performance yet.

so, if you need an active player for testing etc let me know. If you're in usa you can borrow my system if need be.
I can also donate if need be

@runlevel5
Copy link
Author

@ec- I hope you are well and sound. Is there anything I could do for you to work on the ppc64le bytecode compiler? Many thanks in advance

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