Commit Graph

352 Commits

Author SHA1 Message Date
slonopotamus
641c92c269 Refactor FGenericPlatformOutputDevices::SetupOutputDevices code just a little so that we don't have to suffer code rot in a custom linux implementation
#jira UE-166583
#PR 9643
#9643
#rb [at]Brandon.Schaefer
#presubmit 657a2209be1cfc2f95b29cb7

[CL 30375011 by slonopotamus in ue5-main branch]
2023-12-18 09:16:15 -05:00
henrik karlsson
914feb7872 Undo change that enable uba for linux native until we have tracked down an intermittent bug (section header table goes past the end of the file: e_shoff = 0x10fc9b8)
[CL 30055448 by henrik karlsson in ue5-main branch]
2023-12-01 17:02:55 -05:00
henrik karlsson
c15ff0f3cc [UBA]
* Fixed bug finding correct binaries in uba horde session logic
* Linux binaries of uba

[CL 30033411 by henrik karlsson in ue5-main branch]
2023-12-01 03:04:55 -05:00
henrik karlsson
efdc60d761 [UBT]
* Disabled uba for linking on linux. vfork/exec is not supported right now and we will push this support  in front of us (since remote linking is disabled either way)

[CL 29859811 by henrik karlsson in ue5-main branch]
2023-11-21 01:04:42 -05:00
brandon schaefer
0d1c2b7cd9 Remove AutoRTFM suffix when AutoRTFM is enabled
#rb Brandon.Schaefer

[CL 29718074 by brandon schaefer in ue5-main branch]
2023-11-14 13:05:13 -05:00
joe kirchoff
a539e87e0b UnrealBuildTool: Rename Posix group to PosixOS
#rnx

[CL 29660060 by joe kirchoff in ue5-main branch]
2023-11-10 18:14:33 -05:00
joe kirchoff
74ad522d1b UnrealBuildTool: Add Posix platform group which includes Linux and Mac platforms
[CL 29659271 by joe kirchoff in ue5-main branch]
2023-11-10 17:59:16 -05:00
joe kirchoff
73a6de9a05 UnrealBuildTool: Box -> UBA. Command line args are doubled up until all usage can be updated
#rnx

[CL 29570778 by joe kirchoff in ue5-main branch]
2023-11-08 14:48:41 -05:00
joe kirchoff
a204c6ad35 UnrealBuildTool: Fix issue preventing PGO from running against a target without a project
#rnx

[CL 28643719 by joe kirchoff in ue5-main branch]
2023-10-10 18:40:01 -04:00
joe kirchoff
d6b2c9077a UnrealBuildTool: Support emiting line tables only for debugging rather than disabling debug info entirely
Configuration is the same as TargetRules.DebugInfo and will override that setting except when debug info is disabled for the entire target

[CL 28558101 by joe kirchoff in ue5-main branch]
2023-10-06 17:13:05 -04:00
joe kirchoff
6638bbba8b UnrealBuildTool: Use IEnumerable for list of toolchain input lists that should be immutable
#rnx

[CL 28484575 by joe kirchoff in ue5-main branch]
2023-10-04 20:25:45 -04:00
henrik karlsson
e273ded9f5 [UBT]
* Disabled box for pgooptimized link actions for now just to rule out if long link time is because of box

[CL 28324916 by henrik karlsson in ue5-main branch]
2023-09-28 14:42:45 -04:00
daniel lamb
3e286ea58e Linux can now be cooked on windows platforms without the sdk installed.
Added override cook platform for use by content beacon to the datadrivenplatforminfo.
[REVIEW] [at]Josh.Adams

[CL 28223391 by daniel lamb in ue5-main branch]
2023-09-26 09:13:27 -04:00
Jeff Fisher
7cbd26bb52 Delete OpenVR from Engine\Source\ThirdParty, it has not been used in some time.
-OpenVR has been essentially replaced by OpenXR at this point and this third party source is no longer in use.
#review-27792355
#rb Jules.Blok

