Commit dd8b650d authored by Andoni Morales Alastruey's avatar Andoni Morales Alastruey Committed by Matthew Waters
Browse files

macos: disable vulkan for ARM64

Part-of: <!661>
parent 03e35126
Pipeline #239745 passed with stages
in 72 minutes and 9 seconds
......@@ -19,7 +19,6 @@ class Package(custom.GStreamer, package.Package):
'gst-plugins-bad-1.0:plugins_sys_devel']
platform_files = {
Platform.DARWIN : ['moltenvk:libs'],
Platform.IOS : ['moltenvk:libs'],
}
......@@ -32,3 +31,6 @@ class Package(custom.GStreamer, package.Package):
if self.config.target_arch in (Architecture.X86, Architecture.X86_64, Architecture.ARM64, Architecture.UNIVERSAL):
self.files.append('angle-uwp:libs')
self.files_devel.append('angle-uwp:headers')
if self.config.target_platform == Platform.DARWIN and \
self.config.target_arch == Architecture.X86_64:
self.platform_files[Platform.DARWIN] = ['moltenvk:libs']
......@@ -492,7 +492,12 @@ class Recipe(custom.GStreamer):
if self.config.target_platform in (Platform.DARWIN, Platform.IOS):
self.meson_options['applemedia'] = 'enabled'
self.deps += ['moltenvk']
# No Vulkan SDK for macOS ARM664 yet
if self.config.target_platform == Platform.DARWIN and \
self.config.target_arch == Architecture.ARM64:
self.disable_plugin('vulkan', 'vulkan', library_name='vulkan')
else:
self.deps += ['moltenvk']
if self.config.target_platform in (Platform.ANDROID):
self.deps += ['vulkan-android']
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment