Commit Graph

1436 Commits

Author SHA1 Message Date
bob tellez
1e24e30ab3 [Backout] - CL23669350
[FYI] Bob.Tellez
Original CL Desc
-----------------------------------------------------------------
#UE Pak performance. Save IoStore response files in the Engine saved folder instead of the Logs folder so they are not considered logs for build systems that look for and process logs.

[CL 23671673 by bob tellez in ue5-main branch]
2023-01-12 18:36:19 -05:00
bob tellez
a920d38b88 #UE Pak performance. Save IoStore response files in the Engine saved folder instead of the Logs folder so they are not considered logs for build systems that look for and process logs.
[CL 23670619 by bob tellez in ue5-main branch]
2023-01-12 17:29:21 -05:00
gary yuan
b4c229eeb8 Fix ProjectName override bug in OpenEditor build command
Running ParseParamValue with a preset project path adds extra quotes to the output and breaks the IsPathRooted check

#rb eric.knapik, tim.kennedy
#preflight skip

[CL 23631773 by gary yuan in ue5-main branch]
2023-01-10 15:20:50 -05:00
andrew grant
a3993df7e7 BenchmarkBuild
- Fix profiling of -xge and -noxge in the same pass resulting in redundant compile steps (UE-173565)
- Make -noclean also imply -nopostclean
- Add support for -ubtargs / -ubt2args / -ubt3args etc to allow profiling of different UBT args (similar to -cookargs / -cook2args etc)

Ex -

RunUAT BenchmarkBuild -project=Unreal -client -compile -ubt2args="-nodebuginfo" -ubt3args="-nopch" -ubt4args="-disableunity" -noxge

Task Unreal Build Client Win64: 00:08:12
Task Unreal Build Client Win64 (-nodebuginfo): 00:07:41
Task Unreal Build Client Win64 (-nopch): 00:13:43
Task Unreal Build Client Win64 (-disableunity): 00:22:49


#jira UE-173565
#preflight none
#rb swarm
[REVIEW] [at]eric.knapik [at]henrik.karlsson

[CL 23616624 by andrew grant in ue5-main branch]
2023-01-09 13:22:13 -05:00
sergio gardeazabal
c1ec9b119c Adding a way to force compression during staging
#rb josh.adams , justin.marcus
#preflight 63b863ff68068a8bd6353273

[CL 23609354 by sergio gardeazabal in ue5-main branch]
2023-01-08 18:12:06 -05:00
gary yuan
510e3345d1 Make OpenEditor BuildCommand accept rooted overrides for UnrealEditorApp and Project paths instead of trying to find them using Host or Project utils.
#rb eric.knapik, tim.kennedy
#preflight 63b776e0763c6c1064d7fc65

[CL 23600847 by gary yuan in ue5-main branch]
2023-01-06 14:00:02 -05:00
Josh Adams
8aed66dd0c - Added MultiShelve UAT script that can shelve multiple changelists into a single shelf
- Added a Reopen command to P4Utils.cs
- Refactored Edit and Reopen (that take file list) into a BatchCommand function to split up huge file lists across multiple commands to respect a max commandline length
- Increased max comandline length from 1024 to the ProcessStartInfo max of 32699
#rb ryan.hummer,matt.peters
#preflight 63b59866d067708b9bfe3953

[CL 23575766 by Josh Adams in ue5-main branch]
2023-01-04 10:23:56 -05:00
chris babcock
ea7579b39b Fix for Android architecture for building plugins with binary builds
#jira UE-171247
#android
[REVIEW] [at]Josh.Adams
#rb Josh.Adams

#preflight n/a

