Commit Graph

57 Commits

Author SHA1 Message Date
David Harvey
684d168454 Remove HoloLens platform references from UnrealBuildTool.
#jira UE-149794
#rnx
#rb Jeff.Fisher
#preflight 628f4064f622d972b5ca0202

[CL 20377314 by David Harvey in ue5-main branch]
2022-05-26 05:57:47 -04:00
Ben Marsh
e3aa053269 UBT: Fix exception getting resource compiler path.
#preflight none

[CL 20373999 by Ben Marsh in ue5-main branch]
2022-05-25 20:15:36 -04:00
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
jonathan adamczewski
c1bb6901bf Upgrade to .NET 6.0
#jira UE-119846
#preflight 624cbb2ecc0872e96b0d5181

[CL 19652696 by jonathan adamczewski in ue5-main branch]
2022-04-06 14:46:50 -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
joe kirchoff
bf425d27a0 UnrealBuildTool: Fix BuildException string format when the MSVC arm64 toolchain is needed and isn't installed
#rnx
#rb trivial
#preflight none

#ROBOMERGE-AUTHOR: joe.kirchoff
#ROBOMERGE-SOURCE: CL 18679441 in //UE5/Release-5.0/... via CL 18679453 via CL 18679463
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v902-18672795)

[CL 18680743 by joe kirchoff in ue5-main branch]
2022-01-20 16:00:07 -05:00
jeff fisher
c1958b0acd UE-136919 //UE5/Main - Compile UnrealGame HoloLens - No required compiler toolchain found
-The build machine was trying to use a locally installed toolchain that did not have the arm64 toolchain installed.
-We now identify toolchains with arm64 support and select from only those for arm64 builds.
#rb Joe.Kirchoff, Josh.Adams
#jira UE-136919
#preflight

#ROBOMERGE-AUTHOR: jeff.fisher
#ROBOMERGE-SOURCE: CL 18665835 in //UE5/Release-5.0/... via CL 18665840 via CL 18665864
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v901-18665521)

[CL 18665888 by jeff fisher in ue5-main branch]
2022-01-19 16:20:07 -05:00
joe kirchoff
0194a54d62 UnrealBuildTool: Remove GetVCToolPath logic to find cl.exe for old versions of visual studio
#rnx
#rb trivial
#preflight 61e20287cc34838d2e69faca

#ROBOMERGE-AUTHOR: joe.kirchoff
#ROBOMERGE-SOURCE: CL 18625125 in //UE5/Release-5.0/... via CL 18625131 via CL 18625140
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v899-18417669)

[CL 18625146 by joe kirchoff in ue5-main branch]
2022-01-14 18:23:49 -05:00
joe kirchoff
400c245fab UnrealBuildTool: Experimental support for Intel OneAPI compiler
Current Issues:
* Compiles without pch: error: reference to 'align_val_t' is ambiguous
* Unresolved externals when building UnrealGame & Editor

#jira UE-121578
#rnx
#preflight 61ddb4b89b2dd4f66b7520ea

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

[CL 18573522 by joe kirchoff in ue5-release-engine-test branch]
2022-01-11 12:08:20 -05:00
joe kirchoff
e91288e2ca Set minimum Visual Studio version to 2019 v16.11.5, toolchain 14.29.31033
Set minimum Clang version to 10.0.0

This will enable the use of newer compiler flags such as increasing the max PDB size past 4GBs by default, using compiler generated dependency lists, and to clean up now unneeded older version checks before releasing UE5.

#jira UE-96200
#jira UE-101933
#jira UE-136980
#jira UE-137707
#preflight 61dcd03ecc3f3367af798913

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

[CL 18567585 by joe kirchoff in ue5-release-engine-test branch]
2022-01-10 19:46:52 -05:00
joe kirchoff
b6632f8631 UnrealBuildTool: lld-link.exe should only be used to link binaries, not libraries, when enabled on clang
#rnx
#rb trivial
#preflight 61d76bc881634832b012aaa3

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

[CL 18536997 by joe kirchoff in ue5-release-engine-test branch]
2022-01-06 17:37:31 -05:00
joe kirchoff
e5daf98c43 UnrealBuildTool: Remove support for Intel compiler. A future change may readd support for Intel's new oneAPI compiler
#jira UE-138519
#preflight 61d7407b34785a82bb8c23a1
#rb jonathan.adamczewski

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

