[ad_1]
I might say that the very best path is to rebase your customized construct of Unreal Engine to five.3. I may construct Unreal Engine 5.1 for Mac by making use of the patches:
--- a/Engine/Supply/Packages/UnrealBuildTool/Platform/Mac/ApplePlatformSDK.Variations.cs
+++ b/Engine/Supply/Packages/UnrealBuildTool/Platform/Mac/ApplePlatformSDK.Variations.cs
@@ -22,13 +22,13 @@ namespace UnrealBuildTool
if (RuntimePlatform.IsMac)
{
MinVersion = "13.4.0";
- MaxVersion = "14.9.9";
+ MaxVersion = "15.9.9";
}
else
{
// @todo turnkey: these are MobileDevice .dll variations in Home windows - to get the iTunes app model (12.3.4.1 and many others) would wish to seek out the .exe
MinVersion = "1100.0.0.0";
- MaxVersion = "1499.0";
+ MaxVersion = "1599.0";
}
}
and
--- a/Engine/Supply/Runtime/Core/Public/Apple/ApplePlatformCompilerPreSetup.h
+++ b/Engine/Supply/Runtime/Core/Public/Apple/ApplePlatformCompilerPreSetup.h
@@ -37,6 +37,11 @@
#else
#pragma clang diagnostic warning "-Wparentheses-equality"
#endif
+#if (__clang_magor__ >= 15)
+#outline unary_function __unary_function
+#pragma clang diagnostic ignored "-Wdeprecated-builtins"
+#pragma clang diagnostic ignored "-Wsingle-bit-bitfield-constant-conversion"
+#endif
#pragma clang diagnostic ignored "-Winconsistent-missing-override"
#pragma clang diagnostic ignored "-Wundefined-bool-conversion"
#pragma clang diagnostic ignored "-Wunused-local-typedef"
and
--- a/Engine/Supply/Packages/UnrealBuildTool/Platform/Mac/MacToolChain.cs
+++ b/Engine/Supply/Packages/UnrealBuildTool/Platform/Mac/MacToolChain.cs
@@ -294,8 +294,6 @@ namespace UnrealBuildTool
// Wanted to ensure install_name_tool will be capable to replace paths in Mach-O headers
Arguments.Add("-headerpad_max_install_names");
-
- Arguments.Add("-lc++");
}
and eventually
--- a/Engine/Plugins/Experimental/NNI/Supply/ThirdParty/ORT_4_1/Personal/core/session/provider_stubs.cc
+++ b/Engine/Plugins/Experimental/NNI/Supply/ThirdParty/ORT_4_1/Personal/core/session/provider_stubs.cc
@@ -30,7 +30,7 @@ ORT_API_STATUS_IMPL(OrtSessionOptionsAppendExecutionProvider_DML, _In_ OrtSessio
}
#endif
-#ifndef USE_MIGRAPHX
+#if 0 // ndef USE_MIGRAPHX
ORT_API_STATUS_IMPL(OrtSessionOptionsAppendExecutionProvider_MIGraphX,
_In_ OrtSessionOptions* choices, int device_id) {
ORT_UNUSED_PARAMETER(choices);
This nonetheless produces some warnings, unsure if a few of them are actually important.
[ad_2]