Commit Graph

144 Commits

Author SHA1 Message Date
arciel rekman
7737566a62 Make UBT handle gracefully lack of the PGO data files.
#rb none

[CL 26611153 by arciel rekman in ue5-main branch]
2023-07-26 12:41:21 -04:00
arciel rekman
2252185545 Fix wrong Linux PGO path for a project-less build.
#rb none
[REVIEW] [at]Joe.Kirchoff

[CL 26490472 by arciel rekman in ue5-main branch]
2023-07-20 13:46:44 -04:00
arciel rekman
d8634a5c6a Change Linux PGO file location to match other platforms.
- Also change the name to match the target.

#rb none

[CL 26488168 by arciel rekman in ue5-main branch]
2023-07-20 12:14:22 -04:00
arciel rekman
49116212ad Compile servers with WITH_RAYTRACING=0
- This reduces Shipping server binary by a couple megabytes, and also helps reduce work during the LTO/PGO builds.

#rb Yuriy.ODonnell
[REVIEW] [at]Yuriy.ODonnell

[CL 25984505 by arciel rekman in ue5-main branch]
2023-06-14 13:05:10 -04:00
galeone
431c09150e [UBT] Add support for Code coverage on Linux
#rb Brandon.Schaefer, Jerome.Delattre, Joe.Kirchoff

[CL 25794147 by galeone in ue5-main branch]
2023-06-05 12:03:25 -04:00
arciel rekman
7d6b86f71d Regularize support for LTO/ThinLTO for Linux.
- Issue a warning when ThinLTO flag is specified on the command line but has no effect.

#rb Brandon Schaefer
[REVIEW]
#preflight 647a06fcf40c6565433192ac

[CL 25762597 by arciel rekman in ue5-main branch]
2023-06-02 11:26:41 -04:00
joe kirchoff
c04da27b3b UnrealBuildTool: More automated code cleanup
#rnx
#preflight 64767efb4b1ead7c7f428c7a

[CL 25693857 by joe kirchoff in ue5-main branch]
2023-05-30 18:59:32 -04:00
joe kirchoff
36d266e932 UnrealBuildTool: Automated code cleanup
#rnx
#preflight 6476799e947ff6973c225619

[CL 25693241 by joe kirchoff in ue5-main branch]
2023-05-30 18:38:07 -04:00
joe kirchoff
57a8fe409c UnrealBuildTool: Use expression body for simple properties and accessors
#rnx
#preflight 64766abcfe6a3b258a04cb50

[CL 25691579 by joe kirchoff in ue5-main branch]
2023-05-30 18:01:50 -04:00
brandon schaefer
900964e01b Add a Suffix when compiling with AutoRTFM compiler for Linux builds
#rb none
#preflight none
[FYI] Neil.Henning, Michael.Nicolella

[CL 25203430 by brandon schaefer in ue5-main branch]
2023-04-26 14:13:52 -04:00
yiliang siew
2eb3d3add2 Adds a new bEnableLibFuzzer option for desktop platforms.
#rb Joe.Kirchoff
[FYI] Brandon.Schaefer
#preflight 643f1cebb91c1307586cba5c

[CL 25099401 by yiliang siew in ue5-main branch]
2023-04-18 20:53:49 -04:00
danny couture
3782e2df04 Fix monolithic editor linux builds that are extremely large because debug symbols are not split properly
#rnx
#rb Brandon.Schaefer
#preflight 642abcf1da7f958370d8ad31

[CL 24891106 by danny couture in ue5-main branch]
2023-04-03 08:18:56 -04:00
bryan sefcik
78aa2dfd58 Did a pass through the code to make it thread safe.
#fyi joe.kirchoff
#preflight 6424da90e11ce5214fcbfde7

[CL 24849236 by bryan sefcik in ue5-main branch]
2023-03-29 21:12:39 -04:00
brandon schaefer
547593db87 Move to adding a TargetRules bool for using AutoRTFM Compiler
#rb Neil.Henning
[FYI] Michael.Nicolella
#preflight 6421fdc6973e609670b97622

