Commit Graph

178 Commits

Author SHA1 Message Date
Josh Adams
d2ca7efb2f - Allow editor to build for M1, but not enabled by default. See:
BaseGame.ini:
  [/Script/MacTargetPlatform.MacTargetSettings]
  TargetArchitecture=Universal
  EditorTargetArchitecture=Universal

#rb will.damon
#jira UE-145032,UE-153529
#preflight 62914a156d1aaeda580cbc6b

[CL 20400585 by Josh Adams in ue5-main branch]
2022-05-27 18:34:49 -04:00
will damon
3eb102014c Remove ShaderCompileWorker from the allowed list for Apple Silicon.
- Regressions in ASTC texture compression caused us to have to roll-back ISPC and ISPCTexComp binary rebuilds. Consequently, we have to disallow SCW until we can either remove the dependency or fix-up the regression and check in updated ISPCTexComp binaires.

#rb josh.adams
#jira none
#rnx
#preflight n/a

[CL 20393461 by will damon in ue5-main branch]
2022-05-27 10:51:28 -04:00
Ben Marsh
cbb950c578 UBT: Use ILogger throughout UBT, rather than legacy EpicGames.Core.Log methods. All output going forwards should use structured logging rather than String.Format style logging.
#preflight 628e9dc6e746de4961f60032

[CL 20373777 by Ben Marsh in ue5-main branch]
2022-05-25 19:55:37 -04:00
Joe Kirchoff
c512a89ace Rename UnrealBuildTool.EngineSourceDirectory -> Unreal.EngineSourceDirectory
#rnx
#rb trivial
#preflight 628e9fdaf622d972b59ebe85

[CL 20372061 by Joe Kirchoff in ue5-main branch]
2022-05-25 17:54:39 -04:00
Joe Kirchoff
6c92065094 UnrealBuildTool: Merge various Clang ToolChainOptions enums
#rb none
#rnx
#preflight 62843567925bbe69df8dc8d4

[CL 20358298 by Joe Kirchoff in ue5-main branch]
2022-05-24 19:41:41 -04:00
will damon
932dd4e094 Work around macOS Monterey bug that erroneously spews objc stderr messages to stdout
#rb josh.adams
#fyi adam.kinge
#jira none
#rnx
#preflight n/a

[CL 20259911 by will damon in ue5-main branch]
2022-05-18 09:16:23 -04:00
joe kirchoff
ae5f805c7b UnrealBuildTool: Merging common clang warnings to ClangToolChain base class. Moved all warnings to overridden functions out of GetCompileArguments_Global
Removed -Wsequence-point (Synonym for -Wunsequenced) from Linux as it is enabled by default
#rb none
#rnx
#preflight 62841106114e08fa2f3ebdfe

[CL 20251810 by joe kirchoff in ue5-main branch]
2022-05-17 17:37:13 -04:00
joe kirchoff
f201a3fdae [Backout] - CL20248654
#fyi Joe.Kirchoff
Original CL Desc
-----------------------------------------------------------------
UnrealBuildTool: Merging common clang warnings to ClangToolChain base class. Moved all warnings to overridden functions out of GetCompileArguments_Global

Removed -Wsequence-point (Synonym for -Wunsequenced) from Linux as it is enabled by default
#rb none
#rnx
#preflight 6283e6e04316db80d1a3d973

[CL 20249554 by joe kirchoff in ue5-main branch]
2022-05-17 15:35:45 -04:00
Joe Kirchoff
b5055e62ef UnrealBuildTool: Merging common clang warnings to ClangToolChain base class. Moved all warnings to overridden functions out of GetCompileArguments_Global
Removed -Wsequence-point (Synonym for -Wunsequenced) from Linux as it is enabled by default
#rb none
#rnx
#preflight 6283e6e04316db80d1a3d973

[CL 20248654 by Joe Kirchoff in ue5-main branch]
2022-05-17 15:00:59 -04:00
Joe Kirchoff
3ed8a895d6 UnrealBuildTool: Update clang toolchains (except Android) to fill a list of string arguments rather than returning a single string
#rb none
#rnx
#preflight 627ecada5a0a06a57ea881a1

[CL 20190395 by Joe Kirchoff in ue5-main branch]
2022-05-13 18:08:52 -04:00
Joe Kirchoff
3fd8f7fbde UnrealBuildTool: Add minimal GetCompileArguments_Global in ClangToolChain. Currently only sets -e, -pipe, header include paths, & preprocessor definitions
#rb trivial
#rnx
#preflight 627d9ec0a82f3adab8b85ab0

[CL 20182062 by Joe Kirchoff in ue5-main branch]
2022-05-13 11:34:49 -04:00
Joe Kirchoff
e45cc77314 UnrealBuildTool: Move include path and preprocessor definition arguments to ClangToolChain virtual functions
#rb trivial
#rnx
#preflight 627c3f3e1e74993343ba1846

[CL 20153646 by Joe Kirchoff in ue5-main branch]
2022-05-11 19:14:13 -04:00
Joe Kirchoff
880c5bfd6e UnrealBuildTool: Begin moving common functions from clang based toolchains to base ClangToolChain.
#rb brandon.schaefer
#rb chris.babcock
#preflight 627ad0017e5f24d1ede6d5d0
#preflight 627ada7a0a5817c9d91562c0
#rnx

