Commit Graph

106 Commits

Author SHA1 Message Date
josh adams
5aebac6a37 - Restored a line of code I mistakenly commented out
#rb trivial

#ROBOMERGE-SOURCE: CL 15339825 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v771-15082668)

[CL 15339856 by josh adams in ue5-main branch]
2021-02-05 14:02:15 -04:00
josh adams
bb840da0d3 - Made lack of UBT during AutoSDK setup a warning instead of Fatal
#jira UE-107707
#rb trivial

#ROBOMERGE-SOURCE: CL 15339817 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v771-15082668)

[CL 15339855 by josh adams in ue5-main branch]
2021-02-05 14:02:11 -04:00
Josh Adams
9917fea471 - Removed some "Win32" string references
#rb marc.audy

[CL 15285524 by Josh Adams in ue5-main branch]
2021-02-02 18:12:48 -04:00
Josh Adams
e6840fefc7 - Fixed UFE not starting - will re-think TUrnkey module stuff so UFE can get the benefits
#rb trivial
#jira UE-103129

[CL 14758428 by Josh Adams in ue5-main branch]
2020-11-16 16:46:49 -04:00
danny couture
8f88f4a055 Add some useful Insights trace
#rb Francis.Hurteau

[CL 14487717 by danny couture in ue5-main branch]
2020-10-13 21:04:47 -04:00
Josh Adams
da0c420beb - Refactored more Turnkey stuff into TurnkeySupportModule (moved stuff out of DDPI, etc)
- Also fixed a crash or two
#jira UE-100139

[CL 14430260 by Josh Adams in ue5-main branch]
2020-10-06 11:46:54 -04:00
Marcus Wassmer
3b81cf8201 Merging using //UE5/Main_to_//UE5/Release-Engine-Staging @14384769
autoresolved files
#rb none

[CL 14384911 by Marcus Wassmer in ue5-main branch]
2020-09-24 00:43:27 -04:00
Josh Adams
d0daf0380c - Moved valid device software (flash) versions into UEBuildPlatformSDK subclasses to put alongside the SDK version, and made them min-max
- General fixes for some platforms
- DDPI now remembers the SDK version information from Turnkey
- Updated Turnkey Launch menu to have SDK information, including device software versions,
- Moved the initial turnkey query earlier before AutoSDKs are setup so envvars are not blown away for the child process
- Added concept of "Prepare For Debugging", but not enabled on any platforms yet (what it means is per platform, and is somewhere between cooking and packaging)
- VerifySdk Turnkey command now puts its output into a (x=y, z=w) format for easier parsing in C++
- NullCopyProvider now copies large remote files, and remote directories, locally before using

[CL 14377385 by Josh Adams in ue5-main branch]
2020-09-23 11:47:14 -04:00
Josh Adams
5f27a8dbcb [Upgrade Notes Critical! Licensee build scripts and DeviceProfiles may need updating]
- Formalizing all TargetPlatforms to have a Client version, rename WindowsNoEditor to Windows, and removing DDPI specification of TargetPlatforms, and generate them programmatically
- Updated names DeviceProfiles and Build scripts, as above
- Some PlatformInfo class cleanup
- Added a TNonDesktopTargetPlatformBase class to make most TargetPlatforms simpler
- Added "No Compiled Support" to the Turnkey LaunchOn menu when the TargetPlatforms aren't compiled in (to show that even if you install an SDK, you will need to compile before you can LaunchOn)\
- Starting the transition away from PlatformInfo::FPlatformInfo to FDDPI

