sys_patch_helpers.py: Add Metal libary patching

Resolves many 3rd party apps crashing on 13.3 when trying to invoke Metal directly
This commit is contained in:
Mykola Grymalyuk
2023-04-07 12:59:18 -06:00
parent 96e96464f2
commit 1ce6f79240
4 changed files with 70 additions and 3 deletions

View File

@@ -721,6 +721,8 @@ class PatchSysVolume:
sys_patch_helpers.SysPatchHelpers(self.constants).disable_window_server_caching()
if any(x in required_patches for x in ["Intel Ivy Bridge", "Intel Haswell"]):
sys_patch_helpers.SysPatchHelpers(self.constants).remove_news_widgets()
if "Metal 3802 Common Extended" in required_patches:
sys_patch_helpers.SysPatchHelpers(self.constants).patch_gpu_compiler_libraries(mount_point=self.mount_location)
self._write_patchset(required_patches)