Commit Graph

11520 Commits

Author SHA1 Message Date
Brandon Schaefer
2ceeb95b2e Fix missing / in the root path for Linux/Mac
#jira none
#rb none
#fyi Ben.Marsh

[CL 17576438 by Brandon Schaefer in ue5-main branch]
2021-09-20 18:04:07 -04:00
Brandon Schaefer
c3982ce56b Fix some missing build root path for Linux
#jira none
#review-17565915 @Ben.Marsh, @Ryan.Durand
#rb Ben.Marsh

[CL 17570918 by Brandon Schaefer in ue5-main branch]
2021-09-20 11:00:35 -04:00
jeff newquist
8d9d6e4b69 Provide API to override output format of ISPC for platforms that should use an option other than --emit-obj
#rb brian.white
#jira none

[CL 17570840 by jeff newquist in ue5-main branch]
2021-09-20 10:53:20 -04:00
Ben Marsh
aeaac2616d Horde: Improve error messages from Perforce commands.
[CL 17570645 by Ben Marsh in ue5-main branch]
2021-09-20 10:35:13 -04:00
Ben Marsh
14c8b42e39 Horde: Fix tagged output of some Perforce commands (eg. p4 dirs).
[CL 17570617 by Ben Marsh in ue5-main branch]
2021-09-20 10:32:28 -04:00
Tim Smith
7dac795d90 Fixed crash issue to provide better feedback as to the issue.
#rb trivial
#rnx

[CL 17570108 by Tim Smith in ue5-main branch]
2021-09-20 09:26:13 -04:00
Ben Marsh
68cc05ea6d Horde: Add a more detailed error return path for failed compute tasks. Task result messages now include a numerical "Outcome" field and string "Detail" field providing additional context surrounding a task that was not executed.
#fyi Joe.Kirchoff

[CL 17566168 by Ben Marsh in ue5-main branch]
2021-09-19 13:45:26 -04:00
Tim Smith
2e4a346c0f UnrealHeaderTool crashes with Assertion when structure is missing the proper prefix.
#jira UE-126909
#rb trivial
#rnx
#preflight 6147445211925a00013e00f3

[CL 17565863 by Tim Smith in ue5-main branch]
2021-09-19 11:00:14 -04:00
Ben Marsh
35cd4ff3c3 Horde: Add missing methods to strongly typed Redis wrappers, and add support for serializing all primitive types.
[CL 17564161 by Ben Marsh in ue5-main branch]
2021-09-18 15:02:30 -04:00
Ben Marsh
732cba332a Horde: Missing file.
[CL 17563736 by Ben Marsh in ue5-main branch]
2021-09-18 12:26:44 -04:00
Ben Marsh
6243269106 Horde: Change Redis wrapper to a more object-oriented API. Individual data types now include a reference to the database, allowing methods to directly modify their values.
[CL 17563734 by Ben Marsh in ue5-main branch]
2021-09-18 12:25:51 -04:00
Brandon Schaefer
31038fa77b Add lib/so rules for TempStorage in IsDuplicateBuildProduct for Linux
#jira none
#rb none
#fyi Ben.Marsh

[CL 17561654 by Brandon Schaefer in ue5-main branch]
2021-09-17 23:02:08 -04:00
Joe Kirchoff
1290d6f521 UnrealBuildTool: Remove support for VS2017
#jira UE-126521
#rb Jonathan.Adamczewski
#preflight 6144ffdb11925a000119cac6

[CL 17559611 by Joe Kirchoff in ue5-main branch]
2021-09-17 18:23:27 -04:00
cedric caillaud
214916e17e headlesschaos : Fix LWC runtime issues caused by the combination of the fact that we have unintialized managed array and we are still serializing in floats
#rb trivial
#jira none
#fyi ori.cohen, max.whitehead

[CL 17559585 by cedric caillaud in ue5-main branch]
2021-09-17 18:22:10 -04:00
Joe Kirchoff
a3069e23b4 vcpkg: Remove v141 as vs2017 is no longer supported and use v142 for external modules. Add configs for v143 for when vcpkg supports it.
#rb none
#rnx

