Commit Graph

16199 Commits

Author SHA1 Message Date
Josh Adams
56268dd19a - Minorly improved a printout
#rb trivial
#preflight skip

[CL 22666472 by Josh Adams in ue5-main branch]
2022-10-20 15:13:49 -04:00
tim smith
a2b7a4de3b Fixed C# UHT to properly generate errors when TObjectPtr and TLazyObjectPtr are used in a function signature.
#rb brendan.shaefer
#jira UE-167770
#preflight 635173d8e6096564af0b6859

[CL 22662631 by tim smith in ue5-main branch]
2022-10-20 13:46:32 -04:00
tyler staples
ed4771efaa Fixed inconsistencies with -colorizeTable and it not correctly overriding the colorMode set in the summary table xml.
+ 'default' now only exists as an argument and not an actual state as default means use what is defined in the summary table xml file.
+ Removed the 'Default' TableColorizeMode value and added a 'Budget' value which represents budget coloring.

#rb ben.woodhouse

[CL 22662548 by tyler staples in ue5-main branch]
2022-10-20 13:44:01 -04:00
Josh Adams
2e03486229 - Remove unused orientation parameters from GeneratePList, etc functions
#rb trivial
#preflight 63517e3e3d41a4455a390431

[CL 22661134 by Josh Adams in ue5-main branch]
2022-10-20 13:07:40 -04:00
Josh Adams
e6e825cc8d - Made ApplePlatform.Automation to share code betwen Mac and IOS
#rb adam.kinge
#jira none
#preflight 6346edec8d665d55d04a5478
#preflight 635174bfe6096564af0b8a57

[CL 22659145 by Josh Adams in ue5-main branch]
2022-10-20 12:22:07 -04:00
carl bystrom
d4d4e87749 Horde: Add more condition parameters to fleet managers/pool size strategies
Both use this condition to check if they should be enabled.

#fyi Bryan.Johnson

#preflight none

[CL 22658233 by carl bystrom in ue5-main branch]
2022-10-20 11:57:21 -04:00
christopher waters
81690d87f9 Adding and moving to the Unreal 5.2 EngineIncludeOrderVersion.
#jira none
#rb joe.kirchoff
#preflight 635014c02337adbf4270366e

[CL 22657181 by christopher waters in ue5-main branch]
2022-10-20 11:28:11 -04:00
Ben Marsh
7c94b4f732 Horde: Limit the number of people notified for a build health issue.
#preflight none

[CL 22655027 by Ben Marsh in ue5-main branch]
2022-10-20 10:15:19 -04:00
carl bystrom
1874172944 Horde: Fix incorrect logger name for AwsRecyclingFleetManager
#preflight none

