Commit Graph

86 Commits

Author SHA1 Message Date
Michael Trepka
c27cb4741c Updated UBT's WriteFileIfChanged() to not use a BOM marker on Mac
[CL 2081974 by Michael Trepka in Main branch]
2014-05-22 10:28:34 -04:00
Jaroslaw Palczynski
ad41d38951 [GitHub] 141 : Move project validation to own method
#ttp 335085
#codereview Robert.Manuszewski

[CL 2081721 by Jaroslaw Palczynski in Main branch]
2014-05-22 04:16:52 -04:00
Jaroslaw Palczynski
17d9ce9ab2 [GitHub] 131 : Improve cloning of Environments
#ttp 334941
#codereview Robert.Manuszewski

[CL 2081720 by Jaroslaw Palczynski in Main branch]
2014-05-22 04:16:41 -04:00
Robert Manuszewski
a05ad646c2 UBT: More detailed module types. ScriptPlugins can now ingore modules by their type.
[CL 2081573 by Robert Manuszewski in Main branch]
2014-05-22 01:20:24 -04:00
Wes Hunt
d964af7252 Added BuildInfo Cleanup script
* Created RocketPeriodicClean command (use -SimulateCDN and/or -Preview for testing locally)
  * repairs inconsistencies in the BI service
  * Recovers manifests from P that are not found on the CDN
  * Ensures labeled builds on Prod are labeled on GameDev
  * removes orphaned BuildInfos
  * removes unlabeled BuildInfos
  * Deletes any manifests that are not referenced after the previous steps.
  * Deletes any labels that are not used after the previous steps.

Added Compactify script
* Created unified Compactify command (use -SimulateCDN and/or -Preview for testing locally)
  * Supports Rocket and Launcher
  * Compactifies all associated CloudDirs on all the associated CDNs
  * Can specify a subset of CDNs using -CDNLocations=XXX,YYY
* Tweaked existing compactify script to use EnumerateFiles and only walk the file list once.
  * This should increase the speed of compactify as we don't have to walk millions of chunks more than once.

MCPBuildDelivery Changes:
* Added ToString() overloads for McpBuildInfo and McpLabel
* GetAppLabelNames() and GetAppNames() changes
  * Flattened result instead of returning dictionaries.
  * Support NULL for AppName to return all Apps.
* Added DeleteLabel() functionality.
* Added CDNLocation and BuildInfoLocation enums to allow programmatic, strongly-typed select of these environments.
  * Used heavily by the cleanup scripts to abstract the operations it performs on all environments.
  * Added conversion functions to go between McpConfigName and these enums.
* Added MountCDNShare(CDNLocation) that allows us to abstract access to the 3 fileshares we use to host chunks.
  * Assert if called on Mac as we can't mount them there yet.
* Added CopyChunksToCDN(SrcCDN, DestCDN) that abstracts transporting chunks from one fileshare to another.
  * Removed legacy support for -CDNDrive cmdline override, as it no longer makes sense globally now.

