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

PowerPC build #1666

Open
CloudyProton opened this issue Jun 11, 2022 · 4 comments
Open

PowerPC build #1666

CloudyProton opened this issue Jun 11, 2022 · 4 comments
Labels
stale Issue / PR has not had activity

Comments

@CloudyProton
Copy link

There is no build target for ppc64le, cmake exits at

~/Vircadia/vircadia/hifi_qt.py", line 195, in init
raise Exception('UNKNOWN CPU ARCHITECTURE!!!')
Exception: UNKNOWN CPU ARCHITECTURE!!!
CMake Error at CMakeLists.txt:151 (message):
prebuild.py failed with error 1

It looks like hifi_qt.py only has targets for x86_64 and aarch64 so even if I manually supply -march= it fails to configure.

System is Debian 11, 5.10.0-14-powerpc64le

@daleglass
Copy link
Contributor

That's quite the niche application these days, isn't it?

You can get past the Qt thing with export VIRCADIA_USE_SYSTEM_QT=1, and using your system packages. That only works if your system Qt version is 5.15 or newer.

You'll probably need to do further fixing since for instance WebRTC comes in as a precompiled binary, because it's such a pain to build. I'm not sure if it can even be compiled on PPC, but probably not. You can disable that since it doesn't provide any critical functionality.

But even if you get this done I'm not sure if it makes sense to bother -- last PowerPC Mac was almost two decades ago. Even if it works it's probably way too slow to be useful.

@namark
Copy link
Contributor

namark commented Jun 13, 2022

still niche, but not an old mac! https://www.raptorcs.com/TALOSII/

@daleglass
Copy link
Contributor

Fair enough!

I think this should be doable, we've had people build for a Raspberry Pi for instance. But it'll take some work, and it's the first PowerPC build I've heard of, so there may be some unexpected trouble.

@stale
Copy link

stale bot commented Dec 10, 2022

Hello! Is this still an issue?

@stale stale bot added the stale Issue / PR has not had activity label Dec 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Issue / PR has not had activity
Projects
None yet
Development

No branches or pull requests

3 participants