Commit Graph

665 Commits

Author SHA1 Message Date
Brandon Schaefer
2ceeb95b2e Fix missing / in the root path for Linux/Mac
#jira none
#rb none
#fyi Ben.Marsh

[CL 17576438 by Brandon Schaefer in ue5-main branch]
2021-09-20 18:04:07 -04:00
Brandon Schaefer
c3982ce56b Fix some missing build root path for Linux
#jira none
#review-17565915 @Ben.Marsh, @Ryan.Durand
#rb Ben.Marsh

[CL 17570918 by Brandon Schaefer in ue5-main branch]
2021-09-20 11:00:35 -04:00
geoff evans
b38d6cfb10 AutomationTool: Support for Editor in Project BuildEnvironments
This adds support for running Editor in BuildGraph Command and Commandlet tasks where the Project at hand has it's own BuildEnvironment.

#jira none
#rb ben.marsh
#preflight 6143be8d9bba9a0001dfc9ee

[CL 17546102 by geoff evans in ue5-main branch]
2021-09-16 19:20:25 -04:00
carlmagnus nordin
341637ba37 IoStore: Changes to allow IoStore to run as part of UnrealPak instead of as a cmdlet
#rb per.larsson
#rnx

#ROBOMERGE-AUTHOR: carlmagnus.nordin
#ROBOMERGE-SOURCE: CL 17517167 via CL 17517189 via CL 17517191 via CL 17519703 via CL 17519714
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Test -> Main) (v870-17433530)

[CL 17519729 by carlmagnus nordin in ue5-main branch]
2021-09-15 10:40:05 -04:00
David Harvey
93a54ca5ba Added a faster option for platforms to quickly return a single device in cases where enumerating all devices can potentially be slow.
#rnx
#jira UE-126034
#preflight 6138bf269c40ec000126cb3e
#rb nuno.leiria

[CL 17471071 by David Harvey in ue5-main branch]
2021-09-09 07:37:00 -04:00
aurel cordonnier
e3f7878676 Merge from Release-Engine-Test @ 17462327 to UE5/Main
This represents UE4/Main @17430120 and Dev-PerfTest @17437669

[CL 17463546 by aurel cordonnier in ue5-main branch]
2021-09-08 16:42:26 -04:00
sebastien lussier
f95c3f0758 Horde HLOD build -
* Added option to shelve the build result to the workspace of a specific user (skipping the submit)
* Created a generic WorldPartitionBuilder BuildGraph command that will allow this kind of operation on any WP builder
* Added a P4.UpdateChange() overload that takes a client (workspace) argument
* Renamed the HLOD_Submit step to HLOD_Finalize, as it can either: gather files from multiple builders locally without submitting / submit the result / shelve the result
#rb richard.malo
#preflight 61376e1fd9c85a000127042c


#ROBOMERGE-AUTHOR: sebastien.lussier
#ROBOMERGE-SOURCE: CL 17444676
#ROBOMERGE-BOT: (v870-17433530)

[CL 17446080 by sebastien lussier in ue5-main branch]
2021-09-07 12:25:06 -04:00
jonathan adamczewski
e67f902714 AutomationTool UpdateVersionFiles:
Do not modify MetaData.cs

#jira none

[CL 17426368 by jonathan adamczewski in ue5-main branch]
2021-09-03 16:45:56 -04:00
branden turner
4817e31f3d #jira UE-121181
Making project file generation wrt to target files consistent for temporary targets ( used for BP-only projects that are either nativized or enable a non-default plugin ) and project file generation.  Temp targets generated in this way didn't previously set DefaultBuildSettings to v2.

#rb none
#fyi Sebastian.Thomeczek
#fyi Jonathan.Adamczewski

[CL 17390240 by branden turner in ue5-main branch]
2021-09-01 14:10:33 -04:00
jonathan adamczewski
5fde59b49e AutomationTool:
When looking for types that come from script modules, look at just the script module assemblies.

#jira none
#rb none

[CL 17352195 by jonathan adamczewski in ue5-main branch]
2021-08-30 10:42:00 -04:00
jonathan adamczewski
c3dea22f71 UnrealBuildTool, AutomationTool:
Print path to log file, print a timestamp at the top of each log file, don't print (wrong) callstack location.

#jira none
#rb ben.marsh

[CL 17351052 by jonathan adamczewski in ue5-main branch]
2021-08-30 08:44:12 -04:00
ryan hummer
82ba8b56e3 Adding resilency to SafeCreateDirectory
All the other Safe<FileOperation>() methods perform a retry. Gave similar retry logic to SafeCreateDirectory

#jira UE-121712
#preflight 611ea60de7a30700016b89c4


#ROBOMERGE-SOURCE: CL 17271118
#ROBOMERGE-BOT: (v858-17259218)

[CL 17273645 by ryan hummer in ue5-main branch]
2021-08-23 15:08:34 -04:00
jonathan adamczewski
1ab11694b6 AutomationTool:
Update references to DotNETCommon/MetaData.cs to Shared/MetaData.cs

