Commit Graph

23 Commits

Author SHA1 Message Date
henrik karlsson
37301aef2c [UBT/EpicGames.Build]
* Removed debug code accidentally submitted (submitted from active change than shelf and ended up submitting these lines)

#rb Devin.Doucette
#preflight trivial

#ROBOMERGE-AUTHOR: henrik.karlsson
#ROBOMERGE-SOURCE: CL 21362243 via CL 21387021 via CL 21389408 via CL 21389788
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v975-21357124)

[CL 21392503 by henrik karlsson in ue5-main branch]
2022-08-15 15:48:11 -04:00
henrik karlsson
9b603cee85 [UnrealBuildTool]
* Added support for ".ubtignore" files that can be put in a folder to make ubt ignore the folder and its subfolder
* Fixed bug where project's plugin and source folder were visited multiple times (look in FileMetadataPreftch.cs)
* Changed so Lazy<File/DirectoryItem> is resolved directly on windows platform and only do the extra refresh on mac/linux (there seems to be some bugs on those platforms and we don't want to pay extra cost on windows)
* Added runtimeconfig.template.json and changed UnrealBuildTool to use server gc and a few more settings that improve performance
* Added so all file traversing paths is aware of .uplugin
* Added debug code to be able to write out which files that have been touched during UBT execution. This can serve as a way to identify places to add .ubtignore files

#rb Joe.Kirchoff
#preflight 62f685f8cf7afa018ba0a4a5

#ROBOMERGE-AUTHOR: henrik.karlsson
#ROBOMERGE-SOURCE: CL 21360427 via CL 21371108 via CL 21371121 via CL 21371139
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21371637 by henrik karlsson in ue5-main branch]
2022-08-13 02:43:13 -04:00
UnrealBot
73409369c0 Branch snapshot for CL 21319338
[CL 21319338 in ue5-main branch]
2022-08-10 16:03:37 +00:00
Tim Smith
5200aeebdb Fixed issue with UAT/UBT script module rebuild tracking. If MSBuild doesn't update the target DLL due to there being no real changes, then the simple check against target time stamps being out of order would fail. Changed to save the reference time stamp and then compare them to test to see if they don't match.
Minor refactor to how valid and invalid build records are tracked.

#rb josh.adams
#preflight 62d15d263b057e7274876325

[CL 21108749 by Tim Smith in ue5-main branch]
2022-07-15 08:42:45 -04:00
josh adams
f133254485 - Fixed up 3 Linux ContentWorker issues that came from the dotnet 6 upgrade (or other recent UE5 changes):
* Staged the wrong Dotnet directory when making CW from Windows (it would stage Dotnet/6.20.00/windows)
* The ScriptModule code that used the Automation.json files to discover the precompiled UAT script dlls didn't handle \'s on Linux in the paths, and since Windows wrote out the files, there are \'s aplenty. I fixed up the known issue, but possibly all paths loaded from the json files should be fixed up, but it's not easy to do automatically
* We moved to using RunUAT.sh instead of calling dotnet directly, however because we make the CW on Windows, dotnet was not executable, and the code in RunUAT.sh to find the dotnet executable and make it executable (chmod `which dotnet`) only works if dotnet is already executable! So, I moved the +x code into SetupDotnet.sh, on Linux and Mac
#rb eric.knapik
#preflight 62ccd2009922f7e512b6e51a

#ROBOMERGE-OWNER: josh.adams
#ROBOMERGE-AUTHOR: josh.adams
#ROBOMERGE-SOURCE: CL 21055451 via CL 21055464 via CL 21055478
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)
#ROBOMERGE-CONFLICT from-shelf

[CL 21076349 by josh adams in ue5-main branch]
2022-07-13 14:17:50 -04:00
Tim Smith
5d35876169 Added support for UE_5_1_OR_LATER style define constants for UBT/UHT C# plugins.
#rb self
#rnx
#preflight 62cd5d7b21129e2bb824626f

[CL 21054775 by Tim Smith in ue5-main branch]
2022-07-12 07:48:21 -04:00
Joe Kirchoff
032c08b7ad Epicgames.Build: Use a Lazy FileSystemInfo to ensure info is initialized before use while still deferring the Refresh until accessed
#rnx
#rb none
#jira UE-156859
#preflight 62c631db3c5171c81722998b

[CL 20978882 by Joe Kirchoff in ue5-main branch]
2022-07-06 21:33:53 -04:00
Ben Marsh
d302274b33 Fix other xmldoc issues when building UBT.
#preflight none

[CL 20777501 by Ben Marsh in ue5-main branch]
2022-06-22 13:40:26 -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
Tim Smith
04c076e820 Assortment of very quick UBT optimizations. 15% redunction in UBT null build for UE
#rb
#rnx
#preflight 6269818e8c2782e4f23e5285

