Commit Graph

3588 Commits

Author SHA1 Message Date
Leslie Nivison
ff3eaf36d2 Updating TPS files
[CL 2681371 by Leslie Nivison in Main branch]
2015-09-04 20:53:02 -04:00
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
Ben Marsh
6f32c868e1 Use manual binary serialization for dependency caches, instead of the standard .NET serializer. Reduces load time from ~1s to <0.1s, and reduces size to half or less.
[CL 2680675 by Ben Marsh in Main branch]
2015-09-04 13:48:30 -04:00
Justin Hair
430142dfbc [AUTOMERGE]
This submission allows the end user to launch onto any platform using a profile created inside of the UFE.
Allows for easier scripting for testing and launching your project.

To run:
UnrealFrontend.exe -Run="LAUNCHPROFILE" -PROFILENAME="THE_NAME_OF_YOUR_CUSTOM_PROFILE"

**Changes and Additions**
Added LaunchFromProfileCommand.h/.cpp
--Checks if '-ProfileName=' is used and is correct.
--Loads the LaucherServicesModules and DeviceServicesModules
----Gets the Device Proxy Manager
----Gets the Profile Manager which is needed to find the named profile.
--A launcher is created that uses the profile and DeviceProxyManager to read the profile and trigger a build, cook, and launch of it.
--Logging from the launch will be shown in the command window.
--Keeps running until the launcher broadcasts that it has either completed or has been cancelled.

UnrealFrontendMain.cpp
Task Related:
--Added the launch profile command to the command if/else statement.
--Added helpful comments.
Improvements and General Fixes:
--Added a check to verify that a command is actually given with -Run.  Logs a warning if none exist.
--Fixed an issue where the -messaging command line check was returning incorrectly.  It will now only add '-messaging' if it actually does not exist in the command line already.
--Added a command line check where if you run with -run then -log will be appended to the command line if it isn't already.  This allows us to receive logging onscreen.

#CodeReview: adric.worley, justin.hair, marcus.wassmer, jason.bestimt, bob.ferreira, ben.salem, brad.angelcyk

--------
Integrated using branch UE4-Orion-To-UE4 of change#2675868 by Justin.Hair on 2015/09/01 14:50:30.

[CL 2680596 by Justin Hair in Main branch]
2015-09-04 12:55:44 -04:00
Gil Gribb
2bff847be0 UE4 - Lots of changes to the task graph include new experimental scheduler, current used on PS4, but expected to be used on all platforms after it shakes out.
[CL 2680413 by Gil Gribb in Main branch]
2015-09-04 11:22:22 -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
af44f007b1 Only determine the module distribution level when it's actually required, and don't do it when generating project files.
[CL 2680154 by Ben Marsh in Main branch]
2015-09-04 08:02:30 -04:00
Ben Marsh
b27644e918 Cache enumerated plugins between runs. Improves performance when generating project files.
[CL 2680148 by Ben Marsh in Main branch]
2015-09-04 07:59:53 -04:00
Ben Marsh
d5f47b28ec Optimize searching for source files under a given directory, by constructing DirectoryReference and FileReference objects directly from the full paths returned by the system.
[CL 2680146 by Ben Marsh in Main branch]
2015-09-04 07:56:29 -04:00
Robert Manuszewski
62635cffd9 Making FNativeClassHeaderGenerator::GetGeneratedFunctionTextDevice's MaxLinesPerCpp configurable via ini setting.
[CL 2680019 by Robert Manuszewski in Main branch]
2015-09-04 03:35:53 -04:00
Dmitry Rekman
7962cac622 Linux: moved common startup code to a separate module.
- The code that handles initial setup (command line processing, rlimits and debugger) is now shared between engine, UFE and SlateViewer.

[CL 2679796 by Dmitry Rekman in Main branch]
2015-09-03 20:46:02 -04:00
Ben Marsh
8aec191675 Remove some esoteric options from the project file generator (for only showing public headers, and hiding NoRedist folders) to improve performance of directory scanning.
[CL 2679439 by Ben Marsh in Main branch]
2015-09-03 17:31:11 -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
Dmitry Rekman
8b5ac31f09 UBT: fix CodeLite project generator.
[CL 2678756 by Dmitry Rekman in Main branch]
2015-09-03 11:48:25 -04:00
Ben Marsh
7fa8b50279 Optimize an inner loop that runs over all files that get added to a project. Path.GetDirectoryName() is pretty slow, and if we're running using full paths we don't need to validate it again.
[CL 2678737 by Ben Marsh in Main branch]
2015-09-03 11:41:30 -04:00
Ben Marsh
60d83dd759 Fix path to the dependency cache file.
[CL 2678703 by Ben Marsh in Main branch]
2015-09-03 11:26:53 -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
Jaroslaw Palczynski
7bd4a678b2 UE-20594: Fix no suffix bug and it's error during hot-reload.
#codereview Robert.Manuszewski

[CL 2678668 by Jaroslaw Palczynski in Main branch]
2015-09-03 11:10:21 -04:00
Peter Sauerbrei
5b049bab31 fix for building UE4Game for IOS
[CL 2678612 by Peter Sauerbrei in Main branch]
2015-09-03 10:46:24 -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
85273e9312 Allow UBT to wait on being able to run if the -waitmutex parameter is specified, and add it to the default command line from generated project files. Restores ability to build the entire solution from Visual Studio and have all UBT runs serialized.
#jira UE-20699
#codereview Wes.Hunt

[CL 2678456 by Ben Marsh in Main branch]
2015-09-03 09:18:45 -04:00
Ben Marsh
3198f2bad5 Rename FileSystemName.cs to FileSystemReference.cs.
[CL 2678433 by Ben Marsh in Main branch]
2015-09-03 08:52:31 -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