Commit Graph

12 Commits

Author SHA1 Message Date
Robert Manuszewski
ea50e1def7 Added code to handle COM crashes when detecting physical processor count in UBT
[CL 2244406 by Robert Manuszewski in Main branch]
2014-08-05 13:03:54 -04:00
Mark Satterthwaite
d922524627 Implemented support for Distcc + DMUCs as an alternative to XGE on Mac OS X.
By either manually configuring distcc & DMUCS as per their documentation, or using the DistCode Xcode plugin compilation can be distributed amongst networked Macs.
All Macs must have the same developer tools installed & the same distcc/DMUCS/DistCode and be on the same local network.
This works for compiling for Mac & iOS and it should be possible to configure distcc & DMUCS manually for use on build farms for remote building from Windows.
Linux could also use this for local builds or remote build farms - but I'm not in a position to test this.

[CL 2238171 by Mark Satterthwaite in Main branch]
2014-07-31 07:33:17 -04:00
Josh Adams
ec94935229 - Added the ability for remote compiles to have the [x/y] text in UBT output
[CL 2229125 by Josh Adams in Main branch]
2014-07-23 18:42:01 -04:00
Daniel Lamb
14e2e29af5 Changed the running directory for clang on android so that we can use relative path names for library files.
Gets around issue with too many commandline parameters going to the linker :(.

[CL 2107042 by Daniel Lamb in Main branch]
2014-06-16 11:10:54 -04:00
Ben Marsh
7655980f4b Get UBT to write out progress information while compiling. Also fix missing output if telemetry fails to initialize.
[CL 2074584 by Ben Marsh in Main branch]
2014-05-15 15:33:29 -04:00
Dmitry Rekman
72d389f2cb UBT: Apply memory-based job heuristics to all Mono platforms
#codereview Michael.Trepka, Mark.Satterthwaite, Niklas.Smedberg, Daniel.Wright

[CL 2074086 by Dmitry Rekman in Main branch]
2014-05-15 08:35:20 -04:00
Dmitry Rekman
fd7b570421 Linux: UBT: limit number of parallel jobs by RAM available.
Limit number of parallel actions by introducing memory budget per each action - arguably a better heuristic than just dividing number of cores by two.

#codereview Robert.Manuszewski, Michael.Trepka, Mark.Satterthwaite

[CL 2072899 by Dmitry Rekman in Main branch]
2014-05-14 09:53:05 -04:00
Mark Satterthwaite
040ae73079 #summary Respect Xcode's compiler options & analyze feature.
#change Parse the compiler selected in Xcode & find the Xcode plugin which contains the executable to run when it isn't the default.
#change When the analyze option is enabled (either standalone or as a build setting) we need to pass through the analyze clang flag.
#change Pass in the Xcode max. parallel build tasks default to UBT as an environment variable rather than just assuming we want to use half the CPUs.
#notes This means we can use an external compiler (even a GPL one like distcc) without any direct dependency. Editor builds still use the default compiler since it isn't clear how to know which compiler is intended to be used in that case - the Xcode environment variable won't have been set.
#codereview michael.trepka, jack.porter

[CL 2072854 by Mark Satterthwaite in Main branch]
2014-05-14 09:23:11 -04:00
Dmitry Rekman
74907c7330 Show progress (action number/total actions) when executing actions locally.
Also, do not halve number of processors when running on mono (unnecessary generalization).
Part of pull request 49 by sbc, see https://github.com/EpicGames/UnrealEngine/pull/49 for details.

#codereview Ben.Marsh

[CL 2045177 by Dmitry Rekman in Main branch]
2014-04-23 18:40:26 -04:00
Michael Trepka
e0d9ed4212 Added Action.CommandDescription to UBT and used it in MacToolChain to make the build log nicer.
[CL 2039860 by Michael Trepka in Main branch]
2014-04-23 17:31:19 -04:00
UnrealBot
db494a6e69 Engine source (Main branch up to CL 2037954) 2014-04-02 18:09:23 -04:00
Tim Sweeney
324683ce78 Engine source (Main branch up to CL 2026164) 2014-03-14 14:13:41 -04:00