Commit Graph

3099 Commits

Author SHA1 Message Date
ben marsh
8563a90a7a BuildGraph: Ignore the PreflightChange argument, even if the BuildGraph script does not declare it as an option.
#rb none
#jira UE-112608

#ROBOMERGE-SOURCE: CL 15910076 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v786-15839533)

[CL 15910077 by ben marsh in ue5-main branch]
2021-04-03 15:52:26 -04:00
jonathan adamczewski
70ed64e369 Fix "Build Tools CS Mac" on Mac
RunUAT.sh:
Setup Mono environment on Mac and Linux so that AutomationTool is able to launch xbuild for CsCompile tasks that have not been transitioned to NET Core.
(Linux change is untested)

CsCompileTask.cs:
Don't add the "/restore" argument to command line when building using xbuild as it does not appear to be supported.

InstalledEngineBuild.xml:
Remove CsCompile invocations for UAT projects as these are currently not able to be compiled by UAT: CsCompile does not know how use the bundled dotnet to build NET Core projects, and [our bundled] mono does not support NET Core projects.

This file is consumed by AutomationTool, which is compiled by RunUAT.sh. As such, it can generally be assumed that the UAT build is up to date when the built files are consumed (InstalledEngineBuild.xml has directives to tag the AutomationTool files to ensure they are included.)

#jira UE-112471

[CL 15902338 by jonathan adamczewski in ue5-main branch]
2021-04-02 12:03:38 -04:00
axel riffard
6a19f2473b Fix Deploying when having numerous iOS / tvOS devices connected on Mac
#rb jack.porter
#jira UE-103878
#preflight 6065601ed84af600012802ef

#ROBOMERGE-SOURCE: CL 15886539 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v786-15839533)

[CL 15889646 by axel riffard in ue5-main branch]
2021-04-01 11:13:45 -04:00
robert srinivasiah
dad92ed5fd Hololens: Package missing IoStore files
Plus a little cleanup. Technically, IoStore can run w/o pak.

#rb Jeff.Fisher Ben.Marsh
#jira UE-99878

#ROBOMERGE-SOURCE: CL 15878917 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v786-15839533)

[CL 15878951 by robert srinivasiah in ue5-main branch]
2021-03-31 14:27:57 -04:00
Ryan Durand
10bcbb3b86 Harden code for finding shared file manifests.
#rnx
#rb none
#jira none

[CL 15860260 by Ryan Durand in ue5-main branch]
2021-03-30 08:58:10 -04:00
jonathan adamczewski
769279c0d9 Add plugin directories as search dirs for dynamic dependency resolution
When AutomationTool is built by RunUAT (or otherwise outside of UE5.sln), plugin dependencies are not copied to the AutomationTool.exe output dir. This change will ensure plugin output dirs will be searched for dependent assemblies.

#jira UE-103411

[CL 15855921 by jonathan adamczewski in ue5-main branch]
2021-03-29 17:55:13 -04:00
Andrew Grant
6b79000495 Fix various shortcomings with archiving builds via BuildCookRun
- Fixed issue where -archive did not work with -skippackage for several platforms.

- Modified behaviour of -archive -archivedirectory so <path> will only become <path>/<CookedPlatform> *IF* <path> does not already contain CookedPlatform or PlatformName

Both of these issues allow greater flexibility in build scripts.

Specifically the first allows -package and -archive to be performed in separate steps which is necessary for scripts that want to "do stuff" before archiving or have different per-platform logic before archiving.

The second gives scripts flexibility in selecing directory structures without adding unncessary components.

E.g. a script can now archive development builds to <BuildDir>/<Project>/PS4/Development/<Project>.pkg without it becoming <BuildDir>/<Project>/PS4/Development/PS4/<Project>.pkg

#jira nojira
#rb swarm
#review-15847235 @jeff.farris, @yuriy.odonnell @josh.adams @jeff.newquist

(Checked in prior to feedback due to being a prerequisite for some Frosty tests)

