Commit Graph

138 Commits

Author SHA1 Message Date
Ryan Durand
e2eeda3ff3 Refactor how we find child process IDs.
#rnx
#rb ben.marsh
#jira none

[CL 10075533 by Ryan Durand in Dev-Build branch]
2019-11-07 16:18:10 -05:00
Ryan Durand
cd14b5d4ac Adding WriteFileTask so we can write out a "build complete" file onto the share so the stuff Rene is working on can upload the build.
#rnx
#rb ben.marsh
#jira none

[CL 9749288 by Ryan Durand in Dev-Build branch]
2019-10-22 15:08:57 -04:00
Rolando Caloca
1a30325d6f Copying //UE4/Dev-RenderPlat-Staging@9551419 to //UE4/Main
#rb none
#rnx

[CL 9551447 by Rolando Caloca in Main branch]
2019-10-11 15:33:31 -04:00
Andrew Grant
bf5ae63b7f Restoring changes from 9530618 with -
- Don't fall through to an exception if an Exists() clause fails
- Don't use an inline function for recursion (older .net versions?)
- Remove project reference in Gauntlet that was being added by new Platform/* wildcard

#fyi luke.thatcher, marc.audy
#jira UE-81525
#rb na

[CL 9537797 by Andrew Grant in Main branch]
2019-10-10 11:44:17 -04:00
Andrew Grant
54c420f6ac Undo //UE4/Main/Engine/Source/Programs/... changelist 9530618
#jira #rb na

[CL 9534305 by Andrew Grant in Main branch]
2019-10-10 10:39:08 -04:00
Andrew Grant
1e1d6f7e6e Fixing odd issue on builders with nested function
#jira na
#rb marc.audy

[CL 9534192 by Andrew Grant in Main branch]
2019-10-10 10:34:51 -04:00
Andrew Grant
b334dd8b98 The "platforms as plugins" work exposed two awesome issues...
1) The CsProjectinfo class was not processing <Choose> nodes so ItemGroups within those nodes were not having their compile files parsed

2) The CsProjectInfo class only supported fully formed paths, not the wildcard syntax that csproj files can use.

This CL corrects both of these by adding the following -

* <Choose> nodes are now descended into and their elements are processed.
* The condition evalutor now supports the Exists statement (e.g. Exists(path))
* Wildcard include statements are expanded into a list of files. File wildcards (Foo/*.cs), path wildcards (Foo/*/*.cs), and greedy wildcards (Foo/**) are all supported.

As part of this work the Gauntlet.csproj file has been modified to use wildcards.

#review-9493793 @ben.marsh,@luke.thatcher
#jira UE-81525
#rb reviewed

[CL 9530618 by Andrew Grant in Main branch]
2019-10-10 08:54:46 -04:00
bob tellez
8caa83dfc9 #UE4 Added copyright
[FYI] Ben.Marsh


#ROBOMERGE-SOURCE: CL 9421562 via CL 9421564 via CL 9421566 via CL 9421568 via CL 9422709
#ROBOMERGE-BOT: (v480-9420520)

[CL 9423042 by bob tellez in Main branch]
2019-10-04 16:48:38 -04:00
ben marsh
69d578b959 UBT: Add unique error messages for every site that can throw an exception when creating managed processes. Also retry creating a process if it fails with ERROR_ACCESS_DENIED, which we seem to be seeing intermittently on the builders.
#ROBOMERGE-SOURCE: CL 9420558 via CL 9420568 via CL 9420572 via CL 9420589 via CL 9422358
#ROBOMERGE-BOT: (v480-9420520)

[CL 9422426 by ben marsh in Main branch]
2019-10-04 16:19:09 -04:00
Ben Marsh
b6039a9873 Merging //UE4/Dev-Main to Dev-Build (//UE4/Dev-Build)
#rb none
#rnx

[CL 9419420 by Ben Marsh in Dev-Build branch]
2019-10-04 11:20:44 -04:00
ben marsh
66a035ff0e Fix exception stack traces being stomped when starting ManagedProcess instances.
#ROBOMERGE-SOURCE: CL 9412980 via CL 9412981 via CL 9412982 via CL 9412983 via CL 9412984
#ROBOMERGE-BOT: (v456-9359915)

[CL 9412985 by ben marsh in Main branch]
2019-10-04 00:33:51 -04:00
Ben Marsh
e0863b14d9 Improve error output when a file force-move fails. Show the file being moved, and actions that were taken to try and force the operation.
#rb none

[CL 9411488 by Ben Marsh in Dev-Build branch]
2019-10-03 22:47:24 -04:00
Ben Marsh
28572de2c0 Add functionality to issue commands to UGS servers to BuildAgent tool.
#rb none

[CL 9318529 by Ben Marsh in Dev-Build branch]
2019-10-01 13:55:24 -04:00
Ben Marsh
aadbcfea01 Updates to BuildAgent executable. Fix a few issues with the EC post-processor, and make it easier to pass command line arguments to the child process for a run command.
#rb none
#rnx

[CL 9317220 by Ben Marsh in Dev-Build branch]
2019-10-01 12:20:54 -04:00
Ben Marsh
3a34baed5e Merge log parser into WorkspaceTool (now renamed to "BuildAgent"). Also add some common functionality into DotNETUtilities.
#rb none

[CL 9233706 by Ben Marsh in Dev-Build branch]
2019-09-27 16:21:33 -04:00
Ben Marsh
6e309d2c22 UAT: Move functionality for creating attribute-driven help pages into DotNETCommon.
#rb none
#rnx

[CL 9153728 by Ben Marsh in Dev-Build branch]
2019-09-26 13:31:07 -04:00
Ben Marsh
ddf7620797 UBT: Fix parsing of nullable arguments passed via command line arguments.
#rb none
#fyi pj.kack
#rnx

[CL 8382982 by Ben Marsh in Dev-Build branch]
2019-08-30 09:07:48 -04:00
Ben Marsh
f0b21050a3 Add a "GenerateClangDatabase" mode to UBT, which will generate a compile_commands.json file in the workspace root directory for Clang tooling. Filter which files to include using the -Filter=... argument (eg. -Filter=QAGame/Source/...).
Example usage:

UnrealBuildTool.exe UnrealPak Win64 Development -Mode=GenerateClangDatabase -Filter=Engine/Source/Programs/...

#rb none

[CL 8121646 by Ben Marsh in Dev-Build branch]
2019-08-19 21:09:01 -04:00
Ryan Durand
1cda6a5d08 A couple of files that got missed in the Horde check in.
#rnx
#rb none
#jira none

[CL 8042290 by Ryan Durand in Dev-Build branch]
2019-08-14 16:24:58 -04:00
ben marsh
a07356736d Add more debug info to failures when duplicating handles.
#rb none
#rnx
#jira

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 7706768 in //UE4/Release-4.23/... via CL 7706769
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build) (v389-7813075)

[CL 7834534 by ben marsh in Dev-Build branch]
2019-08-06 22:17:42 -04:00
ben marsh
0d5eb2d3d8 UBT: Include additional context when a managed process fails to start.
#rb none
#jira UE-76597
#rnx

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 7689299 in //UE4/Release-4.23/... via CL 7689300
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build) (v388-7785529)

[CL 7809606 by ben marsh in Dev-Build branch]
2019-08-06 12:57:50 -04:00
andrew grant
806a33979e Fix for issue on Linux trying to create a file at a path that doesn't exist (on Windows & Mac other code results in this path being created earlier).
#jira #rb na
[FYI] michael.sartain

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: andrew.grant
#ROBOMERGE-SOURCE: CL 7647006 in //UE4/Release-4.23/... via CL 7647007
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build) (v388-7785529)

[CL 7789544 by andrew grant in Dev-Build branch]
2019-08-06 10:39:22 -04:00
andrew grant
1004e7cebc QOL improvements for Mac from UE4/Main that missed original branch
- Use msbuild where possible for building UAT by checking for mono5
- Hash state of UAT scritps post-compile to skip redundant rebuilds

#jira nojira
#rb na

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: andrew.grant
#ROBOMERGE-SOURCE: CL 7634479 in //UE4/Release-4.23/... via CL 7634480
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build) (v385-7708028)

[CL 7731875 by andrew grant in Dev-Build branch]
2019-08-05 07:11:19 -04:00
ben marsh
97a7bbcd24 Add more debug info to failures when duplicating handles.
#rb none
#rnx
#jira

#ROBOMERGE-SOURCE: CL 7706768 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v384-7690951)

[CL 7706769 by ben marsh in Main branch]
2019-08-02 10:50:02 -04:00
ben marsh
408d4d3b62 UBT: Include additional context when a managed process fails to start.
#rb none
#jira UE-76597
#rnx

#ROBOMERGE-SOURCE: CL 7689299 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v383-7686620)

[CL 7689300 by ben marsh in Main branch]
2019-08-01 13:07:33 -04:00