[CL 19943474 by Tim Smith in ue5-main branch]
2022-04-27 14:16:14 -04:00
Tim Smith
36421e5c91 Minor refactor to UBT plugins.
Added support for props file for UBT plugins.  Needed for packaging of plugins having a ubt plugin

#rnx
#rb trivial
#preflight 62694f6a7f6900cdefa9431c

[CL 19939499 by Tim Smith in ue5-main branch]
2022-04-27 10:30:21 -04:00
Tim Smith
ee9ae5c66a Adding UBT plugin support currently only used by UHT
#rb jonathan.adamczewski ben.marsh
#preflight 625ff59ace2ef75d47707e74

[CL 19828042 by Tim Smith in ue5-main branch]
2022-04-20 08:27:26 -04:00
Tim Smith
9753bb366a Adjustments to the script module compiler code in preperation for use by UBT.
#rn trivial
#rnx
#preflight 625db2a9804460ab0fd83165

[CL 19792014 by Tim Smith in ue5-main branch]
2022-04-18 15:18:21 -04:00
Tim Smith
dfb68b18b4 Moved C# project build support from UAT to EpicGames.Build. Isolated code referencing Microsoft.Build into a dll to avoid any issues calling Assembly.GetTypes(). In prior code, it would attempt to resolve the types for things using Microsoft.Build.Framework and fail to load it. By resolving that issue, any future changes to UBT that will utilize this code will not result in any build/target scripts needing to be modified if they use Assembly.GetTypes().
#rnx
#rb jonathan.adamczewski
#preflight 625d7777d4124345879a84a7
#preflight 625d89af6813aa38e3cff392

[CL 19786950 by Tim Smith in ue5-main branch]
2022-04-18 12:17:12 -04:00
Tim Smith
129d33624a Updated EpicGames.Build to be a net6 project.
#rb jonathan.adamczewsky
#preflight 6258081cd606fd159ec036f8

[CL 19753396 by Tim Smith in ue5-main branch]
2022-04-14 07:44:59 -04:00
Tim Smith
84328d4425 Undo changes to EpicGame.Build for net6. Reference directory is causing issues.
#rnx
#rb self
#preflight 62571387153630bb90e0aad9

[CL 19743385 by Tim Smith in ue5-main branch]
2022-04-13 14:38:27 -04:00
Tim Smith
9323cfd427 Updated EpicGames.Build to be a net6 project.
#rb jonathan.adamczewsky
#preflight 6256fa78f7476d662c7a9ff3

[CL 19741580 by Tim Smith in ue5-main branch]
2022-04-13 12:50:05 -04:00
Tim Smith
76b3f0f74a Undo //UE5/Main/Engine/Source/Programs/... changelist 19477828
#preflight skip
#rnx

[CL 19477910 by Tim Smith in ue5-main branch]
2022-03-23 08:30:01 -04:00
Tim Smith
40be3125a0 Moved C# project build support from UAT to EpicGames.Build. Isolated code referencing Microsoft.Build into a dll to avoid any issues calling Assembly.GetTypes(). In prior code, it would attempt to resolve the types for things using Microsoft.Build.Framework and fail to load it. By resolving that issue, any future changes to UBT that will utilize this code will not result in any build/target scripts needing to be modified if they use Assembly.GetTypes().
#rnx
#rb jonathan.adamczewski
#preflight 623b0e64c73745c600b8e626

[CL 19477828 by Tim Smith in ue5-main branch]
2022-03-23 08:17:23 -04:00
Tim Smith
603b903987 Prepare UBT and automation code type scanning for the moving of the MSBuild code. This requires a change in how we handle the load failure of Microsoft.build.framework.
#rb leigh.swift
#rnx
#preflight 62337c800820efd0945e40d0

[CL 19424430 by Tim Smith in ue5-main branch]
2022-03-17 14:44:47 -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
aurel cordonnier
fc542f6cfd Merge from Release-Engine-Staging @ 18081189 to Release-Engine-Test
This represents UE4/Main @18073326, Release-5.0 @18081140 and Dev-PerfTest @18045971

[CL 18081471 by aurel cordonnier in ue5-release-engine-test branch]
2021-11-07 23:43:01 -05:00
jonathan adamczewski
2b7b866f45 Move DotNETCommon/BuildUtilities to Shared/EpicGames.Build
Also moves DotNETCommon/Metadata.cs to Shared/Metadata.cs

#jira none
#rb tim.smith

#ROBOMERGE-SOURCE: CL 17116964 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v855-17104924)

[CL 17116977 by jonathan adamczewski in ue5-release-engine-test branch]
2021-08-10 11:09:18 -04:00