[CL 15848176 by Andrew Grant in ue5-main branch]
2021-03-28 22:50:39 -04:00
geoff evans
4e13a8c38c Disable shader distribution to fix timing out jobs.
We also don't want to distribute these workloads for data consistency reasons.

#jira UE-111525
#preflight /job/605d21c8afacb800016d95dc

#ROBOMERGE-OWNER: geoff.evans
#ROBOMERGE-AUTHOR: geoff.evans
#ROBOMERGE-SOURCE: CL 15836928 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v785-15821902)
#ROBOMERGE-CONFLICT from-shelf

[CL 15836991 by geoff evans in ue5-main branch]
2021-03-25 21:30:32 -04:00
axel riffard
229065504a DeploymentServer Deletion
#jira UE-103878 #rb Jack.Porter
#preflight 6059508a7d511a0001f910da

#ROBOMERGE-SOURCE: CL 15773943 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v783-15756269)

[CL 15785903 by axel riffard in ue5-main branch]
2021-03-23 17:57:06 -04:00
Andrew Grant
c5bf909801 Added option to BuildAndTestProject script to publish staged content
Cleaned up some options around paths to make it easier for scripts to customize them.
Fixed issue with GDKBuilds in Gauntlet where the build source was ignoring the specified recursion depth when searching

#jira nojira
#rb jeff.farris

[CL 15780860 by Andrew Grant in ue5-main branch]
2021-03-23 13:53:51 -04:00
Luke Thatcher
6bd0f41a33 Add platform option to disable the Manifest_*_.txt files in staged builds
- Some platforms don't make use of these files, so their generation is unnecessary.

#jira UE-103275
#rb Ben.Marsh

[CL 15771665 by Luke Thatcher in ue5-main branch]
2021-03-22 20:02:49 -04:00
brandon schaefer
1cd0ca4105 With new PLINK/PSCP, it seems PSCP requires a -P number, and doesnt default to 22 anymore. Update both just in case to assume 22
#jira UE-111341
#rb none
[FYI] Michael.Sartain

#ROBOMERGE-SOURCE: CL 15751031 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v781-15675533)

[CL 15754100 by brandon schaefer in ue5-main branch]
2021-03-20 06:47:46 -04:00
Marc Audy
0cbbc781ca Merge UE5/Release-Engine-Staging @ 15740152 to UE5/Main
This represents UE4/Main @ 15709114

[CL 15740605 by Marc Audy in ue5-main branch]
2021-03-18 15:20:03 -04:00
axel riffard
9b45d9e6de Fix spaces in path in engine #rb jack.porter #jira UE-109630
#ROBOMERGE-SOURCE: CL 15737254 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v781-15675533)

[CL 15738262 by axel riffard in ue5-main branch]
2021-03-18 11:29:58 -04:00
chris babcock
609ff357a7 Fix detection of Android Studio location
#jira UE-110854
#ue5
#android
#rb Jack.Porter

#ROBOMERGE-SOURCE: CL 15728127 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v781-15675533)

[CL 15728130 by chris babcock in ue5-main branch]
2021-03-17 14:42:53 -04:00
Jerome Delattre
7a6219c6df Editgrate cl 15716397
Fix Gauntlet App package deployement on Mac. Utils.SystemHelpers.IsNetworkPath returns always true on Mac. Because Path.GetRootPath gives the same root for any path on unix based system.
Revert to use the GetVolumeName and comparing the names.

#jira UE-109554, UE-109939
#rb none
#rnx

[CL 15716506 by Jerome Delattre in ue5-main branch]
2021-03-16 18:59:51 -04:00
Jerome Delattre
bcc733c7ad Move gathering telemetry output from UE to add them in Gauntlet report into Gauntlet/Unreal/Utils so it can be used on other Unreal test
#jira none
#rb Andrew.Grant
#rnx

[CL 15712747 by Jerome Delattre in ue5-main branch]
2021-03-16 13:04:56 -04:00
Ryan Durand
74a82706a9 Catch exceptions when scanning folders for folders that need to be deleted.
#rnx
#rb none
#jira none

