Commit Graph

4366 Commits

Author SHA1 Message Date
Joe Kirchoff
cb5fcf94a8 UnrealBuildTool: Ban MSVC compiler in VS2022 17.2.0 & 17.3.0 Preview 1 due to https://developercommunity.visualstudio.com/t/Incorrect-instantiation-of-a-virtual-fun/10020368
#rb trivial
#fyi martin.sevigny
#rnx
#preflight 627be4312d6789603017b839

[CL 20143192 by Joe Kirchoff in ue5-main branch]
2022-05-11 12:51:38 -04:00
Joe Kirchoff
4fbf8b740a UnrealBuildTool: Support new MSVC source dependency version
#rb trivial
#rnx
#jira none
#preflight 627bd3080a5817c9d94e9b99

[CL 20141057 by Joe Kirchoff in ue5-main branch]
2022-05-11 11:21:48 -04:00
Joe Kirchoff
880c5bfd6e UnrealBuildTool: Begin moving common functions from clang based toolchains to base ClangToolChain.
#rb brandon.schaefer
#rb chris.babcock
#preflight 627ad0017e5f24d1ede6d5d0
#preflight 627ada7a0a5817c9d91562c0
#rnx

* Move ClangVersion variables to base class and share function to check version. A separate change will add a virtual function for parsing the clang version for each toolchain as to not add complexity to this change.
* GetCppStandardCompileArgument: Used by all, no differences
* GetCompileArguments_CPP: Used by all. Switch & Apple are overridden
* GetCompileArguments_C: Used by all, no differences
* GetCompileArguments_MM: Used by Linux & Apple. Apple is overridden.
* GetCompileArguments_M: Used by Linux & Apple. Apple is overridden.
* GetCompileArguments_CPP: Used by all. Switch & Apple are overridden.
* GetRTTIFlag: Used by Linux & Apple, no differences.

[CL 20131754 by Joe Kirchoff in ue5-main branch]
2022-05-10 19:08:08 -04:00
dmytro vovk
3066f19141 Updated GooglePAD for NDK23
#jira none
#review Chris.Babcock
#preflight 627a67d610766ef8c1f3d79f

[CL 20130289 by dmytro vovk in ue5-main branch]
2022-05-10 17:41:28 -04:00
will damon
6ef48faaa0 Add ShaderCompileWorker to the allowed list for Apple Silicon.
#rb josh.adams
#jira UE-150669
#rnx
#preflight n/a

[CL 20127673 by will damon in ue5-main branch]
2022-05-10 15:06:21 -04:00
Joe Kirchoff
f558da572e UnrealBuildTool: Move include paths and defines into GetCLArguments_Global for LinuxToolChain
#rb trivial
#rnx
#preflight 627a98f4c42338be6525283e

[CL 20125291 by Joe Kirchoff in ue5-main branch]
2022-05-10 13:13:49 -04:00
allan bentham
7e4780f2e8 Disable variable set but not used compiler warning occurring when using newer Android NDK.
#rb dmytro.vovk
#preflight 627a6808e713fc6e2c4ba3b2

#ROBOMERGE-AUTHOR: allan.bentham
#ROBOMERGE-SOURCE: CL 20122810 via CL 20122901 via CL 20122931
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20124299 by allan bentham in ue5-main branch]
2022-05-10 11:59:47 -04:00
dmytro vovk
f3e6bce755 Update Android dependencies to use static libc++ instead of libc++_shared
#jira UE-131966
#rb Chris.Babcock

#ROBOMERGE-AUTHOR: dmytro.vovk
#ROBOMERGE-SOURCE: CL 20121044 via CL 20121102 via CL 20121151
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20122386 by dmytro vovk in ue5-main branch]
2022-05-10 09:48:16 -04:00
Jack Porter
a5ea9572f5 Ignore iTunes DLL if the version number cannot be parsed as we expect
#jira UE-150784
#rb Adam.KingE
#preflight 627a44eb492212de07269b02

[CL 20120571 by Jack Porter in ue5-main branch]
2022-05-10 07:09:49 -04:00
Tim Smith
3691e548c9 Moved UHT configuration for C# back to the original location to make installed game deployment less complicated.
#rb self
#rnx
#jira UE-151418
#preflight 62796269242446ce6c642bbf

[CL 20108978 by Tim Smith in ue5-main branch]
2022-05-09 15:23:59 -04:00
Matt Peters
89086570e7 UnrealBuildTool/IncludeTool PreprocessorExpressions: add support for new clang language extension macros.
#rb Martin.Ridgers
#rnx
#preflight 627903c5dd1f13effd93398c

[CL 20101278 by Matt Peters in ue5-main branch]
2022-05-09 08:12:07 -04:00
Joe Conley
8d2a0ef148 #jira UE-147307 //UE5/Main - Stage EngineTest Game HoloLens - Failed to copy Manifest
HoloLensPlatform::GetPathToVCLibsPackages() needs to call MicrosoftPlatformSDKs::EnumerateSdkRootDirs() function and loop through the result trying them in order, rather than always looking for a hardcoded path.  Also adding VCLibs for arm64 necessary for HoloLens to CarefullyRedist.  For some reason, they are in Microsoft SDKs/Windows Kits instead of just in Windows Kits/, so I matched that directory structure in CarefullyRedist, then the code I'm adding the HoloLensPlatform.Automation.cs can use the same path to look for it if it's installed manually or from AutoSDKs.
#preflight 62742e6d4a2e9340486c9adf
#preflight 627430be03269096abd69fdf
testing: Quick Launch HoloLensQA project to HoloLens device still works!