[CL 13966487 by Josh Adams in ue5-main branch]
2020-07-29 16:19:10 -04:00
Josh Adams
94f4be4de1 - Renamed PlatformInfo::FPlatformInfo to PlatformInfo::FTargetPlatformInfo
- Renamed FDataDrivenPlatformRegistry::FPlatformInfo to FDataDrivenPlatformInfo
- Moved some fields from PlatformInfo::FTargetPlatformInfo to FDataDrivenPlatformInfo, and cleaned them up in the process
- Fixed the DataDrivePlatformInfo.ini files to match the previous items
- Removed FVanillaPlatformEntry, and now just using FTargetPlatformInfo to manage flavors under a vanilla PlatformInfo (see PlatformInfo::GetVanillaPlatformInfoArray())
- Cleaned up TPerPlatformValue, as it was often misused (took a group and platform name, but we can get the group from the platform name) [AnimationSharingManager.cpp, *Engine.cpp, Runtime\Engine\*, ]
- Fixed FBlueprintNativeCodeGenPaths::GetDefaultCodeGenPaths() to use IniPlatformName instead of some hacky code [BlueprintNativeCodeGenManifest.cpp]
- Fixed various Turnkey bugs that recent testing exposed
- Enabled AUTOSDKS_ENABLED in both Mac and Linux on the Editor side (not that there are much set up to use it)
- Using Turnkey to get the SDK status instead of ValidatePlatforms (gives more detailed information - may want to go back to ValidatePlatforms so only UBT is needed, but change it to give more info)
- Moved OnDeviceDiscovered and Lost delegates from each platform's TargetPlatform class to a static in ITargetPlatform - there was no need for per-platform implementations
- Started working on allowing for SDK to be installed with editor running and not need to restart editor - Work in Progress! It is not usable yet.
#fyi jack.porter
#rb pete.sauerbrei

[CL 13816905 by Josh Adams in ue5-main branch]
2020-07-01 17:07:12 -04:00
Josh Adams
a54c560436 - Delayed Turnkey SDK querying until later so it can check if it's a commandlet, in which case it won't call UAT since UAT could be calling the commandlet
- Added a helper function that can take a commandline and modify it for the three host platforms (add .bat/.sh, run a .exe through mono, etc) to reduce the mess of if WINDOWS / elif MAC / etc stuff
#fyi ben.marsh
#jira UE-94574

[CL 13752957 by Josh Adams in ue5-main branch]
2020-06-23 18:19:31 -04:00
Josh Adams
ccc1743281 - Big TargetPlatform Module cleanup:
- Removed the function to return a single TP, and wrapped the functionality in a simple single required function (platform just has to add TPs to an array, high level code manages init and cleanup of the array)
  - Stripped unncessary code from all TPs
  - Collapsed the desktop targetplatform modules into 1 per platform
  - Renamed LinuxAArch64NoEditorTargetPlatfortm to LinuxAArch64TargetPlatform to match the other non-editor platforms
  - Deleted AllDesktopPlatform

[CL 13502803 by Josh Adams in ue5-main branch]
2020-05-22 09:57:29 -04:00
lukas hermanns
bea73c96fa Skip "AllDesktop" platform properties as it will be removed soon and causes shader map keys to differ between game and editor modes.
#rb Arciel.Rekman
[FYI] Ben.Ingram, Josh.Adams, Rolando.Caloca
#jira UE-90852
#rnx

#ROBOMERGE-SOURCE: CL 12474319 in //UE4/Release-4.25/... via CL 12474324 via CL 12474328
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v672-12450963)

[CL 12474332 by lukas hermanns in Main branch]
2020-03-27 16:02:53 -04:00
Devin Doucette
e8ba41d54f Changed FStringView parameters to virtual functions to pass by value instead of by reference
This is the preferred way to use string views. These interfaces were added in 4.25 so this is the time to fix them without breaking user code.

#jira none
#rb trivial
#rnx

#ROBOMERGE-OWNER: Devin.Doucette
#ROBOMERGE-AUTHOR: devin.doucette
#ROBOMERGE-SOURCE: CL 12236111 in //UE4/Release-4.25/... via CL 12236115
#ROBOMERGE-BOT: RELEASE (Release-4.25Plus -> Main) (v664-12234175)

[CL 12238549 by Devin Doucette in Main branch]
2020-03-17 22:32:03 -04:00
max whitehead
19b76ff6e1 Remove PhysX module when using Chaos, Guard PhysX code in PHYSICS_INTERFACE_PHYSX so Chaos compiles without it.
Change WITH_PHYSX to always be defined, even with chaos only.
Make Client/Server targets only disable PhysX when Chaos is enabled.
#rb michael.lentine


#ROBOMERGE-OWNER: max.whitehead
#ROBOMERGE-AUTHOR: max.whitehead
#ROBOMERGE-SOURCE: CL 11877480 via CL 11877967 via CL 11878038
#ROBOMERGE-BOT: (v656-11643781)