[CL 17558300 by Joe Kirchoff in ue5-main branch]
2021-09-17 16:55:06 -04:00
jonathan adamczewski
d7fbaa5ae7 UnrealBuildTool: ActionGraph.cs clean up formatting, naming & some other minor changes
#jira none
#trivial

[CL 17557368 by jonathan adamczewski in ue5-main branch]
2021-09-17 15:58:00 -04:00
jonathan adamczewski
8f0deefb78 UnrealBuildTool: Split ActionGraph.IsActionOutdated() into two functions
IsActionGraph() is complicated: recursively evaluating a graph, modifying data at each node (ActionHistory.UpdateProducingAttributes) making it easy to introduce hard-to-see race conditions, and difficult to optimize.

This change splits the function into two parts:

IsIndividualActionOutdated(): finds nodes that are out of date, based on the node's own data - able to be run in parallel, with less cross-thread contention.

IsActionOutdatedDueToPrerequisites(): recursively traverse the graph, to determine if an action is out of date based on its prerequisites. Does not run in parallel, but is fast (processes ~6000 actions in 2-3ms).

For a clean, simple project editor build, total runtime is <100ms, compared to ~150ms previously.

#jira none
#fyi ben.marsh

[CL 17553054 by jonathan adamczewski in ue5-main branch]
2021-09-17 11:45:43 -04:00
David Lesage
59ac99024f Fix build CADWorker
#rb none

[CL 17552971 by David Lesage in ue5-main branch]
2021-09-17 11:41:05 -04:00
jonathan adamczewski
5e55080b19 UnrealBuildTool: allow MemoryPerAction to be set per-target
Can be used to reduce the number of build actions that will be run in parallel by ParallelExecutor or TaskExecutor.

Example use, in MyProject.Target.cs:

public class MyProjectTarget : TargetRules
{
	public MyProjectTarget(TargetInfo Target) : base(Target)
	{
		Type = TargetType.Game;
		DefaultBuildSettings = BuildSettingsVersion.V2;

		ExtraModuleNames.AddRange( new string[] { "MyProject" } );

		MemoryPerActionGB = 4;
	}
}

#jira none

[CL 17546182 by jonathan adamczewski in ue5-main branch]
2021-09-16 19:34:54 -04:00
geoff evans
b38d6cfb10 AutomationTool: Support for Editor in Project BuildEnvironments
This adds support for running Editor in BuildGraph Command and Commandlet tasks where the Project at hand has it's own BuildEnvironment.

#jira none
#rb ben.marsh
#preflight 6143be8d9bba9a0001dfc9ee

[CL 17546102 by geoff evans in ue5-main branch]
2021-09-16 19:20:25 -04:00
jonathan adamczewski
a77666d21b BinaryArchive: Add support for reading and writing doubles
#jira none
#trivial

[CL 17544443 by jonathan adamczewski in ue5-main branch]
2021-09-16 17:15:11 -04:00
Max Whitehead
d078395f0e Fix IsInPhysicsThreadContext() ensure firing in test/shipping builds due to missing #if wrapper.
#jira UE-120437
#rb none

[CL 17543876 by Max Whitehead in ue5-main branch]
2021-09-16 16:22:25 -04:00
Joe Kirchoff
d2b989022e Remove force disable of bIncludeEngineSource when passing -code
#rnx
#rb none

[CL 17543816 by Joe Kirchoff in ue5-main branch]
2021-09-16 16:14:48 -04:00
joe kirchoff
bca35e241d [Backout] - CL17543621
#fyi Joe.Kirchoff
Original CL Desc
-----------------------------------------------------------------
ProjectGeneration: Don't filter out engine by default for -game

#jira UE-122365
#rb none
#rnx

[CL 17543744 by joe kirchoff in ue5-main branch]
2021-09-16 16:03:35 -04:00
Joe Kirchoff
5d87c2798d ProjectGeneration: Don't filter out engine by default for -game
#jira UE-122365
#rb none
#rnx

[CL 17543621 by Joe Kirchoff in ue5-main branch]
2021-09-16 15:52:33 -04:00