Commit Graph

828 Commits

Author SHA1 Message Date
joe kirchoff
46070aebd1 UnrealBuildTool: If the clang compiler is in use, default to allowing the clang linker
#rnx

[CL 36759701 by joe kirchoff in 5.5 branch]
2024-10-01 19:51:00 -04:00
joe kirchoff
547acf6418 UnrealBuildTool: Intel ICX 2024.2 integration
[CL 36320046 by joe kirchoff in 5.5 branch]
2024-09-16 18:42:20 -04:00
henrik karlsson
96837e6db5 [UBT]
* Changed root paths to be sorted with engine/project/unreal first and additional paths after.. by keeping this sorting consistent between all actions we will get fewer entries in the path table

[CL 36305157 by henrik karlsson in 5.5 branch]
2024-09-16 11:55:40 -04:00
joe kirchoff
6925c7f408 UnrealBuildTool: Handling for newer clang checkers
#rnx
#jira UE-224286

[CL 36281592 by joe kirchoff in 5.5 branch]
2024-09-13 16:47:35 -04:00
joe kirchoff
7381163168 UnrealBuildTool: Add visual studio and msvc min version to warning when no valid default compiler is found
#rnx

[CL 36244115 by joe kirchoff in 5.5 branch]
2024-09-12 16:31:28 -04:00
joe kirchoff
070b2a1552 UnrealBuildTool: Option to enforce Standard C++ ODR violations under /Gw with /Zc:checkGwOdr when strict conformance is enabled
#rnx

[CL 36214557 by joe kirchoff in 5.5 branch]
2024-09-11 19:27:09 -04:00
joe kirchoff
3e6f7604d6 UnrealBuildTool: clang-cl flags for /arch
#rnx

[CL 36210777 by joe kirchoff in 5.5 branch]
2024-09-11 17:19:22 -04:00
Ryan Hummer
4af2fd066d Updating Dev-Release-5.5 from Main at CL #36144969
#okforversepublic

[CL 36146571 by Ryan Hummer in Dev-5.5 branch]
2024-09-10 10:26:02 -04:00
ben woodhouse
05469b0850 Properly implement the OptimizationLevel param for Clang so -Oz is used for OptimizeForSize etc. This includes PGO specific overrides where necessary.
Remove platform specific Clang PGO compilation overrides since this is now handled by the cross platform base class.
#rb dmytro.vovk, Joe.Kirchoff, mickael.gilabert, tom.holmes

[CL 35902505 by ben woodhouse in ue5-main branch]
2024-08-29 14:52:20 -04:00
josh adams
739bd36312 Unshelved from pending changelist '35888658':
[Backout] - CL35885694
[FYI] keaton.stewart
Original CL Desc
-----------------------------------------------------------------
[Backout] - CL35883107
[FYI] Josh.Adams
Original CL Desc
-----------------------------------------------------------------
- Get default target windows version from Windows_SDK.json
- Has a separate version for Arm64

#rb Joe.Kirchoff

[CL 35901482 by josh adams in ue5-main branch]
2024-08-29 14:17:32 -04:00
keaton stewart
8915e611bb [Backout] - CL35883107
[FYI] Josh.Adams
Original CL Desc
-----------------------------------------------------------------
- Get default target windows version from Windows_SDK.json
- Has a separate version for Arm64

#rb Joe.Kirchoff

[CL 35885700 by keaton stewart in ue5-main branch]
2024-08-28 19:24:02 -04:00
josh adams
343d75740b - Get default target windows version from Windows_SDK.json
- Has a separate version for Arm64

#rb Joe.Kirchoff

[CL 35883142 by josh adams in ue5-main branch]
2024-08-28 18:13:52 -04:00
josh adams
c729c85aa3 - .Build.cs and build scripts for WinArm64.
- Removing more plugins so QAGame runs (except for XAudio which is complicated enough to be in a separate CL)

#rb fabian.giesen

[CL 35866817 by josh adams in ue5-main branch]
2024-08-28 10:37:07 -04:00
henrik karlsson
4522453c4d [UBT]
* Moved extra link file extension to be fetched from UEToolChain instead and overridden per platform
* Fixed so merged modules used overridden PER_MODULE_INLINE_FILE if exists

[CL 35839765 by henrik karlsson in ue5-main branch]
2024-08-27 17:32:27 -04:00
joe kirchoff
901623464f additional net8.0 fixes
#rnx

[CL 35784166 by joe kirchoff in ue5-main branch]
2024-08-23 17:53:23 -04:00
josh adams
6df474e176 - Some fixes to get WinArm64 compiling (still not linking due to third party libs)
#rb fabian.giesen

[CL 35778041 by josh adams in ue5-main branch]
2024-08-23 14:27:41 -04:00
henrik karlsson
74838df7e4 [UBT]
* Changed so when building and linking with clang we use UbaObjTool to generate import libs instead of using msvc link.exe. This is needed because obj files can be of LLVM IR Stream format if a target has ltcg enabled (link.exe can't read those obj files)

[CL 35752684 by henrik karlsson in ue5-main branch]
2024-08-22 15:56:45 -04:00
henrik karlsson
72ef834ab6 [UBT]
* Ignore tracking the .exp file when using clang linker to prevent relinks happening when building on certain microsoft platforms

[CL 35750041 by henrik karlsson in ue5-main branch]
2024-08-22 14:48:44 -04:00
joe kirchoff
fc5b4f96b3 UnrealBuildTool: Always write .sarif files
#rnx

[CL 35717144 by joe kirchoff in ue5-main branch]
2024-08-21 15:55:41 -04:00
joe kirchoff
b7f6534e0e UnrealBuildTool: Fix sn-dbs msvc paths when other compilers are in use
#rnx

[CL 35664907 by joe kirchoff in ue5-main branch]
2024-08-20 15:23:46 -04:00
ryan hummer
943623be59 UBT: Fixing invalid string format
#rnx
#rb none

[CL 35654796 by ryan hummer in ue5-main branch]
2024-08-20 10:43:54 -04:00
joe kirchoff
dbf5de4b3e UnrealBuildTool: Fix typo in clang arg
#rnx

[CL 35638673 by joe kirchoff in ue5-main branch]
2024-08-19 17:05:58 -04:00
ben woodhouse
28f316230a Clang PGO - Handle falling back to an alternative ProfData file if the exact match for the current config doesn't exist (similar to what we do with PGD files with MSVC).
#rb David.Harvey

[CL 35560110 by ben woodhouse in ue5-main branch]
2024-08-15 08:04:35 -04:00
michael nicolella
63b981f08b ubt: added build options for enabling the autortfm verifier
#rb Joe.Kirchoff, neil.henning

[CL 35550129 by michael nicolella in ue5-main branch]
2024-08-14 17:27:14 -04:00
mickael gilabert
dd691757ff Disable ASAN global variable check in vctoolchain when using clang compiler. This can lead to false / positive with ASan mixing types of different size in its shadow space
(for instance, null character being shared for char and wchar_t but having different sizes (1 for char and 2 for wchar_t))

[REVIEW] [at]ben.woodhouse
#rnx
#rb ben.woodhouse

[CL 35467128 by mickael gilabert in ue5-main branch]
2024-08-12 16:54:18 -04:00