distributed compilation distcc ice cream etc

Of useful note, I seem to have gotten Fastbuilds working on linux:

fbuildworker -mode=dedicated                                                                        
FBuildWorker v1.11
Listening on port 31264
0 Connections
1 Connections
0 Connections
1 Connections
0 Connections

I have something like this for all hosts env vars:

export FASTBUILD_WORKERS="10.0.0.66;10.0.0.160;10.0.0.11;10.0.0.18"
export FASTBUILD_BROKERAGE_PATH="/unreal/unrealPJX/FASTBUILD_BROKERAGE"
export FASTBUILD_CACHE_PATH="/unreal/unrealPJX/FASTBUILD_CACHE"
export FASTBUILD_TEMP_PATH="/unreal/unrealPJX/FASTBUILD_TEMP"

where /unreal is an NFS mounted in to all hosts, I am not certain they should be sharing the temp and cache directories like that amongst the hosts or maybe they should be local to each host and not shared. But it is working at the moment. Also, I had to create a directory:

/opt/UnrealEngine/Engine/Extras/ThirdPartyNotUE/FASTBuild/Linux

and place the two files you get from here in there and I had to copy them over to have both the lower case version and the mixed case versions:

\ls -alh
total 7.2M
drwxr-xr-x 2 thoth thoth 4.0K Oct 20 12:24 .
drwxr-xr-x 5 thoth thoth 4.0K Oct 20 12:14 ..
-rwxr-xr-x 1 thoth thoth 1.8M Oct 20 12:24 fbuild
-rwxr-xr-x 1 thoth thoth 1.8M Oct 20 12:14 FBuild
-rwxr-xr-x 1 thoth thoth 1.9M Oct 20 12:24 fbuildworker
-rwxr-xr-x 1 thoth thoth 1.9M Oct 20 12:14 FBuildWorker

FBuildWorker, may be unnecessary as I’m manually starting on each host with something like fbuildworker -mode=dedicated

And, finally, I had to alter my BuildConfiguration.xml in /home/thoth/.config/Unreal Engine/UnrealBuildTool/BuildConfiguration.xml:

<?xml version="1.0" encoding="utf-8" ?>
<Configuration xmlns="https://www.unrealengine.com/BuildConfiguration">
  <BuildConfiguration>
    <bAllowFASTBuild>1</bAllowFASTBuild>
  </BuildConfiguration>
  <FASTBuild>
    <bEnableDistribution>true</bEnableDistribution>
    <FBuildExecutablePath>/home/thoth/.bin/fbuild</FBuildExecutablePath>
    <CacheMode>ReadWrite</CacheMode>
  </FASTBuild>
</Configuration>

And on a few hosts they showed in the brokerage directory as 127.0.1.1, I had to alter their /etc/hosts file to change their line from:

127.0.1.1  host1.example.com   host1

to:

10.0.0.6  host1.example.com   host1