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
bryan sefcik
1599bfae2e
Rewrote the GenerateClangDatabase mode in UBT to work with the clang tools like IWYU.
...
#preflight 63052ee5c744dac967fc287f
[CL 21519266 by bryan sefcik in ue5-main branch]
2022-08-23 16:36:20 -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
ae6cf65b94
UnrealBuildTool: Support clang 14 by suppressing new warning.
...
Bump minimum windows clang to 13 to match other platforms
#rnx
#rb trivial
#preflight 62fc3b422d5e2ed99ce1fae9
[CL 21418778 by Joe Kirchoff in ue5-main branch]
2022-08-16 21:08:10 -04:00
Joe Kirchoff
e4224e8cef
Complete disable running static code analysis on ONNXRuntime
...
#preflight 62fab1a5b66d5d931386e7f2
[CL 21393941 by Joe Kirchoff in ue5-main branch]
2022-08-15 16:58:37 -04:00
Joe Kirchoff
ede8e06501
Disable static analysis checkers for ONNXRuntime
...
#rnx
#rb trivial
#preflight 62fa95004211c9997ddadc2c
[CL 21391331 by Joe Kirchoff in ue5-main branch]
2022-08-15 15:00:41 -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
Joe Kirchoff
234e04b892
UnrealBuildTool: Handle PCH correctly when running clang analyze
...
#rnx
#rb trivial
#preflight 62f6ae73906a4f904f3f8021
[CL 21362603 by Joe Kirchoff in ue5-main branch]
2022-08-12 16:06:06 -04:00
UnrealBot
73409369c0
Branch snapshot for CL 21319338
...
[CL 21319338 in ue5-main branch]
2022-08-10 16:03:37 +00: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
ben woodhouse
0e817b15fa
ISPC toolchain - Add support for an optional post-compile step to compile LLVM bytecode to a native obj file, using the target platform's toolchain. Without this step, we can end up with unoptimized output on some platforms
...
- Fix bug where compiler targets were duplicated in the outputs list
- Rename Platform to HostPlatform in functions which expect a host platform to be passed
#rb jeff.newquist, Joe.Kirchoff
#ROBOMERGE-AUTHOR: ben.woodhouse
#ROBOMERGE-SOURCE: CL 21220551 via CL 21220575 via CL 21220584
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)
[CL 21224380 by ben woodhouse in ue5-main branch]
2022-07-22 13:20:45 -04:00
Joe Kirchoff
8d675739de
UnrealBuildTool: Use --analyzer-no-default-checks to disable default clang analyzers and remove unneeded flags
...
#rnx
#rb trivial
#preflight 62d82dddd54af4b9a2d1ad53
[CL 21183597 by Joe Kirchoff in ue5-main branch]
2022-07-20 12:49:39 -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
Joe Kirchoff
c5ca8db060
UnrealBuildTool: Allow PCH when running the clang analyzer
...
#rb trivial
#rnx
#preflight 62d73a1f164251d065f9d9df
[CL 21169279 by Joe Kirchoff in ue5-main branch]
2022-07-19 19:43:55 -04:00
Joe Kirchoff
4b30ecf0e8
UnealBuildTool: Include clang pch with -include-pch rather than -include
...
#rnx
#rb trivial
#preflight 62d6de4b1062f2e6303e396f
[CL 21164175 by Joe Kirchoff in ue5-main branch]
2022-07-19 12:59:25 -04:00
Joe Kirchoff
ab763b8aec
UnrealBuildTool: Fix -fpch-validate-input-files-content check
...
#rnx
#rb trivial
#jira UE-159463
#preflight 62d05bf28e4b379590a65be8
[CL 21095032 by Joe Kirchoff in ue5-main branch]
2022-07-14 14:30:32 -04:00
Joe Kirchoff
5ef701b076
UnrealBuildTool: Clean up clang toolchain paths and versioning.
...
Remove need for most of the derived classes to override CompileCPPFiles
#rnx
#rb trivial
#preflight 62cc8862f22e9d4fdf79a882
[CL 21047169 by Joe Kirchoff in ue5-main branch]
2022-07-11 16:55:46 -04:00
Joe Kirchoff
da863f0f1c
UnrealBuildTool: Fix LogTrace and wrong preprocessor output extension in ClangToolChain
...
#rnx
#rb trivial
#preflight 62c772912823f28cf240073c
[CL 20996173 by Joe Kirchoff in ue5-main branch]
2022-07-07 20:05:24 -04:00
Joe Kirchoff
8c5d5e9a61
UnrealBuildTool: Fix clang include pch logic for non cpp files to match msvc
...
#rnx
#rb none
#preflight 62c75aa1324817d8148a5374
[CL 20994957 by Joe Kirchoff in ue5-main branch]
2022-07-07 18:41:18 -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
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
Joe Kirchoff
9cf9210fb0
UnrealBuildTool: Support two-pass CLANG_STATIC_ANALYZER_MODE for all clang platforms
...
#rnx
#rb none
#preflight 62c4b68ab47aed4cf1c06c0c
[CL 20951826 by Joe Kirchoff in ue5-main branch]
2022-07-05 18:40:43 -04:00
Joe Kirchoff
a29460d1c3
UnrealBuildTool: Reconcile compile action logic to ClangToolChain.CompileCPPFile
...
#rnx
#rb none
#preflight 62c47ad42823f28cf2351ae4
[CL 20946880 by Joe Kirchoff in ue5-main branch]
2022-07-05 14:48:11 -04:00
Joe Kirchoff
5767bdf3c1
UnrealBuildTool: Override for clang additional arguments
...
#rb trivial
#rnx
#preflight 62bf40693f0d6beee2e9b016
[CL 20919016 by Joe Kirchoff in ue5-main branch]
2022-07-01 15:02:48 -04:00
Joe Kirchoff
cf0d0099c3
UnrealBuildTool: UnsafeTypeCastWarning for clang platforms
...
#rb none
#rnx
#preflight 62be341a8d5e678759e62f9f
[CL 20907767 by Joe Kirchoff in ue5-main branch]
2022-06-30 20:05:07 -04:00