[CL 24824162 by brandon schaefer in ue5-main branch]
2023-03-28 15:14:44 -04:00
james singer
38043bb2a0 Provide option to disable dump_syms where iteration speed is desirable. (-NoDumpSyms or set bDisableDumpSyms)
#jira UE-177205
#preflight 640a062228026468d9d37cf8
#review-24547341 @Brandon.Schaefer
#rb Brandon.Schaefer

[CL 24576891 by james singer in ue5-main branch]
2023-03-09 11:27:20 -05:00
Joe Kirchoff
ddcb912fe5 UnrealBuildTool: Remove CanUseParallelExecutor as it is no longer needed as the UAT ParallelExecutor has been removed and is obsolete.
#rnx
#rb trivial
#preflight 63fe749add78dd50f6247b02

[CL 24452546 by Joe Kirchoff in ue5-main branch]
2023-02-28 17:01:41 -05:00
bryan sefcik
897d3d015b Disabled pch chaining on Linux because it is crashing the compiler when compiling the CitySample.
#jira
[FYI] joe.kirchoff
#preflight 63e59ec7db0da0fdac5519b6

[CL 24114192 by bryan sefcik in ue5-main branch]
2023-02-09 22:38:41 -05:00
josh adams
1610c3bee3 UnrealArch/UnrealArchitectures changes
- Creates the UnrealArchitectures class, which wraps a list of UnrealArch objects
 - UnrealArch is a single architecture, expandable enum-like struct
 - There is no more concept of "no/default architecture", there is always a valid active architecture when building
 - Most uses of "string Architecture" are replaced with one of the two above, depending if multiple architectures are supported or not
 - UnrealArch has some platform-extensions for platform-specific naming (like Linux adds in LinuxName that turns, for instance, Arm64 -> aarch64-unknown-linux-gnueabi, which is used in folder names, etc)
 - UnrealArch has bIsX64 which can be used determine intel instruction set (as opposed to arm)
 - TargetRules class has an "Architecture" accessor that will return a single architecture if the active architectures is a single architecture, or throw an exception if multiple. This is useful in a majority of the cases where a paltform can only have a single architecture active in TargetRules (microsoft platforms, for instance, will create separate targets when compiling multiple architectures at once)
 - Added UnrealArchitectureConfig class, which contains all the architecture information for a platform (what architectures are supported, what ones are currently active for given project, etc)

#preflight 63c81fb5b065224750a1759e
#rb mike.fricker,roman.dzieciol,joe.kirchoff,dmytro.vovk,brandon.schaefer [various parts]
#p4v-preflight-copy 23562471

[CL 23829977 by josh adams in ue5-main branch]
2023-01-24 09:30:28 -05:00
henrik karlsson
23ea716c7a [UBT]
* Added IWYU toolchain which can be enabled with -IWYU
* Added IWYU mode that can be used with -Mode=IWYU. This can be used to modify code files
* Binary of include-what-you-use that contains a ton of fixes to make ue build

#preflight skipped
#rb joe.kirchoff

[CL 23631202 by henrik karlsson in ue5-main branch]
2023-01-10 14:52:00 -05:00
Josh Adams
e6d0fb6486 - Added to new architecture APIs to UEBuildPlatform
- ConvertToReadableArchitecture() - turn an internal platform arch string to a printable version
  - IsX86Architecture() - returns true if the platform arch string represents an x86 architecture
- Changed Linux to use the HumanReadableName as the FolderNameForArchitecture, so it's shorter and it is not obfuscated anymore
#rb brandon.schaefer
#preflight 638fc65e9549ddaa288ccf73
#fyi dan.thompson

[CL 23419149 by Josh Adams in ue5-main branch]
2022-12-06 18:21:19 -05:00
jeannoe morissette
42e46146e2 VulkanRHI: Fix RHI_RAYTRACING not being set on Linux builds. Fix case on some includes.
#jira UE-165993
#preflight 633f0fe3174b138657ded100
#rb Brandon.Schaefer
#rnx
#lockdown Mihnea.Balta

[CL 22404275 by jeannoe morissette in ue5-main branch]
2022-10-07 13:37:38 -04:00
Joe Kirchoff
992b37b7cf UnrealBuildTool: Ignore build outputs when analyzing
#jira UE-160043
#rnx
#rb trivial
#preflight 62d89e741133256db65e2400

[CL 21202249 by Joe Kirchoff in ue5-main branch]
2022-07-21 12:07:06 -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
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