UBT Changes
* Added HashCodeHelper (from C# MCP) which assists creating IComparable<> implementations with reasonable GetHashCode() implementations.

FortBuild Changes
* Removed several MCP-related commands that are outdated and should no longer be in the code.

#codereview:eric.newman,gil.gribb,robert.manuszewski,carlos.cuello

[CL 2081078 by Wes Hunt in Main branch]
2014-05-21 17:12:44 -04:00
Jaroslaw Palczynski
7606debc6d [GitHub] 66 : Start plumbing for advanced build handling
#ttp 333302
#codereview Robert.Manuszewski

[CL 2080176 by Jaroslaw Palczynski in Main branch]
2014-05-21 06:09:37 -04:00
Michael Trepka
0f56d9ec85 Small cleanup of UE4XcodeHelper use in Xcode project generator
[CL 2079020 by Michael Trepka in Main branch]
2014-05-20 11:49:08 -04:00
Michael Trepka
d4addbfcc9 Fix for product type setting in Xcode project generator
[CL 2078958 by Michael Trepka in Main branch]
2014-05-20 10:48:48 -04:00
Michael Trepka
077bf7deed Changed XcodeProjectTarget.Type in Xcode project generator from string to enum
[CL 2078937 by Michael Trepka in Main branch]
2014-05-20 10:28:53 -04:00
Keith Judge
86220377dd Remove Monolithic Direct3D switch, as this is now enabled by default.
[CL 2078889 by Keith Judge in Main branch]
2014-05-20 09:43:32 -04:00
James Golding
307d1dddeb Move EnginePrivate.h to Private folder, stop including it outside Engine module
Add Runtime/Engine/Private as and Engine private include path
Rename Engine/Private/Materials/MaterialInstance.h to MaterialInstanceSupport.h because it was causing ambiguities
Move cpp files from Classes and Public into Private
#codereview steve.robb, Robert.Manuszewski, nick.penwarden

[CL 2078806 by James Golding in Main branch]
2014-05-20 07:27:59 -04:00
Dmitry Rekman
a97a6cded9 UBT: Fixed a minor warning in Mono.
#codereview Steve.Robb

[CL 2077517 by Dmitry Rekman in Main branch]
2014-05-19 08:17:15 -04:00
Steve Robb
d3d90eafb4 #ttp 333737: UHT should not output anything differently for Rocket - resubmitted after CL# 2068336 was backed out due to UAT rebuild problems.
#change Root module path added to include paths.
#change Plugins now write intermediates to the project folder.
#change All generated #includes are now relative.
#change Updated UHTDebugging.manifest to new format.
#change Android response files now use relative include paths to prevent overly-large response files.
#remove Rocket-specific UHT execution removed.
#remove iOS header hack removed.

#codereview robert.manuszewski,ben.marsh

[CL 2077472 by Steve Robb in Main branch]
2014-05-19 06:57:00 -04:00
Robert Manuszewski
cf6315424b [GitHub] 144 : Fix indentation of trace output
[CL 2077464 by Robert Manuszewski in Main branch]
2014-05-19 06:36:54 -04:00
Robert Manuszewski
c966ee6414 Fix for UBT not detecting UnrealHeaderTool being out of date if any of its DDLs/Plugins have changed
[CL 2077292 by Robert Manuszewski in Main branch]
2014-05-19 02:26:03 -04:00
Steve Robb
8d7fb2159a Fix for UTF-8-encoded files written by UBT.
#fix FileItem.CreateIntermediateTextFile now creates the text file in UTF-8 if the contents string contains non-ASCII characters.
#change ResponseFile.Create now calls FileItem.CreateIntermediateTextFile.

This fix was made in relation to TTP# 334906, even though that problem was not fixed in the end.

#codereview robert.manuszewski

[CL 2075498 by Steve Robb in Main branch]
2014-05-16 09:52:22 -04:00
Robert Manuszewski
b1986b3b13 UBT: Fix for wrong target name (and intermediate output path) when re-building game DLLs in the editor
[CL 2075232 by Robert Manuszewski in Main branch]
2014-05-16 03:21:03 -04:00
Ben Marsh
7655980f4b Get UBT to write out progress information while compiling. Also fix missing output if telemetry fails to initialize.
[CL 2074584 by Ben Marsh in Main branch]
2014-05-15 15:33:29 -04:00
Dmitry Rekman
72d389f2cb UBT: Apply memory-based job heuristics to all Mono platforms
#codereview Michael.Trepka, Mark.Satterthwaite, Niklas.Smedberg, Daniel.Wright

[CL 2074086 by Dmitry Rekman in Main branch]
2014-05-15 08:35:20 -04:00
Steve Robb
ddad01ad2f Back out changelist 2073005
[CL 2073795 by Steve Robb in Main branch]
2014-05-14 23:07:26 -04:00
Marcus Wassmer
2c40657ec8 PS4 now supports VS 2013. Don't fall back to 2012 for PS4 anymore.
[CL 2073472 by Marcus Wassmer in Main branch]
2014-05-14 17:36:06 -04:00
Ben Marsh
45ebc11eb9 Add native feedback context for Windows, and use it to display project file generation progress in UnrealVersionSelector. Also generate project files when switching versions.
[CL 2073201 by Ben Marsh in Main branch]
2014-05-14 14:53:19 -04:00
Michael Trepka
f02b966ecf Changed Xcode project generator so that files created by Xcode itself are stored in UE4's Intermediate dirs
[CL 2073060 by Michael Trepka in Main branch]
2014-05-14 14:50:45 -04:00
Steve Robb
cd8b6a99d2 #ttp 333737: UHT should not output anything differently for Rocket - resubmitted after CL# 2068336 was backed out due to UAT rebuild problems.
#change Root module path added to include paths.
#change Plugins now write intermediates to the project folder.
#change All generated #includes are now relative.
#change Updated UHTDebugging.manifest to new format.
#remove Rocket-specific UHT execution removed.
#remove Some bHackHeaderGenerator usage removed.
#remove iOS header hack removed.

#codereview robert.manuszewski,ben.marsh

[CL 2073005 by Steve Robb in Main branch]
2014-05-14 14:50:21 -04:00
Dmitry Rekman
fd7b570421 Linux: UBT: limit number of parallel jobs by RAM available.
Limit number of parallel actions by introducing memory budget per each action - arguably a better heuristic than just dividing number of cores by two.

#codereview Robert.Manuszewski, Michael.Trepka, Mark.Satterthwaite

[CL 2072899 by Dmitry Rekman in Main branch]
2014-05-14 09:53:05 -04:00