[CL 20065655 by Joe Conley in ue5-main branch]
2022-05-05 18:05:18 -04:00
jonathan adamczewski
6675412d91 RulesCompiler.cs: Indentation
#jira none
#trivial
#rnx
#preflight none

[CL 20053890 by jonathan adamczewski in ue5-main branch]
2022-05-04 21:13:54 -04:00
brandon schaefer
7176cb3167 Update to new v20 toolchain
#jira none
#rb none
#preflight none

#ROBOMERGE-AUTHOR: brandon.schaefer
#ROBOMERGE-SOURCE: CL 20045613 in //UE5/Release-Engine-Staging/...
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20047133 by brandon schaefer in ue5-main branch]
2022-05-04 15:38:15 -04:00
brandon schaefer
4b12cc89bd Update Linux and libcxx/libcxxabi to new 13.0.1 LLVM
#jira UE-136811, UE-126026
#preflight 626829f6853fdb6fddc18797

#ROBOMERGE-OWNER: brandon.schaefer
#ROBOMERGE-AUTHOR: brandon.schaefer
#ROBOMERGE-SOURCE: CL 20030619 in //UE5/Release-5.0/... via CL 20045582
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20047117 by brandon schaefer in ue5-main branch]
2022-05-04 15:37:44 -04:00
Joe Kirchoff
c2ecac79bb UnrealBuildTool: Don't build a prereq action if it's not in the list of all actions to build
#jira UE-150951
#rb trivial
#rnx
#preflight 6272bbe02f6d177be3ccd558

[CL 20044734 by Joe Kirchoff in ue5-main branch]
2022-05-04 14:01:57 -04:00
stephen ma
c81b5d2318 Update UEBuildDeploy to remove Read-Only attribute when copying files recursively.
#preflight 62703369a526aafb094657ad

[CL 20040544 by stephen ma in ue5-main branch]
2022-05-04 08:53:47 -04:00
Tim Smith
6987021223 Added new deprecation message type and a setting to enable/disable deprecation messages.
#rb self
#rnx
#preflight 62726841d90599edbe3bc48a

[CL 20040082 by Tim Smith in ue5-main branch]
2022-05-04 07:54:36 -04:00
Joe Kirchoff
4cd1f7369f UnrealBuildTool: Fix data-dir on mac and linux when launching zenserver for the experimental HordeExecutor
#rb trivial
#rnx
#preflight 6271b0433e1f2a9d3a4e42ee

[CL 20034383 by Joe Kirchoff in ue5-main branch]
2022-05-03 18:56:30 -04:00
Tim Smith
f813631481 More coding standard fixes
#rnx
#preflight 6270399a645c64f3a2571585

[CL 20014974 by Tim Smith in ue5-main branch]
2022-05-02 16:23:21 -04:00
Ben Marsh
f9192f643c Disable static analysis for C# projects during build.
#preflight 626c3cbeb046e6ecc32b0b0b

[CL 19984219 by Ben Marsh in ue5-main branch]
2022-04-29 15:50:26 -04:00
jonathan adamczewski
b25b8a0d7a UnrealBuildTool: Delete files in parallel when cleaning (adding a few timers)
Cleaning UnrealEngine Development Win64, on a ThreadRipper
Before: 270 seconds
After:   63 seconds

#jira none
#rnx
#preflight 626b29bbb17dd9121b63f219

[CL 19982248 by jonathan adamczewski in ue5-main branch]
2022-04-29 13:53:48 -04:00
jonathan adamczewski
11d542c545 UnrealBuildTool: add -CompactOutput command line option, supported by ParallelExecutor
Also can be set via BuildConfiguration.xml with:

<BuildConfiguration><bCompactOutput>true</bCompactOutput></BuildConfiguration>

#jira none
#preflight 626ae00e2c7b46848542a57f

[CL 19982217 by jonathan adamczewski in ue5-main branch]
2022-04-29 13:52:17 -04:00
Joe Kirchoff
9ad5c5e175 UnrealBuildTool: Compile PCH with -fpch-instantiate-templates for Apple platforms. Improves compile time by almost 15%
#rb none

Mac UnrealEditor Development:
* Before UBT Run Time: 00:57:20
* After UBT Run Time: 00:49:44
UBT Run Time improvement 13.26%
#preflight 626ab0f5a5009ff191b17456

[CL 19963241 by Joe Kirchoff in ue5-main branch]
2022-04-28 11:52:26 -04:00
Joe Kirchoff
a466692fc3 UnrealBuildTool: Compile PCH with -fpch-instantiate-templates for Android platform. Improves compile time by almost 15%
#rb none
#preflight 626aaf4ead56c0cbbea2c1c5

[CL 19962904 by Joe Kirchoff in ue5-main branch]
2022-04-28 11:39:55 -04:00