* Enabled uba for linux lto builds. It was disabled half a year ago because we saw some long link times. Lots of fixes have gone in

[CL 35758141 by henrik karlsson in ue5-main branch]
This commit is contained in:
henrik karlsson
2024-08-22 18:24:38 -04:00
parent 3d4f30025a
commit ea0c02182c

View File

@@ -1174,9 +1174,6 @@ namespace UnrealBuildTool
LinkAction.CommandDescription = "Link";
}
// Saw a 6 hour link time potentially caused by box. Will disable for now and revisit later
LinkAction.bCanExecuteInUBA = !LinkEnvironment.bPGOProfile && !LinkEnvironment.bPGOOptimize && !LinkEnvironment.bAllowLTCG;
if (!OperatingSystem.IsWindows())
{
LinkAction.bCanExecuteInUBA = false; // Linker on native linux uses vfork/exec which is not handled in uba right now