Commit Graph

1359 Commits

Author SHA1 Message Date
Wes Hunt
0893ed9f83 All GUBP nodes for a job will use the same temp storage root determined by the branch it is in.
* This should keep storage created by a branch isolated to one location, and allow game-specific branches to control their own storage independently.
* Removed fallback code that looks for temp storage in UE4 folder if not found, since this doesn't really make sense anymore.
* Removed WasLocal out param from RetrieveFromTempStorage since no one was using it.
* Added a new branch hacker Dictionary: GameNameToBuildShareMapping, which essentially specifies, per-game, which build share to use. If one is not specified for that game, it falls back to the UE4 build share.
* Moved branch hacker options creation earlier in GUBP so the JobInfo can use it to determine the location for temp storage.
#jira UEB-341
#codereview:ben.marsh

[CL 2681005 by Wes Hunt in Main branch]
2015-09-04 16:33:23 -04:00
Richard Fawcett
6269b9712e Prevent BuildPatchTool updating timestamps of chunk files in Compactify mode, as they're no longer honored by builders.
Also, remove -nopatchdelete mode, as it no longer makes sense now that we don't update timestamps.

#jira OPP-3947
#reviewedby Leigh.Swift

[CL 2680221 by Richard Fawcett in Main branch]
2015-09-04 09:35:07 -04:00
Ben Marsh
af30a6e6c3 Merging CL 2679086 from Fortnite branch: Fix sporadic build failure due to build machines having base directories spelt with different cases.
[CL 2679093 by Ben Marsh in Main branch]
2015-09-03 14:35:08 -04:00
Ben Marsh
fd77d10c50 Fix UAT discovery of build folders in other projects.
[CL 2678683 by Ben Marsh in Main branch]
2015-09-03 11:16:34 -04:00
Ben Marsh
14d60e726c Add the Tools node as a dependency of the BlueprintDocumentation node, because it may need to generate shaders.
[CL 2678466 by Ben Marsh in Main branch]
2015-09-03 09:28:43 -04:00
Richard Fawcett
55b67c2d42 Update access and modified dates of referenced manifests files during Rocket cleanup.
Adding a TouchFile method to CommandUtils as part of the solution.

[CL 2678465 by Richard Fawcett in Main branch]
2015-09-03 09:27:43 -04:00
Ben Marsh
9610023ca5 Use FileReference and DirectoryReference classes instead of strings for paths. Massively reduces the amount of paranoid calls to GetFullPath(), CleanDirectorySeparators() et al., and improves performance for really common UBT operations like making relative paths or checking if files are under a directory. Strong typing ensures that intention of parameters is explicit.
[CL 2678429 by Ben Marsh in Main branch]
2015-09-03 08:47:24 -04:00
Jeff Campeau
824bc1545a Switch back to calling ubt on empty strings to fix linux packaging.
[CL 2677743 by Jeff Campeau in Main branch]
2015-09-02 17:32:38 -04:00
Dmitry Rekman
c7508c3ada UAT: fix Linux packaging.
- Added check for a missing architecture parameter together with fallback to a hardcoded default.
- Ugly but a replacement is in the works.

#codereview Ben.Marsh, Peter.Sauerbrei

[CL 2677726 by Dmitry Rekman in Main branch]
2015-09-02 17:26:25 -04:00
Peter Sauerbrei
34c569dc00 UE-20642 - removed ForceNonUnity, ForceMonolithic, and ForceDebugInfo from BuildTarget class as they weren't being used anywhere
#uat

[CL 2677211 by Peter Sauerbrei in Main branch]
2015-09-02 12:53:22 -04:00
Richard Fawcett
73556561d4 Improve Amazon S3 upload performance
Use .NET ThreadPool to have finer control over the number of upload threads
Use AWSSDK's PutFileAsync method over the non-async version

#reviewedby Andrew.Brown

[CL 2676875 by Richard Fawcett in Main branch]
2015-09-02 09:24:08 -04:00
Wes Hunt
bfddd22af3 UEB-394 - improved error message when UAT/UBT fails to execute due to global mutex. Removed name of mutex as it was not useful, and gave an idea of how to find the offending instance.
[CL 2675757 by Wes Hunt in Main branch]
2015-09-01 13:53:34 -04:00
Matthew Griffin
57833618eb Changed BuildDerivedDataCacheNode to use target receipts to add runtime dependencies.
Removed files from InstalledEngineFilters again.

[CL 2675191 by Matthew Griffin in Main branch]
2015-09-01 04:48:32 -04:00
Bob Tellez
4d4850714b #UE4 CIS fix. Removed code recently merged from UE4-Fortnite adding GameAggregatePromotableNodes. These no longer exist.
[CL 2675088 by Bob Tellez in Main branch]
2015-08-31 23:05:10 -04:00
Bob Tellez
e9f5fa882d Dev->Main Merging CL#2668915 using UE4-Fortnite-To-UE4
[CL 2675065 by Bob Tellez in Main branch]
2015-08-31 22:22:58 -04:00
Ben Marsh
0a89383b5a Explicitly compile the rules assembly and pass it around as a parameter, rather than caching it as global state in RulesCompiler.
[CL 2674051 by Ben Marsh in Main branch]
2015-08-31 10:33:16 -04:00
Chris Babcock
a939d907d6 Add launch image support for Android (disabled for GearVR)
#ue4
#android

[CL 2673367 by Chris Babcock in Main branch]
2015-08-28 19:34:42 -04:00
Jeff Campeau
37c192be08 Don't try to expant empty architectures, only missing one.
Several platforms have empty architectures and we shouldn't call build code when staging if we can avoid it.

[CL 2672679 by Jeff Campeau in Main branch]
2015-08-28 14:37:12 -04:00
Matthew Griffin
ccd90b10b4 Listing runtime dependencies in module rules instead of InstalledEngineFilters.ini
Added code when filtering rocket files to search through build products for target files and add their runtime dependencies to the filter rules.

#jira UEB-372

[CL 2672116 by Matthew Griffin in Main branch]
2015-08-28 06:22:07 -04:00
James Moran
52722d49c4 Don't use AppendLine on StringBuilder is it outputs system dependent line endings. Manually output \\n instead.
Fixes UE-20380

[CL 2672115 by James Moran in Main branch]
2015-08-28 06:22:04 -04:00
Peter Knepley
0d3a5d6e41 Dedicated servers should stage needed engine content for crash reporter
Merging 2671465

//depot/UE4-UT/...

to //depot/UE4/...

#codereview James.Golding

[CL 2671550 by Peter Knepley in Main branch]
2015-08-27 17:11:21 -04:00
Daniel Lamb
a1f7e17ea0 Added some more warnings when stats directory was not found.
[CL 2669723 by Daniel Lamb in Main branch]
2015-08-26 15:19:22 -04:00
Peter Sauerbrei
5e0ec6c322 UE-20341 - fixed issues with needing to cook server when cooking client
[CL 2669593 by Peter Sauerbrei in Main branch]
2015-08-26 14:17:28 -04:00
Daniel Lamb
5ffd3add58 Fixed builder issue when stats directory is not created don't copy the stats files.
#codereview Peter.Sauerbrei

[CL 2669394 by Daniel Lamb in Main branch]
2015-08-26 12:03:32 -04:00
Ben Marsh
7aee54313a Merging UAT stream support from //UE4/Main.
[CL 2669186 by Ben Marsh in Main branch]
2015-08-26 10:00:34 -04:00