Commit Graph

47 Commits

Author SHA1 Message Date
ben marsh
4d9ed7e417 EpicGames.BuildGraph: Apply standard naming conventions to BuildGraph.Automation.
[CL 33835640 by ben marsh in ue5-main branch]
2024-05-22 13:17:22 -04:00
ben marsh
8977cef63a BuildGraph: Enable more static analysis warnings for BuildGraph.Automation.
#rnx

[CL 33830284 by ben marsh in ue5-main branch]
2024-05-22 11:01:26 -04:00
ben marsh
7918a7011d BuildGraph: Enable warnings for declaring visibile instance fields in BuildGraph.Automation.
[CL 33817522 by ben marsh in ue5-main branch]
2024-05-21 20:54:09 -04:00
eric knapik
9425c94f8a Adding skip build as an option for the compile task in buildgraph.
Skip build flag is passed to UBT so that only target files can be generated without performing a full build operation.

Fixing an issue in the CompileTask where AllowAllCores would always be false

[REVIEW] [at]Joe.Kirchoff [at]Ben.Marsh [at]Ryan.Hummer [at]Gary.Yuan [at]Philip.Cosgrave

#rb Ben.Marsh

[CL 32489167 by eric knapik in ue5-main branch]
2024-03-25 18:31:19 -04:00
joe kirchoff
66277acc2a AutomationTool: Remove obsolete ParallelExecutor
#rnx
#rb Ryan.Hummer

[CL 30089190 by joe kirchoff in ue5-main branch]
2023-12-04 13:43:10 -05:00
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