[CL 22654644 by carl bystrom in ue5-main branch]
2022-10-20 09:55:29 -04:00
dan elksnitis
b81ae6648c [shader compilation] changes to error handling in ShaderCompileWorker
- each platform compilation request is now wrapped in __try/__except rather than a single exception handling block at the top level of the worker; this allows us to log an exception (with callstack) as a compilation error and continue the batch
- remove SEH code from ShaderConductorContext, the above makes this redundant (and it didn't provide any actionable information)
- strip down SEH code in D3DShaderCompiler; now only used for the purposes of pre-compiling with DXC in the case of an FXC crash. dumping preprocessed source will be handled in a different manner in a forthcoming CL
- minor change in the DXC precompile path to not log an unnecessary warning when performing an explicitly-requested DXC precompile

#rb Jason.Nadro
#rb Laura.Hermanns
#rb Yuriy.ODonnell
#preflight 63514c798176062ea73acb41
#jira FORT-524383

[CL 22654436 by dan elksnitis in ue5-main branch]
2022-10-20 09:43:50 -04:00
carl bystrom
1b2b7d9389 Horde: Handle empty fleet manager configs
#preflight none

[CL 22654363 by carl bystrom in ue5-main branch]
2022-10-20 09:38:32 -04:00
carl bystrom
4557629c43 Horde: Add new AWS fleet manager more resilient to insufficient capacity errors
Doesn't replace the old AwsReuseFleetManager but adds a new clone of the old one called AwsRecylingFleetManager. The old one will be retired and removed but until the new one is proven they can run side-by-side. Pools individually need to opt into "AwsRecycle" through config to benefit.

#fyi Bryan.Johnson
#preflight 635143e5ac48fa11ed9b3a81

[CL 22653695 by carl bystrom in ue5-main branch]
2022-10-20 08:52:35 -04:00
bryan sefcik
87c76b0576 Removed "-Compiler=Clang" because we found we got better results from the clang tools when they did the msvc to clang conversion for windows than UBT.
#jira

[CL 22647481 by bryan sefcik in ue5-main branch]
2022-10-19 22:01:14 -04:00
bryan sefcik
c6b0642d11 Updated GenerateClangDatabase to update more relative paths to be absolute.
#jira

[CL 22647467 by bryan sefcik in ue5-main branch]
2022-10-19 22:01:04 -04:00
bryan sefcik
85dd8f50f1 Updated FixIncludePathsMode to support thirdparty directories and use the shortened include paths if possible.
#jira

[CL 22647453 by bryan sefcik in ue5-main branch]
2022-10-19 22:00:55 -04:00
eric knapik
0ffc2e54b8 #jira: none
Adding quotes as some tests can have a . in them

[CL 22634733 by eric knapik in ue5-main branch]
2022-10-19 15:11:50 -04:00
josh adams
a7c8ca547e - Extended the "UnstagedRuntimeDependencies" concept for pulling only minimal files needed for platform (console mainly) cooking into a directory at stage time, called "CookerSupportFiles"
- It needs to have CookerSupportFilesSubdirectory passed in to BuildCookRun to activate (giving it the name of a subdirectory under the Staged directory to put the SDK files)
- it also writes a .bat file that can set the envvars needed for the minimal SDKs to be found by Unreal
#rb graeme.thornton
#preflight 634f1e9069246074dba2f09a
#p4v-cherrypick 22616289

[CL 22634717 by josh adams in ue5-main branch]
2022-10-19 15:11:10 -04:00
bryan sefcik
40591cbff0 Fixes to get IWYU working/compiling on windows.
#jira
#rb devin.doucette
#preflight 634f228ca1527f6b3beefea2

[CL 22633095 by bryan sefcik in ue5-main branch]
2022-10-19 14:35:34 -04:00
joe kirchoff
1ddd1ead83 [Backout] - CL22569365
[FYI] Joe.Kirchoff
#jira UE-167455
#rb Tim.Smith
#rnx
#preflight 634efcb8dd0d2ceafae5d95b
Original CL Desc
-----------------------------------------------------------------
AutomationTool: ScriptModules not in the Engine directory should stil be compiled when using an installed engine

[CL 22632586 by joe kirchoff in ue5-main branch]
2022-10-19 14:21:54 -04:00
Josh Engebretson
c4c95df435 Horde: Add user names to issue audit logs
#jira none
#preflight none
#rnx

[CL 22630367 by Josh Engebretson in ue5-main branch]
2022-10-19 13:21:10 -04:00
kerim borchaev
075b683664 [3ds Max Exporter] Fixed mesh quality for Body Cutter
- TriObject is used to extract geometry

- For some object types in Max GetRenderMesh doesn't give away the finest mesh even when viewport mesh is set to highest quality. It's the case for Body Cutter

#jira UE-149604
#preflight 634fca61ac48fa11ed2ddad9
#rb benoit.deschenes

[CL 22629343 by kerim borchaev in ue5-main branch]
2022-10-19 12:56:37 -04:00
Jason Nadro
a673e16ce5 Added the ability to do Unreal Insights traces of the Shader Compiler Worker process.
This can be enabled by modifying `UnrealEngine\Engine\Saved\UnrealBuildTool\BuildConfiguration.xml` like so:

    <?xml version="1.0" encoding="utf-8" ?>
    <Configuration xmlns="https://www.unrealengine.com/BuildConfiguration">
        <BuildConfiguration>
            <bShaderCompilerWorkerTrace>true</bShaderCompilerWorkerTrace>
        </BuildConfiguration>
    </Configuration>

- Added a build configuration xml value, `bShaderCompilerWorkerTrace`.
- Turning this on will set USE_SHADER_COMPILER_WORKER_TRACE=1
- Move the parameter -nothreading to be set when we launch the process instead of internally as an extra cmd line arg.
- Unreal Insights uses a separate thread to send events so threading support is needed for the program.  When we have USE_SHADER_COMPILER_WORKER_TRACE enabled we need to turn off `-nothreading`.
- When USE_SHADER_COMPILER_WORKER_TRACE is enabled we pass in `-trace=default` to get CPU event markers.
- The SCW program needs to turn on the following defines to be able to perform CPU and memory traces:
	ENABLE_LOW_LEVEL_MEM_TRACKER=1
	UE_MEMORY_TAGS_TRACE_ENABLED=1
	UE_TRACE_ENABLED=1
- Instrument Shader Compiler Worker with TRACE_CPUPROFILER_EVENT_SCOPE.  This are no-ops when this is turned off.

todo: Make the shader compiler worker inherit the trace args from the main process it was launched from.

#rb Yuriy.ODonnell
#jira none
#preflight 634ef80269246074db9637c2

[CL 22625183 by Jason Nadro in ue5-main branch]
2022-10-19 10:33:36 -04:00
Per Larsson
f0b70dbbb5 UAT - added comand line option -NoZenAutoLaunch
#rb trivial
#jira none
#preflight 634fde92b7420ffb4a5c4651
#rnx

[CL 22622177 by Per Larsson in ue5-main branch]
2022-10-19 07:46:07 -04:00
Chris Varnsverry
552f7c8ead - Fix calling AddFormat extension method which only exists if you have a certain platform synced
#preflight none

[CL 22621656 by Chris Varnsverry in ue5-main branch]
2022-10-19 06:36:40 -04:00
dmitrii ubirailo
069e2d1532 Supported defining alternative folder for UEFN by setting environemt variable UE_BUILDS_PATH.
[REVIEW] Anna.Fukutome, Eric.Knapik
#preflight skip

[CL 22619920 by dmitrii ubirailo in ue5-main branch]
2022-10-19 03:05:28 -04:00