[CL 27794345 by Jeff Fisher in ue5-main branch]
2023-09-12 11:53:04 -04:00
arciel rekman
be5603a566 UBT: change Linux PGO to use new code placement algo (extnended TSP).
- Expected to bring more icache-friendly code placement, especially for large binaries (https://reviews.llvm.org/D113424)
- Reportedly not default in lld because some synthetic benchmarks were regressed.
- Suggested by Neil.Henning

#rb NeilH (suggested)

[CL 27450033 by arciel rekman in ue5-main branch]
2023-08-29 11:46:30 -04:00
joe kirchoff
40521adeca Clang static analysis requires unity builds to be disabled
#rnx

[CL 27329915 by joe kirchoff in ue5-main branch]
2023-08-23 20:33:44 -04:00
brandon schaefer
0630515e82 GetMainVersion now requires a registered platform, which only can be done from the Linux SDK that was first registered. Current StripSymbols was making a new LinuxPlatformSDK which wont be registered and fails getting the MainVersion
Now we will use the existing LinuxPlatfromSDK or if doesn't exist make a new one and correctly register it

#jira UE-193418
#rb Josh.Adams, Zack.Neyland

[CL 27323816 by brandon schaefer in ue5-main branch]
2023-08-23 17:56:35 -04:00
arciel rekman
cb5b870cfc UBT: Add AVX arch support to Linux toolchains.
#rb Brandon.Schaefer, Joe.Kirchoff
[REVIEW] [at]Brandon.Schaefer, [at]Joe.Kirchoff
#rnx

[CL 27251505 by arciel rekman in ue5-main branch]
2023-08-21 15:58:31 -04:00
arciel rekman
0f975e6c71 Add a way to soft-disable PGO during a build.
- Sometimes PGO data gets stale and can needs to be removed (until a new one is collected) because it can even break the build. Instead of changing the build scripts each time when such an update process happens, add a way for UBT to silently ignore non-existent PGO data (when the file exists but has 0 size).

#rb Josh.Adams
[REVIEW] [at]Josh.Adams
#rnx

[CL 27071828 by arciel rekman in ue5-main branch]
2023-08-14 11:37:00 -04:00
joe kirchoff
22cdb0b04a UnrealBuildTool: Clean up IsBuildMachine checks
#rnx

[CL 27019595 by joe kirchoff in ue5-main branch]
2023-08-10 20:59:28 -04:00
bryan sefcik
ca12a1a2e0 Cleaned up the project generator API by passing a struct of commonly used arguments. This makes it easier for us to add/remove arguments.
#rb joe.kirchoff
#jira

[CL 26854215 by bryan sefcik in ue5-main branch]
2023-08-04 14:18:11 -04:00
andrew scheidecker
df882395a6 Fix error due to missing executable extension when cross-compiling for Linux using the AutoRTFM compiler with Box enabled.
#rb Brandon.Schaefer

[CL 26818431 by andrew scheidecker in ue5-main branch]
2023-08-03 13:59:09 -04:00
bryan sefcik
9a81ca5c26 Added support to have multiple architectures per platform in the VS sln/projects.
Updated the project generators to search the VS platform directory when HasVisualStudioSupport is called to find out whether a platform is supported. This fixes several issues where platforms were being generated like they were supported by the host machine but actually weren't.

#rb joe.kirchoff
#jira

[CL 26795017 by bryan sefcik in ue5-main branch]
2023-08-02 20:27:20 -04:00
arciel rekman
7737566a62 Make UBT handle gracefully lack of the PGO data files.
#rb none

[CL 26611153 by arciel rekman in ue5-main branch]
2023-07-26 12:41:21 -04:00
arciel rekman
2252185545 Fix wrong Linux PGO path for a project-less build.
#rb none
[REVIEW] [at]Joe.Kirchoff

[CL 26490472 by arciel rekman in ue5-main branch]
2023-07-20 13:46:44 -04:00