[CL 18536031 by joe kirchoff in ue5-release-engine-test branch]
2022-01-06 16:22:44 -05:00
joe kirchoff
08cebf3c6e UnrealBuildTool: Replace Compiler >= WindowsCompiler.VisualStudio2019 with Compiler.IsMSVC() extension function
#rnx
#rb jonathan.adamczewski
#preflight 61d6228f4c252480ca1fef34

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

[CL 18526242 by joe kirchoff in ue5-release-engine-test branch]
2022-01-05 18:15:00 -05:00
aurel cordonnier
a6e741e007 Merge from Release-Engine-Staging @ 17915896 to Release-Engine-Test
This represents UE4/Main @17911760, Release-5.0 @17915875 and Dev-PerfTest @17914035

[CL 17918595 by aurel cordonnier in ue5-release-engine-test branch]
2021-10-25 20:05:28 -04:00
joe kirchoff
c46a4af3c5 UnrealBuildTool: Remove support for VS2017
#jira UE-126521
#rb Jonathan.Adamczewski
#preflight 6144ffdb11925a000119cac6

#ROBOMERGE-AUTHOR: joe.kirchoff
#ROBOMERGE-SOURCE: CL 17559611 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v870-17433530)

[CL 17559616 by joe kirchoff in ue5-release-engine-test branch]
2021-09-17 18:25:11 -04:00
jonathan adamczewski
223a11ee71 UnrealBuildTool
Adding "using UnrealBuildBase" to some files (submitted separately to make subsequent CLs smaller)

#jira none
#trivial

#ROBOMERGE-SOURCE: CL 16657799 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v833-16641396)

[CL 16657806 by jonathan adamczewski in ue5-release-engine-test branch]
2021-06-14 09:25:41 -04:00
Joe Kirchoff
9879d7f52d UnrealBuildTool: Support VS2022 Preview
Default is still VS2019, running `GenerateProjectFiles.bat -2022` will create a solution and projects that pass -2022 to UnrealBuild tool when compiling from Visual Studio to force it to use the 2022 toolchain.
Please note, as the defaults are unchanged building from UnrealGameSync will still compile with VS2019 so I would disable that build if testing VS2022.
None of this is necessary to use VS2022, it can open VS2019 solutions and will use the Vs2019 toolchain to build.

#rb Ben.Marsh
#pf 60aebccd7d4b9f0001197729

[CL 16478477 by Joe Kirchoff in ue5-main branch]
2021-05-26 19:58:10 -04:00
Joe Kirchoff
75edf837e1 Remove build support for Visual Studio 2015
#rb Jonathan.Adamczewski
#preflight 60ad7f3b8194e700015e1d77

[CL 16459038 by Joe Kirchoff in ue5-main branch]
2021-05-25 20:10:26 -04:00
Ben Marsh
bc47b15e06 Merge utility library changes from GitSync.
[CL 16135807 by Ben Marsh in ue5-main branch]
2021-04-27 22:41:48 -04:00
Ben Marsh
2b928c3190 Use the legacy Visual Studio headers when building with Clang.
Latest version has some issues: https://developercommunity.visualstudio.com/t/bug-in-compiling-std-with-clan-clang-cl-in-latest/1168772

#rb none
#jira UE-110668

[CL 15711432 by Ben Marsh in ue5-main branch]
2021-03-16 10:59:15 -04:00
Josh Adams
b0e4357576 - UBT Code changes to remove 32-bit Windows support (C++ code for 32-bit still exists)
#rb marc.audy (concept, not each file)

[CL 15265424 by Josh Adams in ue5-main branch]
2021-01-31 15:09:58 -04:00
Josh Adams
700dc86148 - Improved Windows SDK detection - moved functionality from UEBuildWindows.cs to MicrosoftPlatformSDK.cs so Turnkey "installed sdk" uses the same function that UBT will use to choose the SDK from a list of preferred SDKs, with fallbacks to other locations.
- Windows allows for any SDK to be used without updating Env vars, etc, so we don't really need a strict single "InstalledVersion" - we dynamically choose a version every run of UBT, and now Turnkey will match this logic
- Added device detection to Turnkey for Windows
#rb david.harvey,chris.waters

[CL 14995008 by Josh Adams in ue5-main branch]
2021-01-05 17:06:07 -04:00
Ben Marsh
6f927647b1 Changing C# code over to using EpicGames.Core over DotNETCommon.
#rb none
#rnx

[CL 14962096 by Ben Marsh in ue5-main branch]
2020-12-21 23:07:37 -04:00
Ben Marsh
1e9946779e UBT: Fix up a few more nullable references.
#rb none
#rnx

[CL 14960616 by Ben Marsh in ue5-main branch]
2020-12-20 20:07:40 -04:00