Commit Graph

343 Commits

Author SHA1 Message Date
Ben Marsh
347784c8b8 BuildGraph: Add a parameter to the CsCompile task to allow using the system C# compiler rather than the UE-bundled version. Allows compiling Swarm et al correctly as part of installed build script.
#preflight none
#fyi Jonathan.Adamczewski

[CL 19772216 by Ben Marsh in ue5-main branch]
2022-04-15 12:25:18 -04:00
jonathan adamczewski
c12d99d854 .net6.0 is not supported in VS2019. Suppress warnings about that when using that IDE (with this change, when building UnrealBuildTool & AutomationTool)
#jira none
#rnx
#rb joe.kirchoff
#preflight 624f2c163c2aff69c54ff9eb

[CL 19675097 by jonathan adamczewski in ue5-main branch]
2022-04-07 15:06:02 -04:00
jonathan adamczewski
196e422d10 CsCompile: Fix argument order (and use msbuild rather than build, consistent with elsewhere)
#jira none
#rnx
#preflight 624f15f9933134aa0538dbe3

[CL 19672505 by jonathan adamczewski in ue5-main branch]
2022-04-07 13:09:10 -04:00
jonathan adamczewski
7cf9663b93 CsCompile: Include project in command line
#jira none
#fyi ben.marsh
#rnx
#preflight 624ef817f94f766ffaad7d57

[CL 19669311 by jonathan adamczewski in ue5-main branch]
2022-04-07 10:56:47 -04:00
Ben Marsh
2c879673ff BuildGraph: Fix compilation of C# projects with the bundled NET runtime.
#preflight 624dec312c73c3b0c045a51a

[CL 19654182 by Ben Marsh in ue5-main branch]
2022-04-06 15:56:36 -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
markus breyer
fff228a79e Removed obsolete staging code
#rb andrew.rodham
#rnx
#author andrew.rodham
#author markus.breyer
#preflight 624b4a93dc6183e3f547efa6

#ROBOMERGE-AUTHOR: markus.breyer
#ROBOMERGE-SOURCE: CL 19631454 via CL 19632493 via CL 19636186 via CL 19636668
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v938-19570697)

[CL 19638184 by markus breyer in ue5-main branch]
2022-04-05 21:02:04 -04:00
matt johnson
25c86ecac1 UBT: recognize shared libraries with version number suffixes as allowed duplicate build products
Shared libraries on Linux commonly use a scheme of version number suffixes
and/or symlinks to help ensure that client applications can link against the
appropriate version of a library (e.g. "libfoo.so.1.70.0"). This change updates
IsDuplicateBuildProduct() with an additional case to cover these libraries so
that they are not flagged as an error by the build system if multiple steps
produce them.

#jira UE-148232
#rb brandon.schaefer
#preflight 624c76a8712e7c09a6a15d69

[CL 19627733 by matt johnson in ue5-main branch]
2022-04-05 13:17:02 -04:00
Ryan Hummer
e4945b7f53 Clarify error message when scanning temp storage for cleanup
#rnx
#jira none
#rb none
#preflight skip

[CL 19579046 by Ryan Hummer in ue5-main branch]
2022-03-31 17:23:08 -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
0a6164bbd3 nullability annotations, rethrow fixes, net6.0 warning suppression
#jira none
#trivial
#rnx
#preflight 62425155c61d8a458f230657

[CL 19536049 by jonathan adamczewski in ue5-main branch]
2022-03-28 20:50:06 -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
a16d8bbe02 Bring UE5/Main files in line with RES
#rnx
#preflight

[CL 19519769 by Marc Audy in ue5-main branch]
2022-03-25 18:45:27 -04:00
Ben Marsh
508c144999 Horde: Last batch (hopefully) of static analysis fixes/suppressions.
#preflight 623e144c8073508cfc117a87

[CL 19517822 by Ben Marsh in ue5-main branch]
2022-03-25 15:35:47 -04:00
Ben Marsh
5e8a45eab2 Reformat EpicGames.BuildGraph according to style guidelines.
#preflight 623cdba70a073579730cf22b

[CL 19502617 by Ben Marsh in ue5-main branch]
2022-03-24 17:05:58 -04:00
Ryan Durand
7e494a86dd * Fix spelling on Retrieve
* Copy manifest ZIP files locally before unzipping them.
* Use retries when copying to harden against network blips.

#rnx
#jira UE-139648
#rb ryan.hummer, ben.marsh
#preflight

[CL 19480296 by Ryan Durand in ue5-main branch]
2022-03-23 12:02:11 -04:00
Ben Marsh
a91047d88b Allow running buildgraph scripts outside the UE root directory.
#jira UE-143426
#preflight 621d47429a5676d19a444b2b

[CL 19184477 by Ben Marsh in ue5-main branch]
2022-02-28 17:19:49 -05:00
andrew rodham
c73ff6358b Added missing change that tags digests as part of a cook
#preflight 620d5ef28a1ea16009836696

#ROBOMERGE-AUTHOR: andrew.rodham
#ROBOMERGE-SOURCE: CL 19023877 via CL 19029071 via CL 19029186 via CL 19029219 via CL 19031957
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v917-18934589)

[CL 19032181 by andrew rodham in ue5-main branch]
2022-02-17 03:44:29 -05:00
ben marsh
66f37c2bb9 BuildGraph: Take the digest of any *.version files when copying files to temp storage, so their timestamps can be updated without making any content changes.
#preflight none
#jira

#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 18588704 in //UE5/Release-5.0/... via CL 18588716 via CL 18588728
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Test -> Main) (v899-18417669)

[CL 18588738 by ben marsh in ue5-main branch]
2022-01-12 15:24:13 -05:00
jonathan adamczewski
fb9901fe24 AutomationTool: Remove UE4 references
#jira UE-111740
#preflight none
#trivial

#ROBOMERGE-AUTHOR: jonathan.adamczewski
#ROBOMERGE-SOURCE: CL 18576039 in //UE5/Release-5.0/... via CL 18576055 via CL 18576072
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Test -> Main) (v899-18417669)

[CL 18576082 by jonathan adamczewski in ue5-main branch]
2022-01-11 15:16:51 -05:00
jonathan adamczewski
5765f4595e AutomationTool: Remove UE4 references
#jira UE-111740
#preflight none
#trivial

#ROBOMERGE-AUTHOR: jonathan.adamczewski
#ROBOMERGE-SOURCE: CL 18576039 in //UE5/Release-5.0/... via CL 18576055
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669)

[CL 18576072 by jonathan adamczewski in ue5-release-engine-test branch]
2022-01-11 15:15:59 -05:00
Ben Marsh
4d9a141cb1 BuildGraph: Add a task for querying all modified files since a certain changelist. Can be used in conjuction with Horde UE_HORDE_LAST_SUCCESS_CL to isolate files to rebuild.
#preflight none

[CL 18478415 by Ben Marsh in ue5-main branch]
2021-12-16 15:03:33 -05: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
ryan hummer
a8c7d14e69 Fixing logging format call to include the file name
#rnx
#jira none

#ROBOMERGE-AUTHOR: ryan.hummer
#ROBOMERGE-SOURCE: CL 18444558 in //UE5/Release-5.0/... via CL 18445395 via CL 18445546
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Test -> Main) (v897-18405271)

[CL 18447840 by ryan hummer in ue5-main branch]
2021-12-13 15:14:14 -05:00