Commit Graph

282 Commits

Author SHA1 Message Date
nuno leiria
42049243ac Implemented ThinLTO cache and pruning arguments in UBT
#preflight 632c24691003050806482034
#rb Joe.Kirchoff, Wojciech.Krywult, Brian.White

[CL 22204860 by nuno leiria in ue5-main branch]
2022-09-27 09:48:46 -04:00
anton dunchev
e825604e90 Process control:
- Implemented priority control on Unix platform
- Refactored RunnableThreadUnix implementation
- Bump resource limits for process scheduling priority (nice) if possible

#rb LouisPhilippe.Seguin, Brandon.Schaefer
[FYI] anrew.ladenberger

[CL 22087348 by anton dunchev in ue5-main branch]
2022-09-19 22:28:24 -04:00
marc audy
2b95f60225 Set bUseVerse true for UE5
#skipci

[CL 22069343 by marc audy in ue5-main branch]
2022-09-18 02:31:14 -04:00
bryan sefcik
e5edfdd06d Added support to inline the gen.cpp files into the module cpp files.
This change does a few things:
* Improves compile times because the gen.cpp is inlined so less header parsing is required.
* Allows us to forward declare more types in the headers where we were not able to because the gen.cpp files did not have all the required headers included. The gen.cpp files required the header that generated it to include all the types because of the constructor and desructor in the gen.cpp need to know the full type.

#jira
#preflight 6323b43f8131e92d65aed1d9

[CL 22064061 by bryan sefcik in ue5-main branch]
2022-09-16 20:28:51 -04:00
Joe Kirchoff
9b55ef770f UnrealBuildTool: Determinisitic build configuration update to manage via TargetRules and ModuleRules
#rnx
#rb none
#preflight 63056e3a516bef57ffc5a099

[CL 21527850 by Joe Kirchoff in ue5-main branch]
2022-08-23 20:33:31 -04:00
Joe Kirchoff
636d17c398 UnrealBuildTool: Option to remove '_of_x' from cpp unity filenames
#rnx
#rb trivial
#preflight 63055e53ae13a5a09802f76f

[CL 21525184 by Joe Kirchoff in ue5-main branch]
2022-08-23 19:26:22 -04:00
dmytro vovk
37b8ab825c Deprecated bCompileForSize UBT Target option and replaced with OptimizationMode enumto fine tune a balance between speed and\or code size
#jira none
#rb Joe.Kirchoff
#preflight 62ff99b0200ff87e07f75a69

[CL 21511266 by dmytro vovk in ue5-main branch]
2022-08-23 12:44:36 -04:00
Joe Kirchoff
371c0b0624 UnrealBuildTool: Move static analysis checker options into ModuleRules rather than TargetRules
#rnx
#rb none
#preflight 62f6e75de67510be05db43f9

[CL 21368307 by Joe Kirchoff in ue5-main branch]
2022-08-12 20:06:00 -04:00
kaffeewolf
a3acfba5d6 PR #9449: Add support for specifying C Standard when compiling plain C files (Contributed by kaffeewolf)
#rb none
#preflight 62f2f8c33f500fb6dc059f18

[CL 21305284 by kaffeewolf in ue5-main branch]
2022-08-09 20:34:50 -04:00
Joe Kirchoff
517316e77a UnrealBuildTool: Add TargetRules properties to control which clang checkers are enabled. Reconcile msvc cl-clang analyze with clang analyze
#rnx
#rb none
#preflight 62d75b5e185da2495fd66cf6

[CL 21170857 by Joe Kirchoff in ue5-main branch]
2022-07-19 21:52:16 -04:00
yoan stamant
e21d4d944f [GameplayDebugger] added dedicated Target rule for GameplayDebugger
- Default behavior is preserved (i.e. Target.bBuildDeveloperTools || (Target.Configuration != UnrealTargetConfiguration.Shipping && Target.Configuration != UnrealTargetConfiguration.Test))
- Added SetupGameplayDebuggerSupport for ModuleRules that want to use GameplayDebugger. This will add required dependency and public definition (WITH_GAMEPLAY_DEBUGGER=0|1)
- Build Target can override by specifying a value to 'bUseGameplayDebugger'
#jira UE-159095
#rb mieszko.zielinski
#preflight 62d178143b057e72748ccbe3

#ROBOMERGE-OWNER: yoan.stamant
#ROBOMERGE-AUTHOR: yoan.stamant
#ROBOMERGE-SOURCE: CL 21113824 via CL 21113871 via CL 21114153
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21142398 by yoan stamant in ue5-main branch]
2022-07-17 22:41:36 -04:00
Joe Kirchoff
be3cc3c85d UnrealBuildTool: Add [RequiresUniqueBuildEnvironment] attribute to Target warning\error settings that affect command line options and will cause builds to be invalidated
#rnx
#rb Ben.Marsh
#preflight 62cf5597a4645cf7b0c8abc4

[CL 21085471 by Joe Kirchoff in ue5-main branch]
2022-07-13 19:56:30 -04:00
Peter Engstrom
4aae8d3ed0 Iris experimental replication system.
Initial submit, compiled out by default.

