Building Unreal Engine on ppc64le

Hi everyone,

I am trying to build for the ppc64le architecture on a POWER8 machine. The machine runs RHEL 7.5 and I am trying to build in a Docker container based on an NVIDIA CUDA Ubuntu 16.04 image. So far I have basically followed the documentation for building on Linux (https://.readthedocs.io/en/late…uild_on_linux/), but when compiling the Unreal Engine, I get two error messages I have not been able to fix, yet:
When executing Setup.sh it exits successfully, but I get:


 Register the engine installation...  
./Setup.sh: line 45: ./UnrealVersionSelector-Linux-Shipping: cannot execute binary file: Exec format error

Looks to me like this binary is not compiled for ppc64le, but I don’t even know if it is important. When running GenerateProjectFiles.sh:


/usr/lib/mono/4.5/Microsoft.CSharp.targets: error : Compiler crashed with code: 139.
Cannot open assembly './../../../Binaries/DotNET/UnrealBuildTool.exe': No such file or directory.

I have checked, the file UnrealBuildTool.exe is really not there. I suppose it should have been generated in a previous step.
I have found this pull request to the UE project https://github.com/EpicGames/UnrealEngine/pull/2585, but have not been able to successfully incorporate it.

Has anyone tried this before? Any experiences or ideas to share? Am I missing something?
Please ask, if I have left anything obscured.

Any help would be appreciated :slight_smile:

PS: I have also created an issue on the GitHub Repo: https://github.com/-simulator//issues/1567

@anonymous_user_1f535702 I’m working on porting UE4.22.3 to ppc64le. I’ve provided some instructions on setting up a Ubuntu-18.04 on a Power9 system here:
https://github.com/-simulator//issues/1567#issuecomment-522591194