Commit Graph

3861 Commits

Author SHA1 Message Date
Ben Marsh
68d38bd32d UBT: Fix arguments for Intellisense PCH generation.
[CL 16894546 by Ben Marsh in ue5-main branch]
2021-07-20 07:02:14 -04:00
Ben Marsh
534eb44440 UBT: Include PCH settings in Visual Studio project files for Intellisense parser.
[CL 16883248 by Ben Marsh in ue5-main branch]
2021-07-19 10:11:52 -04:00
Joe Kirchoff
da63132387 UBT: cl.exe can't handle response filepaths longer than 260 characters, and relative paths can push it over the limit when otherwise it would have been fine.
Hopefully I can get Microsoft to fix this.

#rb none
#rnx
#robomerge: Private-Frosty

[CL 16869544 by Joe Kirchoff in ue5-main branch]
2021-07-15 20:03:54 -04:00
joe kirchoff
cb67a63224 UnrealBuildTool: Use process directly to get wall clock execution time
Process.StartTime raises an exception on non-windows platforms if the process has already exited, so cache it immediately after starting the FrameworkProcess
Process.TotalProcessorTime raises an exception on non-windows if the process has also exited, so don't do that

#rb none
#rnx

[CL 16863633 by joe kirchoff in ue5-main branch]
2021-07-15 12:25:31 -04:00
joe kirchoff
c096a7ee9e [Backout] - CL16863209
#fyi joe.kirchoff
Original CL Desc
-----------------------------------------------------------------
UnrealBuildTool: Use process directly to get wall clock execution time

Process.StartTime raises an exception on non-windows platforms if the process has already exited, so cache it immediately after starting the FrameworkProcess

#rb none
#rnx

[CL 16863370 by joe kirchoff in ue5-main branch]
2021-07-15 12:06:07 -04:00
joe kirchoff
546d9539ee UnrealBuildTool: Use process directly to get wall clock execution time
Process.StartTime raises an exception on non-windows platforms if the process has already exited, so cache it immediately after starting the FrameworkProcess

#rb none
#rnx

[CL 16863209 by joe kirchoff in ue5-main branch]
2021-07-15 11:53:11 -04:00
Brandon Schaefer
dda3bd9af9 Update UE5/Main to v19 toolchain
#jira UE-118949
#rb none

[CL 16862196 by Brandon Schaefer in ue5-main branch]
2021-07-15 10:20:02 -04:00
joe kirchoff
a602b76893 [Backout] - CL16856917
#fyi Joe.Kirchoff
Original CL Desc
-----------------------------------------------------------------
UnrealBuildTool: Use process directly to get wall clock execution time

#rb none
#rnx

[CL 16857196 by joe kirchoff in ue5-main branch]
2021-07-14 19:22:25 -04:00
Joe Kirchoff
e7a99303c1 UnrealBuildTool: Use ConcurrentQueue in ParallelExecutor instead of lock
#rb trivial
#rnx

[CL 16857053 by Joe Kirchoff in ue5-main branch]
2021-07-14 19:09:50 -04:00
Joe Kirchoff
90a0d3f9ce UnrealBuildTool: Use process directly to get wall clock execution time
#rb none
#rnx

[CL 16856917 by Joe Kirchoff in ue5-main branch]
2021-07-14 18:56:32 -04:00
jeff farris
77f1e65787 Merge from Main at CL 16704596, part 2: Files That Had Conflicts
#ROBOMERGE-SOURCE: CL 16843928
#ROBOMERGE-BOT: (v836-16769935)

[CL 16843937 by jeff farris in ue5-main branch]
2021-07-13 18:17:59 -04:00
danny couture
6f8451b821 Fix crash when jobs are not available (i.e. MacOS)
Only show processor time when available

#rnx
#rb Will.Damon

[CL 16836540 by danny couture in ue5-main branch]
2021-07-13 09:24:53 -04:00
danny couture
8a2853f1da Add cpu time spent per compilation unit in parallel and task executor
Add top 20 report when compilation ends for parallel and task executor
Add total cpu usage across all cores when compilation finishes for parallel and task executor
Use real processor time reported by OS when possible to account for internal usage of multiple threads (i.e. cl.exe codegen uses 8 threads)
Enabled by default for Epic developers to increase awareness on most problematic compilation times

#rnx
#rb Ben.Marsh, Joe.Kirchoff
#preflight 60ec463819a0060001dc5eb2

