Commit Graph

42 Commits

Author SHA1 Message Date
ryan hummer
be0d93a019 Fixing compile error
#rnx
#rb none
[FYI] josh.adams

[CL 27054586 by ryan hummer in ue5-main branch]
2023-08-11 20:25:22 -04:00
josh adams
00c6942cff - Tag everything inside .app's after a CompileTask from BuildGraph. This is because with modern Xcode, Xcode will copy files into the .app that UBT doesn't know about
#jira UE-192751

[CL 27053595 by josh adams in ue5-main branch]
2023-08-11 19:55:17 -04:00
Tim Smith
a81434c74f Removed places where -nobuilduht is added to the command line.
#rb ryan.hummer
#preflight 63c7e95fac35a0e9dad8774d

[CL 23754222 by Tim Smith in ue5-main branch]
2023-01-18 08:01:18 -05:00
ryan hummer
f6821c1631 Allow the CompileTask to enable AllCores for UBT
Turns on automatically if CommandUtils.IsBuildMachine is true or the CompileTask sets AllowAllCores to true

#rnx
#jira none
#rb none
#preflight 633b3aaf3629a1a4f92f3ef1

[CL 22323425 by ryan hummer in ue5-main branch]
2022-10-03 21:15:14 -04:00
UnrealBot
73409369c0 Branch snapshot for CL 21319338
[CL 21319338 in ue5-main branch]
2022-08-10 16:03:37 +00:00
Ben Marsh
cbb950c578 UBT: Use ILogger throughout UBT, rather than legacy EpicGames.Core.Log methods. All output going forwards should use structured logging rather than String.Format style logging.
#preflight 628e9dc6e746de4961f60032

[CL 20373777 by Ben Marsh in ue5-main branch]
2022-05-25 19:55:37 -04:00
Ben Marsh
a59ef99c07 BuildGraph: New mechanism for declaring graphs using C# code (WIP).
Nodes can now be implemented by arbitary C# methods. Graph structure is specified through expression trees implemented using Bg* types, which are not substituted with values until execution time. Doing so allows determination of node and option dependencies for a particular target, allowing us to generate dynamic UI for presenting relevant settings to the user.

Includes partial implementation of Installed Build script as an example implementation.

#preflight 61bb85d46c2686e86322eec9

[CL 18477305 by Ben Marsh in ue5-main branch]
2021-12-16 13:55:22 -05:00
Ben Marsh
8fd4138532 UAT: Move all BuildGraph tasks into the AutomationTool.Tasks namespace (currently inconsistently in multiple other namespaces).
[CL 18434892 by Ben Marsh in ue5-main branch]
2021-12-10 16:56:09 -05:00
Ben Marsh
6a2855f64c UAT: Add support for async build commands and BuildGraph tasks.
#preflight 61b3aa86e928cffe866fa918

[CL 18433916 by Ben Marsh in ue5-main branch]
2021-12-10 15:36:47 -05:00
Ben Marsh
ff1f79e46f BuildGraph: Merging BuildGraph library refactor from //UE5/Release-5.0.
[CL 18107814 by Ben Marsh in ue5-main branch]
2021-11-09 12:36:25 -05:00
aurel cordonnier
34f55d3a4a Merge from Release-Engine-Test @ 17946149 to UE5/Main
This represents UE4/Main @17911760, Release-5.0 @17915875 and Dev-PerfTest @17914035

[CL 17949667 by aurel cordonnier in ue5-main branch]
2021-10-27 15:14:40 -04:00
aurel cordonnier
a12d56ff31 Merge from Release-Engine-Staging @ 17791557 to Release-Engine-Test
This represents UE4/Main @17774255, Release-5.0 @17791557 and Dev-PerfTest @17789485

[CL 17794212 by aurel cordonnier in ue5-release-engine-test branch]
2021-10-12 21:21:22 -04:00
geoff evans
fb9c6ba45c AutomationTool
Defer resolution of the Project path until Execution time. This allows for build graphs to refer to projects that may be missing on the workspace, and still execute valid nodes in the graph.

#rnx
#rb ben.marsh
#preflight 61538447260f7d0001d22fab

#ROBOMERGE-AUTHOR: geoff.evans
#ROBOMERGE-SOURCE: CL 17653765 via CL 17653916 via CL 17654139 via CL 17654167 via CL 17654222
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v875-17642767)
#ROBOMERGE[STARSHIP]: UE5-Main

[CL 17654231 by geoff evans in ue5-release-engine-test branch]
2021-09-28 19:05:00 -04:00
geoff evans
5e26e7095e Tolerate referenced project files that are completely missing.
#rnx

