Commit Graph

1251 Commits

Author SHA1 Message Date
Josh Adams
33bed38be9 Merged fix for platform blacklisting with PlatformExtensions and child plugins
#jira UE-90679
#rb ben.marsh

[CL 12381892 by Josh Adams in 4.25 branch]
2020-03-23 15:13:13 -04:00
Michael Sartain
4bb8a0e646 Fix UnrealBuildTool unused variable warnings
#jira none
#rb Ben.Marsh
#fyi Andrew.Grant, Brandon.Schaefer

[CL 12224860 by Michael Sartain in 4.25 branch]
2020-03-16 19:03:39 -04:00
Ben Marsh
dfe44a2b5c Remove unused variables causing warnings on Mono.
#jira
#rb none
#rnx

[CL 12223682 by Ben Marsh in 4.25 branch]
2020-03-16 17:07:01 -04:00
Ben Marsh
0e8fcf2088 Remove redundant null checks causing warnings on latest version of Mono.
#rb none
#rnx
#jira

[CL 12202600 by Ben Marsh in 4.25 branch]
2020-03-16 11:26:09 -04:00
Ben Marsh
973a7f3e01 Fix installed files being deleted when cleaning a target from an installed engine build.
#rb none
#jira UE-90547, UE-89724

[CL 12170007 by Ben Marsh in 4.25 branch]
2020-03-13 23:44:01 -04:00
Ben Marsh
c5e461075f Add missing copyright notice.
#rb none
#rnx
#jira

[CL 12049506 by Ben Marsh in 4.25 branch]
2020-03-07 15:17:52 -05:00
Ben Marsh
bf0b702d4b UBT: Fix makefile being invalidated by response files updated during the build process. Also fix certain source files excluded from unity builds from triggering makefile invalidation.
Creation time of the makefile was being used to test whether dependencies have been modified, which is valid for external dependencies (since we want to catch any files modified after the build process starts), but not valid for files we create during the makefile building (such as response files).

Code attempting to detect response files was also incorrect, and would find any leaf files not included in a unity blob. Response files are now detected explicitly.

#rb none
#jira

[CL 12039693 by Ben Marsh in 4.25 branch]
2020-03-06 21:02:25 -05:00
Ben Marsh
71f5ab51b6 Refactor UBT to use an interface (IActionGraphBuilder) to construct the action graph. Response files are also constructed through this interface, allowing them to be tracked as dependencies (will be added in subsequent change).
#rb none
#jira

[CL 12038895 by Ben Marsh in 4.25 branch]
2020-03-06 20:42:36 -05:00
Andrew Grant
f7a1951313 Add Thread_UseAllCpuGroups to UnrealBuildTool config to enable UBT to use both CPU groups on high-core systems such as 64-core ThreadRippers.
See - https://docs.microsoft.com/en-us/dotnet/framework/configure-apps/file-schema/runtime/thread-useallcpugroups-element

Also added MaxParallelActions command-line flag to UBT that can be used to restrict the number of cores used for local (e.g. nonxge).

Added -cores=X+Y=Z option to benchmark script for profiling

#rb swarm
#review-11806361 @ben.marsh
#jira nojira

[CL 11845433 by Andrew Grant in 4.25 branch]
2020-03-02 15:49:57 -05:00
Anthony Bills
222147f527 Add missing null checks to PluginDescriptor.cs
- Previously this would have been handled by WriteArray, now Plugins and Modules are a List and ToArray is called, the check needs to be moved up.

#rb rob.cannaday
#fyi ben.marsh
#jira none

[CL 11723339 by Anthony Bills in 4.25 branch]
2020-02-27 22:20:42 -05:00
Ben Marsh
3d35e552d2 Fix detection of engine modules being out of date.
#rb none
#jira UE-88824, UE-89676

[CL 11658206 by Ben Marsh in 4.25 branch]
2020-02-27 11:09:27 -05:00
Anthony Bills
3e1df8cd5a Add support for whitelisting additional plugins and adding additional modules to plugin extensions.
Additionally allow monolithic programs inside platform extensions to ouput to the Binaries directory in the extension.