[CL 16835803 by danny couture in ue5-main branch]
2021-07-13 06:51:27 -04:00
Joe Kirchoff
cdb55f6e02 UnrealBuildTool: Print absolute paths in diagnostics
#rb trivial
#rnx

[CL 16832260 by Joe Kirchoff in ue5-main branch]
2021-07-12 18:01:48 -04:00
Joe Kirchoff
d208247526 UnrealBuildTool: Fix bShowIncludes not setting the compile flag when /sourceDependencies is used to track dependencies. Also support bShowIncludes for Windows Clang.
#jira UE-119438
#rb trivial
#rnx

[CL 16831282 by Joe Kirchoff in ue5-main branch]
2021-07-12 16:52:30 -04:00
andrew firth
c8d24fc45c [UBT] - add functionality to honor bPreprocessOnly (PS) and publish the output file path to the log (used by unrealVS) - moved this into the *new* location for these settings
#rb none (trivial)

[CL 16825197 by andrew firth in ue5-main branch]
2021-07-12 10:28:15 -04:00
andrew firth
e168892cd4 [UBT] - add functionality to honor bPreprocessOnly (PS) and publish the output file path to the log (used by unrealVS)
[FYI] luke.thatcher
#rb none
#lockdown jeff.farris


#ROBOMERGE-OWNER: andrew.firth
#ROBOMERGE-AUTHOR: andrew.firth
#ROBOMERGE-SOURCE: CL 16824685
#ROBOMERGE-BOT: (v836-16769935)
#ROBOMERGE-CONFLICT from-shelf

[CL 16824780 by andrew firth in ue5-main branch]
2021-07-12 09:43:27 -04:00
Jack Porter
50106f70f7 Fixed IOS Shipping build linker error with spaces in project path in Launcher builds
#jira UE-118568
#rb Florin.Pascu

[CL 16782051 by Jack Porter in ue5-main branch]
2021-06-25 05:02:48 -04:00
Joe Kirchoff
b76676d7e5 UnrealBuildTool: Clean up VCToolChain functions that add command line args to be more consistently used, allowing more paths that can be relative to reduce command line length
Verified relative pathing works fine for msvc clang builds
Use .d files for dependencies when compiling with windows clang, instead of piping through cl-filter.exe
Use relative pathing for generated unity files

#rb Jonathan.Adamczewski
#rnx
#preflight 60d4de2bcaf0590001e62de9
#preflight 60d4efbccaf0590001e9af24

[CL 16779820 by Joe Kirchoff in ue5-main branch]
2021-06-24 19:00:31 -04:00
Joe Kirchoff
9f286a1c41 LiveCoding: Support updating actions that are invoking cl.exe or clang-cl.exe
#rb trivial
#rnx

[CL 16776753 by Joe Kirchoff in ue5-main branch]
2021-06-24 14:45:11 -04:00
axel riffard
5702c50c03 Refactor iOS Icons : create asset catalog according to present file
#jira UE-72584
#rb jack.porter
#preflight 60d4858157b3020001153d0c

[CL 16773695 by axel riffard in ue5-main branch]
2021-06-24 10:59:30 -04:00
Chris Babcock
112ed86408 Properly filter out all 32-bit Android include and libraries
#jira UE-118894
#android
#ue5
#review @Jack.Porter
#rb Aurel.Cordonnier

[CL 16767029 by Chris Babcock in ue5-main branch]
2021-06-23 20:34:39 -04:00
jonathan adamczewski
93fddba6cc UEBuildModule:
From UDN 00331538, record PublicPreBuildLibraries in PublicLibraries, not PublicSystemLibraries.

#rb ben.marsh
#jira none
#preflight 60d3a3d73b6163000129ac28

[CL 16764406 by jonathan adamczewski in ue5-main branch]
2021-06-23 18:25:00 -04:00
aurel cordonnier
d17d20ca36 Merge from Release-Engine-Test @ 16758890 to UE5/Main
This represents UE4/Main @ 16738161 and Dev-PerfTest @ 16737719 (and Release-17.00 @ 16658211)

[CL 16763350 by aurel cordonnier in ue5-main branch]
2021-06-23 17:51:32 -04:00
Joe Kirchoff
e7351bd35b UnrealBuildTool: /sourceDependencies isn't valid for clang
#rb trivial
#rnx

[CL 16760035 by Joe Kirchoff in ue5-main branch]
2021-06-23 14:07:11 -04:00