[CL 23435231 by chris babcock in ue5-main branch]
2022-12-07 16:58:39 -05:00
Josh Adams
622efc4c0d - More Architecture cleanup
- Added UAT params to pass architecture by target type (-editorarchitecture, -clientarchitecture, -serverarchitecture, -programarchitecture). Keeping -specifiedarchitecture for compat, and it will set all the other 4 if they are not specified
- Changed ProjectGenerator to find Program .uproject files (logic was looking for .Target files under the .uproject's directory, which is not the case for Programs)
- Added two params to GetProjectArchitectures:
    - bGetAllSupported - used to get all supported architectures, not just the ones currently being built for (needed for XcodeProject to know what architectures to allow in the dropdown)
    - bIsDistributionMode - used to get architectures to compile when making distribution builds (probably want to compile all architectures for distro's)
- Removed the MacExports.TargetsAlowedForAppleSilicon, updated XcodeProject code to use the new GetProjectArchitectures()
#rb david.harvey
#jira none
#preflight 63909f217e0feab0b7bd8241

[CL 23428114 by Josh Adams in ue5-main branch]
2022-12-07 09:42:34 -05:00
Alexis Matte
8b8765cb61 Make sure InterchangeWorker is build by UGS and when we release it.
#jira UE-108125
#rb
#rnx
#preflight 638a0c194b2f03a7d7a812fd

[CL 23372363 by Alexis Matte in ue5-main branch]
2022-12-02 09:45:14 -05:00
josh adams
2bb7de64da - Added a new callback to staging that allow for finalization of staged files
- Added a default implementation of GetCookPlatform, which allows BuildCookRun to run without needing any platform-specific automation DLLs (cook and staging can happen, but running/packaging would still need the platform automation dlls)
#rb graeme.thornton
#preflight 637d2ed8f514e1ded91d417b

[CL 23244387 by josh adams in ue5-main branch]
2022-11-22 20:17:39 -05:00
Josh Adams
dabd16bc46 - Removed special case Android logic, because it was adding /arm64/ into the path that was being looked for with InstalledBuilds. This change was tested in 5.1 stream with Android plugins
#rb tested-live
#jira none
#preflight 6377f286cc307d6fa5d99c86

[CL 23205040 by Josh Adams in ue5-main branch]
2022-11-18 16:15:29 -05:00
axel riffard
9780d35625 WrangleContentForDebugging UAT command to prepare for debug iOS / tvOS
#rb josh.adams
#jira UE-162968
#preflight 637458b1232e3d12cb01b154

[CL 23150547 by axel riffard in ue5-main branch]
2022-11-15 22:39:50 -05:00
robert seiver
a37788fdd4 Fixes crash when PLINK or PSCP are inside of a folder path which contains a space
#preflight none
#rb Brandon.Schaefer

[CL 23141324 by robert seiver in ue5-main branch]
2022-11-15 15:17:02 -05:00
joe pribele
242962a719 added new macro UE_DISABLE_OPTIMIZATION_SHIP to replace PRAGMA_DISABLE_OPTIMIZATION
will deprecate `PRAGMA_DISABLE_OPTIMIZATION `in a following changelist after converting code to use `UE_DISABLE_OPTIMIZATION_SHIP`

added `UE_CHECK_DISABLE_OPTIMIZATION` to check for
`UE_DISABLE_OPTIMIZATION` being left in by accident

will enable `UE_CHECK_DISABLE_OPTIMIZATION` in a following changelist
#preflight 6372b159953c19d43537b088

[CL 23126725 by joe pribele in ue5-main branch]
2022-11-14 16:37:00 -05:00
robert seiver
11bba5ecda Fixed crash during run command when deploy to a Linux server. Fix verified using Lyra Game using ushell to build, stage, and deploy the server.
#review-23101439 @Brandon.Schaefer, @Zack.Neyland
#jira UE-139484
#preflight 636e8ebc5368a3230aace90b

[CL 23108107 by robert seiver in ue5-main branch]
2022-11-11 19:29:33 -05:00
Ryan Hummer
24c40b2cb8 Run p4 add with -f to re-add files with p4 wildcards in their name
#rnx
#jira none
#rb none
#preflight skip

[CL 23042581 by Ryan Hummer in ue5-main branch]
2022-11-08 17:57:41 -05:00
tim smith
258305973b Fixed issue where the default Android architectures would prevent plugins from being built.
#rb Josh.Adams
#jira UE-168654
#preflight 635bf7a9ae6840072d2a9759

[CL 22832224 by tim smith in ue5-main branch]
2022-10-28 13:40:34 -04:00
eric knapik
af484c9b88 #jira: none
Adding workflow to quickly launch client, server and editor

[REVIEW] [at]Gary.Yuan [at]Tim.Kennedy [at]Aidan.McInerny

[CL 22783333 by eric knapik in ue5-main branch]
2022-10-26 13:05:35 -04:00
joe pribele
98054c8907 [Automation] fix for CheckCsprojDotNetVersion giving an error for the UnrealVS test adapater project.
changed CheckCsprojDotNetVersion to ignore all projects under the UnrealVS direction vs project containing the name UnrealVS
#preflight 6356ecb5cb31f106cea9e0bb

[CL 22737004 by joe pribele in ue5-main branch]
2022-10-24 17:14:57 -04:00
gary yuan
48a9741292 Fix BuildCommand run with NoProject flag
#rb tim.kennedy
#preflight 63531e167261e565c49b202e

[CL 22712194 by gary yuan in ue5-main branch]
2022-10-22 15:36:33 -04:00
josh adams
30245001cf - Change Mac to use "dotnet msbuild" to compile C# programs with, instead of msbuild - dotnet is shipped with the engine so is always there. This is to fix builders building with xbuild which is deprecated and going away
- Removed unused MobileDeviceInterface
#jira UE-164616
#rb adam.kinge
#preflight 6352ccfee6096564af79599f

[CL 22693841 by josh adams in ue5-main branch]
2022-10-21 13:25:02 -04:00
josh adams
a7c8ca547e - Extended the "UnstagedRuntimeDependencies" concept for pulling only minimal files needed for platform (console mainly) cooking into a directory at stage time, called "CookerSupportFiles"
- It needs to have CookerSupportFilesSubdirectory passed in to BuildCookRun to activate (giving it the name of a subdirectory under the Staged directory to put the SDK files)
- it also writes a .bat file that can set the envvars needed for the minimal SDKs to be found by Unreal
#rb graeme.thornton
#preflight 634f1e9069246074dba2f09a
#p4v-cherrypick 22616289

[CL 22634717 by josh adams in ue5-main branch]
2022-10-19 15:11:10 -04:00
paul chipchase
de15bdda17 Add '-rehydrate' to .umap/.uasset files when creating a PakResponse file, if the '-rehydrate' command line was used.
#rb CarlMagnus.Nordin, Per.Larsson
#rnx
#preflight 63497178fd22d1fbdec55b2d

[CL 22595712 by paul chipchase in ue5-main branch]
2022-10-18 05:24:09 -04:00
gary yuan
f8270b3aed Fixes for OpenEditor BuildCommand to support inheritance, parameter passing to UnrealEditor and specification of different UnrealEditor using fully rooted path.
#rb eric.knapik
#preflight 63485e5957048bdb82c448c0

[CL 22536577 by gary yuan in ue5-main branch]
2022-10-14 18:01:55 -04:00