[CL 15696383 by Ryan Durand in ue5-main branch]
2021-03-15 10:25:55 -04:00
David Harvey
38cb9a7d86 Plugin reference descriptors do not verify that the plugin's platforms names are known platforms. This means that the project will generate and build correctly even if a user doesn't have a particular platform extension synced.
#jira UE-108682
#rb josh.adams, ben.marsh

[CL 15694805 by David Harvey in ue5-main branch]
2021-03-15 06:00:55 -04:00
Sebastien Lussier
102ce82546 Added support for distributed World Partition HLOD generation
* Runs multiple steps on different machines
* Setup: Done on a single machine, will create/update/delete HLOD actors as required. The distributed setup step takes a "BuilderCount" argument, which will be used to write a build manifest that specify the work that needs to be done by the N builders
* Build: Performed on multiple machines, read work to be done from the build manifest
* Submit: Final step, perform on a single machine. Gather files modified in all the previous steps and submit them in a single changelist

Intermediary files that are created/modified/deleted are transfered between the jobs as build products, and submitted in the last step.

To run with UAT:
RunUAT.bat BuildGraph -Script=Collaboration\Frosty\Frosty\Build\FrostyHLOD.xml -Target="HLOD Generation" -set:MapName=YourMapName -set:HLODBuilderCount=N

To run steps individually:
* Setup (N = Builder count to use)
    YourProject YourMapName -run=WorldPartitionBuilderCommandlet -SCCProvider=Perforce -AllowCommandletRendering -Builder=WorldPartitionHLODsBuilder -SetupHLODs -DistributedBuild -BuilderCount=N
* Build (i from 0 to N-1):
    YourProject YourMapName -run=WorldPartitionBuilderCommandlet -SCCProvider=Perforce -AllowCommandletRendering -Builder=WorldPartitionHLODsBuilder -DistributedBuild -BuildHLODs -BuilderIdx=i
* Submit:
    YourProject YourMapName -run=WorldPartitionBuilderCommandlet -SCCProvider=Perforce -AllowCommandletRendering -Builder=WorldPartitionHLODsBuilder -DistributedBuild -SubmitHLODs


#fyi jeanfrancois.dube, richard.malo, vincent.beauchemin

[CL 15693777 by Sebastien Lussier in ue5-main branch]
2021-03-14 21:58:48 -04:00
ben marsh
ff498fd482 Fix incorrect hostname for PCB submit workspace.
#rb none
#rnx

#ROBOMERGE-SOURCE: CL 15685133 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v781-15675533)

[CL 15685153 by ben marsh in ue5-main branch]
2021-03-11 23:17:52 -04:00
ben marsh
d53e84576b Include a hash of the server address when creating a workspace for submitting binaries. Should fix issues with different edge servers being selected.
#rb none
#jira UE-109866

#ROBOMERGE-SOURCE: CL 15681548 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v781-15675533)

[CL 15684115 by ben marsh in ue5-main branch]
2021-03-11 21:31:36 -04:00
ben marsh
b4553ed744 Fix permission bits being reset by heurisitc that retrieves files from temp storage.
#rb none
#jira UE-109089

#ROBOMERGE-SOURCE: CL 15676777 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v781-15675533)

[CL 15676799 by ben marsh in ue5-main branch]
2021-03-11 11:19:28 -04:00
Luke Thatcher
eaea736558 Remove unused GetTitleSettings() function from PlatformFeatures.
Add "-originalreleaseversion" command line switch in UAT. This is required by some platforms for patching / updates.

#rb Jeff.Newquist, Ryan.Hairyes
#jira UE-103275

[CL 15676775 by Luke Thatcher in ue5-main branch]
2021-03-11 11:17:55 -04:00
Jerome Delattre
01a1d02940 Gauntlet - Avoid using deprecated json parser, use System.Text.Json instead
#jira none
#rb none
#rnx

[CL 15676046 by Jerome Delattre in ue5-main branch]
2021-03-11 09:42:08 -04:00