[CL 11888569 by max whitehead in Main branch]
2020-03-03 17:06:00 -05:00
anthony bills
2c36892c2e Check if the platform's ini name is valid (not empty) before trying to load the target platform module.
If the platform's ini name is empty and it drops down to using [IniName]+TargetPlatform it will try to recursively load TargetPlatform.
This can happen in cases where the AllDesktopTargetPlatform module is not available.

#rb david.harvey
#jira UE-86383
#lockdown nick.penwarden

#ROBOMERGE-OWNER: robert.manuszewski
#ROBOMERGE-AUTHOR: anthony.bills
#ROBOMERGE-SOURCE: CL 10928127 in //UE4/Release-4.24/... via CL 10928128
#ROBOMERGE-BOT: CORE (Main -> Dev-Core) (v632-10940481)

[CL 10955609 by anthony bills in Dev-Core branch]
2020-01-13 15:46:43 -05:00
anthony bills
2e863277c1 Check if the platform's ini name is valid (not empty) before trying to load the target platform module.
If the platform's ini name is empty and it drops down to using [IniName]+TargetPlatform it will try to recursively load TargetPlatform.
This can happen in cases where the AllDesktopTargetPlatform module is not available.

#rb david.harvey
#jira UE-86383
#lockdown nick.penwarden

#ROBOMERGE-SOURCE: CL 10928127 in //UE4/Release-4.24/...
#ROBOMERGE-BOT: RELEASE (Release-4.24 -> Main) (v626-10872990)

[CL 10928128 by anthony bills in Main branch]
2020-01-09 12:05:33 -05:00
ryan durand
84e0b188d8 Updating copyright for Engine Developer.
#rnx
#rb none

#ROBOMERGE-OWNER: robert.manuszewski
#ROBOMERGE-AUTHOR: ryan.durand
#ROBOMERGE-SOURCE: CL 10869240 via CL 10869516 via CL 10869902 via CL 10870584
#ROBOMERGE-BOT: CORE (Main -> Dev-Core) (v626-10872990)

[CL 10897060 by ryan durand in Dev-Core branch]
2020-01-07 15:07:57 -05:00
devin doucette
057a9d453e Optimize FindTargetPlatform and its most expensive caller during cooking
This reduced the cost of the function by 91% while cooking both a large title and a small sample project. The wall time saved on the large title that was tested was 42.4 seconds.

#rb Zousar.Shaker

[CL 10884029 by devin doucette in Dev-Core branch]
2020-01-06 16:53:23 -05:00
ryan durand
471d972e62 Updating copyright for Engine Developer.
#rnx
#rb none


#ROBOMERGE-SOURCE: CL 10869240 via CL 10869516 via CL 10869902
#ROBOMERGE-BOT: (v613-10869866)

[CL 10870584 by ryan durand in Main branch]
2019-12-26 15:32:37 -05:00
Stefan Boberg
d2f9a61b06 Copy-up from Dev-Core
#rb none

[CL 10419044 by Stefan Boberg in Main branch]
2019-11-25 12:03:09 -05:00
Zousar Shaker
1555711215 Handle an invalid platform passed to the cook commandlet without a fatal assert.
#jira UE-78969
#rb Martin.Ridgers

[CL 10081929 by Zousar Shaker in Dev-Core branch]
2019-11-08 08:29:04 -05:00
Michael Sartain
e6e5a2506d Add LinuxAArch64Server and LinuxAArch64Client build targets
Cherry pick 9427927

#rb Brandon.Schaefer
#jira none

[CL 9618959 by Michael Sartain in 4.24 branch]
2019-10-16 11:53:16 -04:00
Ben Marsh
b6039a9873 Merging //UE4/Dev-Main to Dev-Build (//UE4/Dev-Build)
#rb none
#rnx

[CL 9419420 by Ben Marsh in Dev-Build branch]
2019-10-04 11:20:44 -04:00
Stefan Boberg
1f813eb516 Copying //UE4/Dev-Core to Main (//UE4/Main)
#rb many

[CL 9405827 by Stefan Boberg in Main branch]
2019-10-03 16:26:48 -04:00