Commit Graph

433 Commits

Author SHA1 Message Date
joe kirchoff
2e344b6efa Intel ICX 2024.0 integration plus instrumented/sampled PGO support (via Jeff.Rous)
#rb Steve.Robb, Joe.Kirchoff

[CL 30383859 by joe kirchoff in ue5-main branch]
2023-12-18 17:29:33 -05:00
joe kirchoff
2e625f94f7 UnrealBuildTool: UBA disallowed paths
#rnx

[CL 30217007 by joe kirchoff in ue5-main branch]
2023-12-08 14:42:54 -05:00
joe kirchoff
42c111a157 UnrealBuildTool: Disable -Wshadow for clang 17 due to https://github.com/llvm/llvm-project/issues/71976, and note that it should not be used as a preferred version until resolved
#rnx

[CL 30215817 by joe kirchoff in ue5-main branch]
2023-12-08 13:41:10 -05:00
joe kirchoff
a53cde6a68 UnrealVS: Fix compile single file for external project
Show additional target.cs files

#jira UE-196978
#jira UE-196952

[CL 29899924 by joe kirchoff in ue5-main branch]
2023-11-22 17:41:35 -05:00
joe kirchoff
5701f4e8ff UnrealBuildTool: Disable Winvalid-unevaluated-string for clang 17
#rnx

[CL 29871218 by joe kirchoff in ue5-main branch]
2023-11-21 13:46:57 -05:00
joe kirchoff
cdd9a5989b UnrealBuildTool: Move common action properties for CreateRecursiveAction to be shared
#rnx

[CL 29853876 by joe kirchoff in ue5-main branch]
2023-11-20 17:55:29 -05:00
calvin zheng
70538bb54f Undo changelist 29782249
Linker crash still happening on EngineTestEditor, revert to previous solution.

#rb trivial
[FYI] zack.neyland

[CL 29845998 by calvin zheng in ue5-main branch]
2023-11-20 13:57:09 -05:00
zack neyland
ed02c75fc8 UBT: Remove ld_classic workaround, as bumping the min runtime to 11 removes the need for this. There was a bug with Apple's new linker with generating load ops when targeting 10.x runtimes.
[CL 29782291 by zack neyland in ue5-main branch]
2023-11-16 12:40:14 -05:00
josh adams
e94ead8457 - Replaced System.Environment.MachineName (and System.Net.Dns.GetHostName()) with Unreal.MachineName, since Environment.MachineName is capped at 15 characters, and not every machine name is that short. Uses System.Net.Dns.GetHostName() internally unless is throws an exception, then it falls back to Env.MachineName
#rb adam.kinge, joe.kirchoff

[CL 29712082 by josh adams in ue5-main branch]
2023-11-14 09:40:24 -05:00
grant medine
6689fc1065 [Backout] - CL29577197
[FYI] Joe.Kirchoff
Original CL Desc
-----------------------------------------------------------------
UnrealBuildTool: Move common action properties for CreateRecursiveAction to be shared

#rnx

[CL 29600550 by grant medine in ue5-main branch]
2023-11-09 12:21:13 -05:00
joe kirchoff
cdbaccc808 UnrealBuildTool: Move common action properties for CreateRecursiveAction to be shared
#rnx

[CL 29577504 by joe kirchoff in ue5-main branch]
2023-11-08 17:51:38 -05:00
joe kirchoff
043859f1a2 UnrealBuildTool: Fix command line args containing include paths and defines when they are already listed. Add c & cpp args into compilerAdditionalArgs dictionary
#rnx

[CL 29288238 by joe kirchoff in ue5-main branch]
2023-10-31 16:11:51 -04:00
joe kirchoff
d6b2c9077a UnrealBuildTool: Support emiting line tables only for debugging rather than disabling debug info entirely
Configuration is the same as TargetRules.DebugInfo and will override that setting except when debug info is disabled for the entire target

[CL 28558101 by joe kirchoff in ue5-main branch]
2023-10-06 17:13:05 -04:00
joe kirchoff
46eab319e3 UnrealBuildTool: Add the ability to disable debugging info for select modules and plugins via TargetRules configuration
Obsolete bDisableDebugInfo and replace with TargetRules.DebugInfo which is a flags enum DebugInfoMode. TargetRules.DebugInfo can be set to any or all of [Engine, EnginePlugins, Project, ProjectPlugins], whichever flags are set will have debug info enabled for the modules in those groups if the Target would otherwise has debug info enabled
* DebugInfoMode.None is equalivant to bDisableDebugInfo=true (-NoDebugInfo will still set this)
* DebugInfoMode.ProjectOnly = Project | ProjectPlugins
* DebugInfoMode.EngineOnly = Engine | EnginePlugins
* DebugInfoMode.Full = Engine | EnginePlugins | Project | ProjectPlugins
* DebugInfoMode.Full is equalivant to bDisableDebugInfo=false (the current default)
Add TargetRules.DisableDebugInfoModules, this is a list of module names that should disable debug info regardless of TargetRules.DebugInfo
Add TargetRules.DisableDebugInfoPlugins, this is a list of plugin names that should disable debug info for all of their modules regardless of TargetRules.DebugInfo