#jira none
#rb none
#trivial

[CL 17119587 by jonathan adamczewski in ue5-main branch]
2021-08-10 13:35:01 -04:00
jonathan adamczewski
db8046e278 Move DotNETCommon/BuildUtilities to Shared/EpicGames.Build
Also moves DotNETCommon/Metadata.cs to Shared/Metadata.cs

#jira none
#rb tim.smith

[CL 17116964 by jonathan adamczewski in ue5-main branch]
2021-08-10 11:08:41 -04:00
jonathan adamczewski
8dc68a7f85 AutomationTool: Compile script modules within the application
Add a layer of caching to avoid running msbuild as much as possible.

#jira UE-109181
#rb ben.marsh

[CL 17102399 by jonathan adamczewski in ue5-main branch]
2021-08-09 10:39:09 -04:00
aurel cordonnier
dc856801cd Merge from Release-Engine-Test @ 17059716 to UE5/Main
This represents UE4/Main @ 17030256 and Dev-PerfTest @ 17029914

[CL 17060422 by aurel cordonnier in ue5-main branch]
2021-08-04 17:46:20 -04:00
Josh Engebretson
f07d9877f4 Gauntlet: Fixing issue with reservation renewal, adding Horde job and step ids to reservations. Cleaning up some legacy workers configuration
#jira UE-120801
#rnx

[CL 17037659 by Josh Engebretson in ue5-main branch]
2021-08-03 16:15:55 -04:00
jonathan adamczewski
c3864dd484 P4WriteConfig:
Write p4config.txt with a trailing newline.

#jira none
#trivial

[CL 17020839 by jonathan adamczewski in ue5-main branch]
2021-08-02 17:35:28 -04:00
ben zeigler
cc4f7aa8d1 #jira UE-120464 Add Custom Config directory feature, which allows specifying an override directory to support shipping multiple types of builds per platform
Setting CustomConfig=Foo in a Target.cs file will cause it to overlay config files from Project/Config/Custom/Foo on top of the defaults, allowing easy override of things like OSS settings to support multiple stores
In development, -CustomConfig=foo can be specified in both C++ and C# to enable the same functionality, which can be used to select between multiple different stage/deploy configurations in a build script
#rb josh.adams, ben.marsh

[CL 17017130 by ben zeigler in ue5-main branch]
2021-08-02 12:21:42 -04:00
Ben Marsh
b343ecd968 Always log the client spec created in calls to CommandUtils.P4.CreateClient.
[CL 16861914 by Ben Marsh in ue5-main branch]
2021-07-15 09:56:28 -04:00
Per Larsson
cd7e077d77 Simplify command line arguments when running COTF with Zen loader/storage server
- changed Cooker arguments from -CookOnTheFly -IoStore to -CookOnTheFly -ZenStore
- changed Zen host argument from -StorageServerHost to -ZenStoreHost
- updated UAT to support running CBTB with -ZenStore
- updated StorageServerConnection to handle multiple hosts from command line

Cooker:
  CBTB: -ZenStore
  COTF: -ZenStore -CookOnTheFly

Game:
  CBTB: -ZenStoreHost=<ip> or <ip1,ip2>
  COTF: -ZenStoreHost=<ip> or <ip1,ip2> -CookOnTheFly

#rb CarlMagnus.Nordin
#jira none
#rnx

[CL 16849969 by Per Larsson in ue5-main branch]
2021-07-14 10:38:23 -04:00
aurel cordonnier
d17d20ca36 Merge from Release-Engine-Test @ 16758890 to UE5/Main
This represents UE4/Main @ 16738161 and Dev-PerfTest @ 16737719 (and Release-17.00 @ 16658211)

[CL 16763350 by aurel cordonnier in ue5-main branch]
2021-06-23 17:51:32 -04:00
Ryan Durand
e4aeaee242 Make sure to break after a successful copy.
#rnx
#rb none
#jira none

[CL 16710154 by Ryan Durand in ue5-main branch]
2021-06-17 16:08:27 -04:00
jonathan adamczewski
2627bd963f AutomationTool:
Remove dependencies from AutomationTool -> AutomationToolUtils

Removes compile-time dependencies, except for the call to AutomationTool.Automation.Process - which will be changed in a future CL.

This change is part of preparing AutomationTool to be able to build All *.Automation.csproj projects (including AutomationUtils.Automation.csproj)

#jira UE-109181
#preflight 60caedc72ab21800016a73a5
#rb ben.marsh

[CL 16703954 by jonathan adamczewski in ue5-main branch]
2021-06-17 09:45:35 -04:00
jonathan adamczewski
90dde181c0 ExitCode:
Move enum from AutomationUtils.Automation to BuildUtilities

#jira none
#trivial
#preflight 60ca8a3d78c3b00001f86b24

[CL 16701095 by jonathan adamczewski in ue5-main branch]
2021-06-17 01:49:00 -04:00