#review-11565119 @brian.white, @josh.adams, @ben.marsh
#jira UE-81798
#rb ben.marsh

[CL 11655119 by Anthony Bills in 4.25 branch]
2020-02-27 10:46:04 -05:00
Ben Marsh
f65fd6a6bc UBT: Produce an error if any output path is longer than MAX_PATH on Windows.
#rb none
#jira UE-75445

[CL 11638471 by Ben Marsh in 4.25 branch]
2020-02-26 13:43:57 -05:00
Ben Marsh
f0d3dbda4a UBT: Output a warning if any intermediate path is > 200 characters under the UE root directory.
#rb none
#jira UE-88446
#fyi Martin.Sevigny

[CL 11624846 by Ben Marsh in 4.25 branch]
2020-02-25 20:48:25 -05:00
Ben Marsh
e9a6093dba Prevent writing compiled assemblies to installed engine directory. Write them to the AppData folder instead.
#jira
#rb none

[CL 11619452 by Ben Marsh in 4.25 branch]
2020-02-25 16:48:49 -05:00
Ben Marsh
fd8e320cfd UBT: Add a utility function to create an action that copies from one file to another.
#rb none
#jira
#rnx

[CL 11590405 by Ben Marsh in 4.25 branch]
2020-02-24 15:37:54 -05:00
Rolando Caloca
5b82f15def Copying //UE4/Dev-RenderPlat-Staging@11388153 to //UE4/Main
#rb none
#rnx

[CL 11388545 by Rolando Caloca in Main branch]
2020-02-12 13:27:19 -05:00
hongyi yu
6113e739fc Merge JoshA's fix to config hierarchy from engine
- Fixed the platform extension config location checks in C# to match C++

[FYI] Josh.Adams


#ROBOMERGE-SOURCE: CL 11310070 via CL 11310074
#ROBOMERGE-BOT: (v653-11302973)

[CL 11311379 by hongyi yu in Main branch]
2020-02-10 16:05:03 -05:00
Josh Adams
fc1220a663 - Fixed the platform extension config location checks in C# to match C++
#rb hongyi.yu

[CL 11309846 by Josh Adams in Main branch]
2020-02-10 15:17:47 -05:00
Josh Adams
aa9705149b Copying Private-LoadTimes-4.24 stream to Main. Biggest changes are in Materials/Shader memory freezing.
#rb none

[CL 11282608 by Josh Adams in Main branch]
2020-02-06 13:13:41 -05:00
Stefan Boberg
55a8b15f1f Copying //UE4/Dev-Core to Main (//UE4/Main)
#rb none

[CL 11258477 by Stefan Boberg in Main branch]
2020-02-05 14:26:36 -05:00
ben marsh
8c54206370 UBT: Fix UHT always running for installed engine builds. Was dependent on timestamps of binaries downloaded by launcher.
#rb none
#jira UE-88122

#ROBOMERGE-SOURCE: CL 11248022 in //UE4/Release-4.24/...
#ROBOMERGE-BOT: RELEASE (Release-4.24 -> Main) (v647-11244347)

[CL 11254406 by ben marsh in Main branch]
2020-02-05 12:40:41 -05:00
Marc Audy
aec58d8240 Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 11246035
#rb
#rnx

[CL 11252410 by Marc Audy in Dev-Framework branch]
2020-02-05 12:12:38 -05:00
Marc Audy
6be7175165 Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 11203868
#rb
#rnx

[CL 11203920 by Marc Audy in Dev-Framework branch]
2020-02-01 14:39:32 -05:00
Rolando Caloca
f63a3e857e Merging //UE4/Main@11178322 to Dev-RenderPlat-Staging
#rnx
#rb none

[CL 11195678 by Rolando Caloca in Dev-RenderPlat-Staging branch]
2020-01-31 10:34:10 -05:00