[CL 28544448 by joe kirchoff in ue5-main branch]
2023-10-06 12:28:59 -04:00
joe kirchoff
6638bbba8b UnrealBuildTool: Use IEnumerable for list of toolchain input lists that should be immutable
#rnx

[CL 28484575 by joe kirchoff in ue5-main branch]
2023-10-04 20:25:45 -04:00
joe kirchoff
8cb89effaa UnrealBuildTool: ISPC pass --cpu when compiling not just generating headers
#rnx
#rb fabian.giesen, Ryan.Hummer

[CL 28383568 by joe kirchoff in ue5-main branch]
2023-10-02 13:02:49 -04:00
joe kirchoff
7b737bc85c UnrealBuildTool: Fix QueryMode to allow running in parallel
#rnx

[CL 28358351 by joe kirchoff in ue5-main branch]
2023-09-29 17:58:13 -04:00
joe kirchoff
e73f16593a UnrealBuildTool: Additional extensions for clang singlefile compiles
#rnx

[CL 28258245 by joe kirchoff in ue5-main branch]
2023-09-26 20:52:57 -04:00
brandon schaefer
343fb81c83 Disable no-deprecated-copy warning when building with clang on Windows
#rb Joe.Kirchoff

[CL 28014093 by brandon schaefer in ue5-main branch]
2023-09-19 17:16:34 -04:00
wojciech krywult
30742d8364 UBT: Clang: Added support for Clang's -fextend-lifetimes switch which improves debugging experience in optimized builds.
This switch makes the compiler extend lifetimes of local variables, function parameters and 'this' till the end of their scopes increasing the chance for the debugger being able to display their values when debugging.

It may slightly reduce performance so it's an opt-in feature controlled with bOptimizeForDebugging variable in xPlatform sections on supported platforms in BuildConfiguration.xml scripts. Even when set to true, it won't affect Test or Shipping builds.

#rb brian.white
#jira UE-121644
[RN] minor Added support for -fextend-lifetimes compilation switch on selected Clang-based platforms which improves debugging experience of optimized builds by increasing the number of local variables for which the debugger can show values. The feature may slightly reduce performance and is intended to be used in development only. It has to be explicitly activated by setting bOptimizeForDebugging variable in <platform>Platform section of BuildConfiguration.xml. It won't affect Test or Shipping configurations.

[CL 27428905 by wojciech krywult in ue5-main branch]
2023-08-28 18:28:56 -04:00
joe kirchoff
e03a20c7fa UnrealBuildTool: Fix distribution not working for -SingleFile by moving several action properties to be set in the shared base action
#rnx

[CL 27396140 by joe kirchoff in ue5-main branch]
2023-08-25 19:09:46 -04:00
josh adams
2995eb5c58 - Fixed codesigning of UnrealGame made with -createstub (will use dummy signing, which doesn't need a cert/provision pair, so will be signed the same way UnrealGame is signed without making a stub)
#jira UE-193672
#rb Calvin.zheng

[CL 27320434 by josh adams in ue5-main branch]
2023-08-23 17:05:44 -04:00
josh adams
ecce4e7680 - Brought back Legacy style temp keychain method because IPP cannot currently re-sign Frameworks embedded in a .app
#jira UE-193511
#rb axel.riffard

[CL 27279039 by josh adams in ue5-main branch]
2023-08-22 14:03:26 -04:00
andrew scheidecker
04a9c26a83 Fix ClangToolchain passing -fautortfm to the IWYU compiler.
#rb Michael.Nicolella, Brandon.Schaefer

[CL 27156750 by andrew scheidecker in ue5-main branch]
2023-08-16 17:45:21 -04:00
joe kirchoff
4881f73b49 [Backout] - CL27032041
[FYI] Joe.Kirchoff
Original CL Desc
-----------------------------------------------------------------
UnrealBuildTool: Respect warning as error setting for clang

#rnx

[CL 27082492 by joe kirchoff in ue5-main branch]
2023-08-14 15:35:19 -04:00