Commit Graph

296 Commits

Author SHA1 Message Date
bryan sefcik
3c6a04fdf6 Fixed an issue where SNDBS would fail to compile files on agents because the inlined gen.cpp files were not setup as prerequisites.
#rb joe.kirchoff

[CL 22464949 by bryan sefcik in ue5-main branch]
2022-10-11 16:49:17 -04:00
joe kirchoff
159e690669 [Backout] - CL22412472
#fyi Joe.Kirchoff
Original CL Desc
-----------------------------------------------------------------
UnrealBuildTool: Use copy action helper for copying ISPC headers

#rnx
#rb trivial
#preflight 6340ae67c6753f31ce905a7e

[CL 22431518 by joe kirchoff in ue5-main branch]
2022-10-10 12:14:52 -04:00
Joe Kirchoff
045610442a UnrealBuildTool: Use copy action helper for copying ISPC headers
#rnx
#rb trivial
#preflight 6340ae67c6753f31ce905a7e

[CL 22412472 by Joe Kirchoff in ue5-main branch]
2022-10-07 19:26:23 -04:00
Joe Kirchoff
aa107eef25 UnrealBuildTool: Remove StaticAnalyzerDisabledCheckers.Contains("all") as there is now a boolean bDisableStaticAnalysis
#rnx
#rb trivial
#preflight 6340a133c6753f31ce8bfc5d

[CL 22411001 by Joe Kirchoff in ue5-main branch]
2022-10-07 18:05:13 -04:00
Robert Millar
a677dbc70e Allow disabling all static analysis on a module.
#rb joe.kirchoff
#jira none
#preflight https://horde.devtools.epicgames.com/job/6340540e174b13865728ca7c

[CL 22403984 by Robert Millar in ue5-main branch]
2022-10-07 13:30:19 -04:00
josh adams
b4b723bfa6 - More modernization of Xcode, focusing on Mac, IOS plist still needs a lot of work
- Premade "template" plist files for Mac, MacEditor, IOS, and added a PlistMode to choose between updating a template plist (from engine) or using a "baked" out plist that Xcode won't really mess with (this is still a work in progress, as it still needs thought on how to handle IOS premade vs Mac template, etc)
- Updating icons to using xcassets instead of .icns file
- Added post build step for UBT to write out build versions (increments each build) to a .xcconfig for Xcode to put into the .plist, but it reads previous value. Not terrible, but it still  needs work

#rb adam.king
#preflight 632c7e8ee23e50651b43139b

[CL 22137251 by josh adams in ue5-main branch]
2022-09-22 11:42:27 -04:00
joe kirchoff
4c62ff6248 UnrealBuildTool: Generate CompileScore data when compiling with clang traces if the compile score extractor is available in /Engine/Extras/ThirdPartyNotUE/CompileScore
#rb none
#jira UE-163049
#preflight 631a5420a20b67673ba704c4

[CL 21910501 by joe kirchoff in ue5-main branch]
2022-09-08 21:29:17 -04:00
joe kirchoff
8b9ce2e98a UnrealBuildTool: Archive clang traces when gathering -Timing summaries
#rnx
#rb trivial
#preflight 631a351fec45fbf3d73d2848

[CL 21909319 by joe kirchoff in ue5-main branch]
2022-09-08 20:47:53 -04:00
Joe Kirchoff
f0d9c2541d UnrealBuildTool: Update clang pgo profile to pass -fprofile-generate instead of -fprofile-instr-generate
#rnx
#rb trivial
#preflight 631795d07b21ad1e0a21ac32

[CL 21827327 by Joe Kirchoff in ue5-main branch]
2022-09-06 15:43:49 -04:00
Joe Kirchoff
cd296d6c93 Suppress tidy checks for apple clang toolchains when running clang analyzer
#rnx
#jira UE-162063
#rb trivial
#preflight skipped

[CL 21770245 by Joe Kirchoff in ue5-main branch]
2022-09-02 19:26:01 -04:00
Joe Kirchoff
667fbb5f2b UnrealBuildTool: Add missing PrerequisiteItems when copying generated ISPC header
#jira UE-148059
#rnx
#rb trivial
#preflight 63127af07b21ad1e0ab7e4dc

[CL 21769194 by Joe Kirchoff in ue5-main branch]
2022-09-02 18:36:49 -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
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