Commit Graph

26 Commits

Author SHA1 Message Date
ryan hummer
b8460946bc Change UnrealBuildException to print as errors
* Give it a unique exit code
* And introduce a new output format MinimalError to give minimal info output, but as an error

#rnx
#jira UE-191956
#rb joe.kirchoff, marc.audy, bryan.johnson

[CL 26823591 by ryan hummer in ue5-main branch]
2023-08-03 15:42:02 -04:00
robert millar
6bdae7d69e Additional crash reporting information.
- Whether the binaries were created with debug info.
- Engine 'compatible' version from build info.
- CIS job URL that created the binaries.
- Currently executing CIS job URL.

#rb johan.berg

[CL 25796770 by robert millar in ue5-main branch]
2023-06-05 13:22:14 -04:00
Ben Marsh
e141cb6196 More UAT structured logging fixes.
#preflight 6408dee3b0544ef0b4bca696

[CL 24564590 by Ben Marsh in ue5-main branch]
2023-03-08 14:32:15 -05:00
Joe Kirchoff
ddcb912fe5 UnrealBuildTool: Remove CanUseParallelExecutor as it is no longer needed as the UAT ParallelExecutor has been removed and is obsolete.
#rnx
#rb trivial
#preflight 63fe749add78dd50f6247b02

[CL 24452546 by Joe Kirchoff in ue5-main branch]
2023-02-28 17:01:41 -05:00
Joe Kirchoff
e85e373461 UnrealBuild: Workaround for iOS & tvOS compile configs needing to be build separately
#rnx
#jira UE-177339
#rb none
#preflight 63f3b8ad91018822cc4f8b95

[CL 24319398 by Joe Kirchoff in ue5-main branch]
2023-02-20 13:39:48 -05:00
carl bystrom
dcdc796d8d AutomationTool: Set version file as writeable when P4 is not enabled
#rb Ben.Marsh
#preflight 63ee702881646f1f24f02493

[CL 24262423 by carl bystrom in ue5-main branch]
2023-02-16 13:11:29 -05:00
joe kirchoff
f7ee3847ee [Backout] - CL24098997
#fyi Ben.Marsh
Original CL Desc
-----------------------------------------------------------------
Revert change to use UBT for parallel builds.

#preflight none

[CL 24124712 by joe kirchoff in ue5-main branch]
2023-02-10 14:13:27 -05:00
Ben Marsh
12a1d43582 Revert change to use UBT for parallel builds.
#preflight none

[CL 24098997 by Ben Marsh in ue5-main branch]
2023-02-09 11:13:58 -05:00
Ben Marsh
093cb96a90 UAT: Replace parallel build functionality in UAT with a call to UBT with a list of targets.
#preflight 63e43902e86828e8c86d3df8

[CL 24098344 by Ben Marsh in ue5-main branch]
2023-02-09 10:35:07 -05:00
carl bystrom
a1a8d14ccb UBT: Set human-friendly titles for XGE tasks
If not set, XGE infers the task title from filename which resulted in "UAT_XGE".

#rb Ben.Marsh
#preflight 63ca827d977c62635604005b

[CL 23788320 by carl bystrom in ue5-main branch]
2023-01-20 07:14:21 -05: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
slonopotamus
d471032354 PR #9903: Restore ability to use XGE executor on non-Windows platforms (Contributed by slonopotamus)
#preflight 63bda503763c6c1064bc692a

[CL 23629484 by slonopotamus in ue5-main branch]
2023-01-10 13:14:07 -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
joe kirchoff
5c30a5e753 AutomationTool: Support running ParallelExecutor with all cores
#rnx
#rb trivial
#preflight 63361e532f447ea8dc2fce20

[CL 22271227 by joe kirchoff in ue5-main branch]
2022-09-30 11:12:48 -04:00
andrew grant
499f555538 Restore 21213169
Improvements to BenchmarkBuild script.
- Added -editor-startup and -editor-game options to measure startup and startup time with -game
- Renamed -pie to -editor-pie to match other editor options-
- Allow different editor tests to use different sets of maps via -editor-startup=map2+map2, -editor-pie=map1+map2 etc
- Added AllEditor option to run all editor benchmarking
- Added -coldddc-noshared DDC option
- BenchmarkBuild now defaults to cleaning each targets after benchmarking its build time to save disk space (disable with -nopostclean)
- Moved Editor benchmark tests into separate files and reduced some duplicated code
- Updated help info

