Commit Graph

145 Commits

Author SHA1 Message Date
Ben Marsh
cbb950c578 UBT: Use ILogger throughout UBT, rather than legacy EpicGames.Core.Log methods. All output going forwards should use structured logging rather than String.Format style logging.
#preflight 628e9dc6e746de4961f60032

[CL 20373777 by Ben Marsh in ue5-main branch]
2022-05-25 19:55:37 -04:00
Joe Kirchoff
c512a89ace Rename UnrealBuildTool.EngineSourceDirectory -> Unreal.EngineSourceDirectory
#rnx
#rb trivial
#preflight 628e9fdaf622d972b59ebe85

[CL 20372061 by Joe Kirchoff in ue5-main branch]
2022-05-25 17:54:39 -04:00
Joe Kirchoff
6c92065094 UnrealBuildTool: Merge various Clang ToolChainOptions enums
#rb none
#rnx
#preflight 62843567925bbe69df8dc8d4

[CL 20358298 by Joe Kirchoff in ue5-main branch]
2022-05-24 19:41:41 -04:00
dmytro vovk
1fc026af4b Fixed Android builds with NDK25
#jira none
#rb Chris.Babcock
#preflight 628ce503c97e4beea3a161a7

[CL 20347836 by dmytro vovk in ue5-main branch]
2022-05-24 10:15:43 -04:00
dmytro vovk
b35c633905 Update minSDKVersion to be higher or equal than NDK API version to prevent runtime DSO loading errors on Android
#rb Chris.Babcock
#jira UE-152621
#preflight 62857948571eb4bfb614e9fb

[CL 20270715 by dmytro vovk in ue5-main branch]
2022-05-18 19:08:42 -04:00
Joe Kirchoff
3ed8a895d6 UnrealBuildTool: Update clang toolchains (except Android) to fill a list of string arguments rather than returning a single string
#rb none
#rnx
#preflight 627ecada5a0a06a57ea881a1

[CL 20190395 by Joe Kirchoff in ue5-main branch]
2022-05-13 18:08:52 -04:00
Joe Kirchoff
e45cc77314 UnrealBuildTool: Move include path and preprocessor definition arguments to ClangToolChain virtual functions
#rb trivial
#rnx
#preflight 627c3f3e1e74993343ba1846

[CL 20153646 by Joe Kirchoff in ue5-main branch]
2022-05-11 19:14:13 -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
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
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
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
jonathan adamczewski
0a6164bbd3 nullability annotations, rethrow fixes, net6.0 warning suppression
#jira none
#trivial
#rnx
#preflight 62425155c61d8a458f230657

[CL 19536049 by jonathan adamczewski in ue5-main branch]
2022-03-28 20:50:06 -04:00
jonathan adamczewski
5c68d1d9ef Revert //UE5/Main/... changelist 19531725 - return to NET Core 3.1
#preflight 62422fd0470aff98e946bfce
#jira UE-119846

[CL 19534572 by jonathan adamczewski in ue5-main branch]
2022-03-28 18:25:19 -04:00
jonathan adamczewski
18ac15cbb1 Upgrade to .NET 6.0
#jira UE-119846
#preflight 6241fc06470aff98e943c035

[CL 19531725 by jonathan adamczewski in ue5-main branch]
2022-03-28 15:30:56 -04:00
dmytro vovk
d51a8c7d0b Wrap path cmd provided to clang into quotes to fix issue with path containing whitespaces
#jira UE-146631
#rb trivial
#preflight 623ca1b39f11d3c73944326c

[CL 19498182 by dmytro vovk in ue5-main branch]
2022-03-24 13:11:29 -04:00
dmytro vovk
8cc82453a7 Hide all exportable symbols on Android, except the ones called from Java
#rb Chris.Babcock
#jira none

#ushell-cherrypick of 19397674 by dmytro.vovk
#preflight 62311900f97ce4a80378cfc5

[CL 19398259 by dmytro vovk in ue5-main branch]
2022-03-15 19:10:08 -04:00
dmytro vovk
7c59ab907f Fixed client crash at FAndroidOpenGLFramePacer::InitSwappy
[REVIEW] [at]peter.sauerbrei, [at]chris.babcock
#rb trivial

#localization none
#tests tested locally

