Commit Graph

1139 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
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
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
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
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
Joe Kirchoff
96772589c4 UnrealBuildTool: Compile PCH with -fpch-instantiate-templates for Linux if compiling with clang 11+
#rb jonathan.adamczewski
#preflight 626984b40d4ac78d717f075b

Initial testing has shown this PCH flag improves clang compile time by up to 20%

This flag is the default for clang-cl so it already applies to windows clang builds. Other clang based platforms will be supported as additional testing is done.

https://reviews.llvm.org/D69585

Linux UnrealEditor Development:
- Before Total CPU Time: 114072.34375 s
- Before UBT Run Time: 00:26:05
- After Total CPU Time: 86165.671875 s
- After UBT Run Time: 00:20:43
Total CPU Time improvement 24.46%
UBT Run Time improvement 20.58%

Linux UnrealGame Development:
- Before Total CPU Time: 23445.140625 s
- Before UBT Run Time: 00:09:13
- After Total CPU Time: 18492.71875 s
- After UBT Run Time:  00:07:52
Total CPU Time improvement 21.12%
UBT Run Time improvement 13.56%

[CL 19943838 by Joe Kirchoff in ue5-main branch]
2022-04-27 14:34:39 -04:00
chris constantinescu
1278a26f76 Low level tests further refactoring and test resource deployment
#preflight 626955ed0d4ac78d716eacf0
#rnx

[CL 19941830 by chris constantinescu in ue5-main branch]
2022-04-27 12:36:35 -04:00
adam kinge
afab4fcf55 Add -fno-delete-null-pointer-checks to disable clang13 optimization on iOS
#jira UE-148706
[REVIEW] [at]jack.porter
#rb jack.porter
#preflight 626864202f53f9169a8834d9

#ROBOMERGE-AUTHOR: adam.kinge
#ROBOMERGE-SOURCE: CL 19937002 in //UE5/Release-5.0/... via CL 19937468
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 19938430 by adam kinge in ue5-main branch]
2022-04-27 09:33:43 -04:00
chris babcock
9f34405b80 Add -fno-delete-null-pointer-checks to disable clang13 optimization on newer Android NDK toolchains
#jira UE-150344
#android
[REVIEW] [at]Michael.Balzer
#rb Michael.Balzer
#preflight https://horde.devtools.epicgames.com/job/62686c47430b9997ebfb22f7
#lockdown jack.porter

#ROBOMERGE-AUTHOR: chris.babcock
#ROBOMERGE-SOURCE: CL 19933962 in //UE5/Release-5.0/... via CL 19934534
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 19935444 by chris babcock in ue5-main branch]
2022-04-27 00:46:11 -04:00
Joe Kirchoff
c4a445ac71 UnrealBuildTool: Mac and Linux -fpch-validate-input-files-content
This flag validates pch inputs using content only when the mtime check fails, allowing the build to not fail if the content does not actually differ.

#rb jonathan.adamczewski
#rnx
#preflight 6268708c820fbeb9a434bc28

[CL 19931628 by Joe Kirchoff in ue5-main branch]
2022-04-26 19:10:29 -04:00
David Harvey
b1e9d46d61 VCToolChain always applies delay unload, regardless of platform - required for modular builds.
#jira UE-149806
#rnx
#preflight 6266b9abe73e257316091dca
#rb Nuno.Leiria

[CL 19903739 by David Harvey in ue5-main branch]
2022-04-25 12:03:36 -04:00
David Harvey
171b48d51a HoloLens can read build resources from platform extension folders.
#jira UE-149794
#rnx
#rb Josh.Adams, Jeff.Fisher
#preflight 62625f2aa2579b4c7739ef93

[CL 19862192 by David Harvey in ue5-main branch]
2022-04-22 04:20:25 -04:00
josh adams
39bff31fff - Adding comments to the PlatformSDK files to note the version numbers are now in the Versions.cs files
#p4v-preflight-copy 19822331
#rb trivial
#jira none
#preflight 6261e093a21b75437128a095

[CL 19858470 by josh adams in ue5-main branch]
2022-04-21 19:26:22 -04:00
jack porter
274d853456 Fix iOS code signing with certificates issued for organizations or individuals with non-latin characters in their names.
#jira UE-145426
#rb Axel.Riffard
#preflight 6260fd49e30cb43e8cd9d397
#lockdown Rolando.Caloca

#ROBOMERGE-AUTHOR: jack.porter
#ROBOMERGE-SOURCE: CL 19848522 in //UE5/Release-5.0/... via CL 19849381
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v940-19807014)

[CL 19850587 by jack porter in ue5-main branch]
2022-04-21 12:00:09 -04:00
nuno leiria
e5ba02df4b VCToolchain and linker visibility changes required to enable modular builds for MS console platforms
#preflight 626042f0080c6600634660e8
#rb david.harvey

[CL 19847555 by nuno leiria in ue5-main branch]
2022-04-21 08:38:28 -04:00
axel riffard
e1a52bef2e Add iTunes download to Turnkey on Windows
#jira UE-143709
#rb jack.porter josh.adams
#preflight 62610c8fdd47b4ad21a18c04

[CL 19845401 by axel riffard in ue5-main branch]
2022-04-21 04:04:14 -04:00
axel riffard
9ff961eb63 Refactor TVOS Asset catalog : optional and required assets, assets generation, 4K Top Shelf support
#rb jack.porter
#jira UE-142880
#preflight 6260fff0731f07cd5cc325da

[CL 19845148 by axel riffard in ue5-main branch]
2022-04-21 03:11:45 -04:00