#rb Peter.Engstrom,Mattias.Hornlund,Brian.Bekich,Ryan.Gerleve,John.Barrett
#jira UE-158381
#preflight /62cd6fc7ad490b52da0515a3

[CL 21068370 by Peter Engstrom in ue5-main branch]
2022-07-13 03:11:55 -04:00
Joe Kirchoff
eba8c5974e UnrealBuildTool: -BytesPerUnityCPP command line arg to control unity size
#rnx
#rb trivial
#preflight 62c77ba7a6654f9729f063cc

[CL 20996446 by Joe Kirchoff in ue5-main branch]
2022-07-07 20:43:03 -04:00
Joe Kirchoff
d1c3e422f7 UnrealBuildTool: Support running static code analysis -StaticAnalyzer=Clang for clang toolchains.
Static code analysis automatically disables linking and pch. Dependency checking does not work as no output file is written.

#rnx
#rb none
#preflight 62c6012f3c5171c81719930d

[CL 20974504 by Joe Kirchoff in ue5-main branch]
2022-07-06 17:59:44 -04:00
Joe Kirchoff
f4ac91cbf0 UnrealBuildTool: Update Target.WindowsPlatform.StaticAnalyzer -> Target.bStaticAnalyzer so it can be shared with the Clang toolchains, marking the old properties and enums as obsolete
#rnx
#rb Ben.Marsh
#preflight 62c5db38b47aed4cf108e4ee

[CL 20971113 by Joe Kirchoff in ue5-main branch]
2022-07-06 15:06:26 -04:00
Joe Kirchoff
cb03528d80 UnrealBuildTool: Support preprocess depends for all clang not just Mac and Linux
#rnx
#rb none
#preflight 62c5b8bd3c5171c8170b79f8

[CL 20968771 by Joe Kirchoff in ue5-main branch]
2022-07-06 12:56:18 -04:00
bryan sefcik
1b2a0a8c56 * Combined generated cpp files and module cpp files into the same unity files.
ShooterGame Editor with 8 processes:
Before:
3706 compile tasks
1517.98 seconds

After:
3372 compile tasks
1428.56 seconds

Game Editor with 64 processes:
Before:
6323 compile tasks
1090.78 seconds

After:
5666 compile tasks
1063.90 seconds
#preflight 62b4820d1371af05d9f26407

[CL 20796589 by bryan sefcik in ue5-main branch]
2022-06-23 12:22:28 -04:00
Benn Gallagher
8757cb3641 Physics interface cleanup.
* Removed deprecated or dead code paths
* Simplified build system setup for physics support
* Deprecated build system flags and unsupported macros

#jira none
#rb Chris.Caulfield, Kriss.Gossart
#preflight 62963ec0fe779f23c8ea0c5e

[CL 20450744 by Benn Gallagher in ue5-main branch]
2022-06-01 06:59:18 -04:00
Joe Kirchoff
7112ec8a91 UnrealBuildTool: Ignore build outputs in manifest when doing a single file compile
#rnx
#rb trivial
#preflight 62914bd2064d4b79f85d729a

[CL 20400492 by Joe Kirchoff in ue5-main branch]
2022-05-27 18:26:12 -04:00
marc audy
014736a60e Undo default enabling of flag unintentionally introduced in CL# 20395952
#rnx

#ROBOMERGE-AUTHOR: marc.audy
#ROBOMERGE-SOURCE: CL 20396957 in //UE5/Release-Engine-Staging/...
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v949-20362246)

[CL 20398886 by marc audy in ue5-main branch]
2022-05-27 16:53:32 -04:00
luke tannenbaum
9aea9d7913 Manual resolve of merge from cine-staging at 20378345
#ROBOMERGE-AUTHOR: luke.tannenbaum
#ROBOMERGE-SOURCE: CL 20395891 via CL 20395923 via CL 20395952 via CL 20395970
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v949-20362246)

[CL 20398773 by luke tannenbaum in ue5-main branch]
2022-05-27 16:51:48 -04:00
Ben Marsh
cf7582e557 UAT: Fix exception when creating dummy targets in UAT.
#preflight none

[CL 20374333 by Ben Marsh in ue5-main branch]
2022-05-25 20:48:43 -04:00
Ben Marsh
cbb950c578 UBT: Use ILogger throughout UBT, rather than legacy EpicGames.Core.Log methods. All output going forwards should use structured logging rather than String.Format style logging.
#preflight 628e9dc6e746de4961f60032

[CL 20373777 by Ben Marsh in ue5-main branch]
2022-05-25 19:55:37 -04:00
Ben Marsh
b1ca1ba693 UBT: Allow overriding the output path for executables.
This may not work with UE code, since the engine assumes the executable is in a certain location to figure out where other known folders are in relation to it, but is useful for programs that do not link against the engine.

#fyi Joe.Kirchoff
#preflight 6287867d8828ea88c84ee81d

[CL 20293094 by Ben Marsh in ue5-main branch]
2022-05-20 08:26:07 -04:00