Other
- Fixed UAT GetProjectProperties returning inaccurate values if called twice with different platforms
- Doubled number of UBT logs that can be generated from a single UAT script
- Allow scripts to call UnrealBuild.CleanWithUBT to perform cleanup
- Simplified a lot of code

#rb na

#ROBOMERGE-AUTHOR: andrew.grant
#ROBOMERGE-SOURCE: CL 21213895 via CL 21213903 via CL 21213910 via CL 21214414 via CL 21214472
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21214930 by andrew grant in ue5-main branch]
2022-07-22 00:56:39 -04:00
brandon boswell
338ca5c885 Back out changelist 21213169
#ROBOMERGE-AUTHOR: brandon.boswell
#ROBOMERGE-SOURCE: CL 21213801 via CL 21213879 via CL 21213889 via CL 21214176 via CL 21214241
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21214665 by brandon boswell in ue5-main branch]
2022-07-22 00:13:12 -04:00
andrew grant
2a13ce4d7c Improvements to BenchmarkBuild script.
- Added -editor-startup and -editor-game options to measure startup and startup time with -game
- Renamed -pie to -editor-pie to match other editor options
- Allow different editor tests to use different sets of maps via -editor-startup=map2+map2, -editor-pie=map1+map2 etc
- Added AllEditor option to run all editor benchmarking
- Added -coldddc-noshared DDC option
- BenchmarkBuild now defaults to cleaning each targets after benchmarking its build time to save disk space (disable with -nopostclean)
- Moved Editor benchmark tests into separate files and reduced some duplicated code
- Updated help info

Other

- Fixed UAT GetProjectProperties returning inaccurate values if called twice with different platforms
- Doubled number of UBT logs that can be generated from a single UAT script
- Allow scripts to call UnrealBuild.CleanWithUBT to perform cleanup
- Simplified a lot of code

#rb na

#ROBOMERGE-AUTHOR: andrew.grant
#ROBOMERGE-SOURCE: CL 21213169 via CL 21213174 via CL 21213179 via CL 21214155 via CL 21214226
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21214663 by andrew grant in ue5-main branch]
2022-07-22 00:12:59 -04: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
jonathan adamczewski
d4f03243e3 Remove various obsolete (deprecated) items in C# code
#jira none
#trivial
#rnx
#preflight 625a32bbde3638cefa4106cb

[CL 19786027 by jonathan adamczewski in ue5-main branch]
2022-04-18 11:27:53 -04:00
jonathan adamczewski
c1bb6901bf Upgrade to .NET 6.0
#jira UE-119846
#preflight 624cbb2ecc0872e96b0d5181

[CL 19652696 by jonathan adamczewski in ue5-main branch]
2022-04-06 14:46:50 -04:00
jonathan adamczewski
5053cae2d8 Launch UnrealBuildTool via dotnet unrealbuildtool.dll, not unrealbuildtool.exe
#jira none
#rnx
#preflight 624261bdb6084b98321e9251

[CL 19544939 by jonathan adamczewski in ue5-main branch]
2022-03-29 13:20:46 -04:00
jonathan adamczewski
5c68d1d9ef Revert //UE5/Main/... changelist 19531725 - return to NET Core 3.1
#preflight 62422fd0470aff98e946bfce
#jira UE-119846

[CL 19534572 by jonathan adamczewski in ue5-main branch]
2022-03-28 18:25:19 -04:00
jonathan adamczewski
18ac15cbb1 Upgrade to .NET 6.0
#jira UE-119846
#preflight 6241fc06470aff98e943c035

[CL 19531725 by jonathan adamczewski in ue5-main branch]
2022-03-28 15:30:56 -04:00
Marc Audy
0c3be2b6ad Merge Release-Engine-Staging to Test @ CL# 18240298
[CL 18241953 by Marc Audy in ue5-release-engine-test branch]
2021-11-18 14:37:34 -05:00
joakim lindqvist
aaa659b221 Add all files under UBT output directory, as with .net core we now need all of them.
Fixes issue running build setup on linux builders.

#ROBOMERGE-AUTHOR: joakim.lindqvist
#ROBOMERGE-SOURCE: CL 18224318 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v895-18170469)

[CL 18224332 by joakim lindqvist in ue5-release-engine-test branch]
2021-11-17 11:18:20 -05:00