#ROBOMERGE-AUTHOR: geoff.evans
#ROBOMERGE-SOURCE: CL 17642216 via CL 17642921 via CL 17643000 via CL 17643006 via CL 17643020
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v875-17642767)
#ROBOMERGE[STARSHIP]: UE5-Main

[CL 17643025 by geoff evans in ue5-release-engine-test branch]
2021-09-28 04:36:55 -04:00
geoff evans
e20cabaa93 AutomationTool
Add support for Project names in Compile tasks, similar to Commandlet

#preflight 61523074d0edce00010657e2

#ROBOMERGE-AUTHOR: geoff.evans
#ROBOMERGE-SOURCE: CL 17637169 via CL 17637880 via CL 17638531 via CL 17638550 via CL 17638561
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v874-17637634)
#ROBOMERGE[STARSHIP]: UE5-Main

[CL 17638586 by geoff evans in ue5-release-engine-test branch]
2021-09-27 19:39:17 -04:00
geoff evans
ddd8e1417f Make Compile Task "Target" Optional
It's totally reasonable to pass -TargetType to UBT via Arguments.

#rnx
#jira none
#rb trivial
[FYI] ben.marsh

#ROBOMERGE-AUTHOR: geoff.evans
#ROBOMERGE-SOURCE: CL 17529743 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v870-17433530)

[CL 17529752 by geoff evans in ue5-release-engine-test branch]
2021-09-15 19:04:06 -04:00
Ben Marsh
6f927647b1 Changing C# code over to using EpicGames.Core over DotNETCommon.
#rb none
#rnx

[CL 14962096 by Ben Marsh in ue5-main branch]
2020-12-21 23:07:37 -04:00
Ben Marsh
32c246b956 Add additional tracing into to UAT/UBT.
#jira

[CL 13875431 by Ben Marsh in ue5-main branch]
2020-07-16 12:26:55 -04:00
Ben Marsh
495d910fab Fix XMLdoc warnings.
#jira

[CL 13875418 by Ben Marsh in ue5-main branch]
2020-07-16 12:25:42 -04:00
Ben Marsh
798e7ce776 Add a TraceSpan class that can be used to record timing information for UAT, and add tracing info for BuildGraph into it. Writes to a file in the directory specified by the UE_TELEMETRY_DIR environment variable.
#jira

[CL 13875408 by Ben Marsh in ue5-main branch]
2020-07-16 12:24:00 -04:00
Ryan Durand
9ef3748747 Updating copyrights for Engine Programs.
#rnx
#rb none
#jira none

#ROBOMERGE-OWNER: ryan.durand
#ROBOMERGE-AUTHOR: ryan.durand
#ROBOMERGE-SOURCE: CL 10869242 in //Fortnite/Release-12.00/... via CL 10869536
#ROBOMERGE-BOT: FORTNITE (Main -> Dev-EngineMerge) (v613-10869866)

[CL 10870955 by Ryan Durand in Main branch]
2019-12-26 23:01:54 -05:00
Mitchell Wilson
f0a83e9112 Copying //UE4/Dev-Documentation to Samples-Main (//UE4/Samples-Main)
#rb none
#rnx

[CL 9551884 by Mitchell Wilson in Main branch]
2019-10-11 16:59:16 -04:00
ben marsh
7943a34d13 BuildGraph: Add a "Project" attribute to the Compile task.
#jira
[FYI] Daniel.Lamb


#ROBOMERGE-SOURCE: CL 5634962 via CL 5634988 via CL 5634994 via CL 5639457 via CL 5640722

[CL 5640771 by ben marsh in Main branch]
2019-03-28 19:59:22 -04:00
Ben Marsh
7598af0532 Update copyright notices to 2019.
#rb none
#lockdown Nick.Penwarden

[CL 4662404 by Ben Marsh in Main branch]
2018-12-14 13:41:00 -05:00
Ben Marsh
a5f604cb12 UAT: Fix problems making installed builds with Lumin enabled, when passing the -Clean argument to UAT.
* UE4Build was deleting all files in the manifest before running, even if they were output by UBT.
* Lumin was specifying AllowParallelExecutor="false" in InstalledEngineBuild.xml, which was causing each compile to be executed in isolation. Since modules are now compiled into object files separately to being linked into binaries, this was causing object files and .precompiled files to be deleted during the clean operation.
* Individual compile tasks can now override the global "clean' option.

#rb none
#rnx

[CL 4307117 by Ben Marsh in Dev-Build branch]
2018-08-22 09:57:38 -04:00