* Move ClangVersion variables to base class and share function to check version. A separate change will add a virtual function for parsing the clang version for each toolchain as to not add complexity to this change.
* GetCppStandardCompileArgument: Used by all, no differences
* GetCompileArguments_CPP: Used by all. Switch & Apple are overridden
* GetCompileArguments_C: Used by all, no differences
* GetCompileArguments_MM: Used by Linux & Apple. Apple is overridden.
* GetCompileArguments_M: Used by Linux & Apple. Apple is overridden.
* GetCompileArguments_CPP: Used by all. Switch & Apple are overridden.
* GetRTTIFlag: Used by Linux & Apple, no differences.

[CL 20131754 by Joe Kirchoff in ue5-main branch]
2022-05-10 19:08:08 -04:00
will damon
6ef48faaa0 Add ShaderCompileWorker to the allowed list for Apple Silicon.
#rb josh.adams
#jira UE-150669
#rnx
#preflight n/a

[CL 20127673 by will damon in ue5-main branch]
2022-05-10 15:06:21 -04:00
Jack Porter
a5ea9572f5 Ignore iTunes DLL if the version number cannot be parsed as we expect
#jira UE-150784
#rb Adam.KingE
#preflight 627a44eb492212de07269b02

[CL 20120571 by Jack Porter in ue5-main branch]
2022-05-10 07:09:49 -04:00
Joe Kirchoff
9ad5c5e175 UnrealBuildTool: Compile PCH with -fpch-instantiate-templates for Apple platforms. Improves compile time by almost 15%
#rb none

Mac UnrealEditor Development:
* Before UBT Run Time: 00:57:20
* After UBT Run Time: 00:49:44
UBT Run Time improvement 13.26%
#preflight 626ab0f5a5009ff191b17456

[CL 19963241 by Joe Kirchoff in ue5-main branch]
2022-04-28 11:52:26 -04:00
chris constantinescu
1278a26f76 Low level tests further refactoring and test resource deployment
#preflight 626955ed0d4ac78d716eacf0
#rnx

[CL 19941830 by chris constantinescu in ue5-main branch]
2022-04-27 12:36:35 -04:00
Joe Kirchoff
c4a445ac71 UnrealBuildTool: Mac and Linux -fpch-validate-input-files-content
This flag validates pch inputs using content only when the mtime check fails, allowing the build to not fail if the content does not actually differ.

#rb jonathan.adamczewski
#rnx
#preflight 6268708c820fbeb9a434bc28

[CL 19931628 by Joe Kirchoff in ue5-main branch]
2022-04-26 19:10:29 -04:00
josh adams
39bff31fff - Adding comments to the PlatformSDK files to note the version numbers are now in the Versions.cs files
#p4v-preflight-copy 19822331
#rb trivial
#jira none
#preflight 6261e093a21b75437128a095

[CL 19858470 by josh adams in ue5-main branch]
2022-04-21 19:26:22 -04:00
axel riffard
e1a52bef2e Add iTunes download to Turnkey on Windows
#jira UE-143709
#rb jack.porter josh.adams
#preflight 62610c8fdd47b4ad21a18c04

[CL 19845401 by axel riffard in ue5-main branch]
2022-04-21 04:04:14 -04:00
josh adams
878a255ac2 - Added native mode for GenerateDSYM UAT script that will generate .dSYM files for Mac/IOS/TVOS projects. Main use is passing it project/target/config/etc params and it will read .target receipt file to figure out what executables and dylibs to generate .dSYMs for
- Disabled dSYM generation for Mac by default
#preflight 625d8c5c6813aa38e3d077f2
#rb axel.riffard
#jira none

[CL 19791055 by josh adams in ue5-main branch]
2022-04-18 14:37:50 -04:00
Joe Kirchoff
82e72c99f1 UnrealBuildTool: Stop running mac toolchain binaries through /usr/bin/arch, it is no longer necessary with .NET6 as UBT is being run through the correct architecture version of dotnet
#rb Adam.King
#rnx
#preflight 625d8692691f49969eaa5924

[CL 19786645 by Joe Kirchoff in ue5-main branch]
2022-04-18 11:58:43 -04:00
josh adams
0532d19399 - Split SDK versions into their own Versions.cs files
#rb eric.mcdaniel
#jira none
#preflight 6255a6309a0f82a3151d28aa

[CL 19723677 by josh adams in ue5-main branch]
2022-04-12 12:37:37 -04:00
Josh Adams
604aec8368 - Allow for multiple full sdks for a platform (uses a new SDKCollection class to gather sdk versions and their validityt, etc)
- Windows will be first to use it, but in a future CL, with toolchain separate from Windows SDK
- Cleaned up some of the PlatformSDK API to have fewer public members (mainly so the functions that receive multiple versions can be automatically populated with the current single version functions in the subclasses)
- Updated the Turnkey menu to handle multiple versions

#jira none
#rb david.harvey
#preflight 62508cd8f10bcc0f4fa8b5d1

[CL 19692492 by Josh Adams in ue5-main branch]
2022-04-08 15:34:51 -04:00
Joe Kirchoff
d0487689bf UnrealBuildTool: Relative pathing for Mac & Linux toolchains
#rb trivial
#rnx
#preflight 62474481f4217035fa9db83d

[CL 19593260 by Joe Kirchoff in ue5-main branch]
2022-04-01 14:56:46 -04:00