#ROBOMERGE-AUTHOR: dmytro.vovk
#ROBOMERGE-SOURCE: CL 19273104 via CL 19273156 via CL 19273191 via CL 19275273 via CL 19279275 via CL 19294478
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v926-19321884)

[CL 19345058 by dmytro vovk in ue5-main branch]
2022-03-10 19:37:49 -05:00
arne schober
f1dfec810d REL - Consolidate Coroutine compiler switches
#preflight 61eb2a6bc557ec200193db0d

#ROBOMERGE-AUTHOR: arne.schober
#ROBOMERGE-SOURCE: CL 18701113 in //UE5/Release-5.0/... via CL 18701116 via CL 18701155
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18701160 by arne schober in ue5-main branch]
2022-01-21 22:42:24 -05:00
jonathan adamczewski
65f389b113 UBT: Add minimal C++ coroutine support
#jira none
#preflight 61e851d4b875abaf3325e52a

#ROBOMERGE-AUTHOR: jonathan.adamczewski
#ROBOMERGE-SOURCE: CL 18663529 in //UE5/Release-5.0/... via CL 18663561 via CL 18663611
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v900-18638592)

[CL 18663658 by jonathan adamczewski in ue5-main branch]
2022-01-19 15:08:30 -05:00
joe kirchoff
4e33f5de4e UnrealBuildTool: Suppress new clang 13 warnings
RHI: fix unresolved exports

Clang 13 needs RHI_API on the class template definitions to match the declarations. Unsure if this is a regression for Clang 13 or due to some other reason, but adding them doesn't negatively affect any other compile targets.

#rnx
#rb trivial
#preflight 61d4a9826511bc498e3cc6ec

#ROBOMERGE-AUTHOR: joe.kirchoff
#ROBOMERGE-SOURCE: CL 18512106 in //UE5/Release-5.0/... via CL 18512119
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669)

[CL 18512138 by joe kirchoff in ue5-release-engine-test branch]
2022-01-04 15:24:31 -05:00
joe kirchoff
cdedc71084 UnrealBuildTool: Initial support for Clang 13
Hack to workaround clang-cl bug in LC_StringUtil.cpp is finally no longer necessary with Clang 13

Outstanding Issues:
Unresloved externals in ClangEditor (FRHI*)
error: ordered comparison of function pointers ('Electra::fastdelegate::DelegateMemento::GenericFuncPtr' (aka
    'void (*)()') and 'Electra::fastdelegate::DelegateMemento::GenericFuncPtr') [-Werror,-Wordered-compare-function-
    pointers]

#rnx
#rb none
#preflight 61d33dff932a02483cb454bc

#ROBOMERGE-AUTHOR: joe.kirchoff
#ROBOMERGE-SOURCE: CL 18503088 in //UE5/Release-5.0/... via CL 18503149
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669)

[CL 18503159 by joe kirchoff in ue5-release-engine-test branch]
2022-01-03 15:42:39 -05:00
dmytro vovk
ee828be572 Link with static libc++ on Android
#rb Chris.Babcock
#jira UE-131966

#ROBOMERGE-AUTHOR: dmytro.vovk
#ROBOMERGE-SOURCE: CL 18347907 via CL 18348300 via CL 18348354 via CL 18348403 via CL 18348660 via CL 18348690
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18348716 by dmytro vovk in ue5-release-engine-test branch]
2021-12-01 21:20:51 -05:00
chris babcock
0dd19bd2bd Remove patching of cpu-features.c now that ARMv7 no longer supported
#jira UE-136251
#android
[at]Jack.Porter
#rb Jack.Porter


#ROBOMERGE-AUTHOR: chris.babcock
#ROBOMERGE-SOURCE: CL 18325701 via CL 18325708 via CL 18325720 via CL 18327271 via CL 18327347
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18327411 by chris babcock in ue5-release-engine-test branch]
2021-11-30 13:05:44 -05:00
carl lloyd
b04dec9964 Made ES 3.2 a requirement for OpenGL on Android
#rb Allan.Bentham

#ROBOMERGE-AUTHOR: carl.lloyd
#ROBOMERGE-COMMAND: FNMain
#ROBOMERGE-SOURCE: CL 18293704 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v895-18170469)
#ROBOMERGE[STARSHIP]: UE5-Release-Engine-Staging Release-5.0
#ROBOMERGE[bot1]: Main

[CL 18293711 by carl lloyd in ue5-release-engine-test branch]
2021-11-25 06:58:08 -05:00