#66532 closed defect (fixed)

MoltenVK: Add universal variant; don't install universal unless universal variant is selected

Reported by: MichaelGDev48 (Michael G) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: Gcenx
Port: MoltenVK

Description (last modified by ryandesign (Ryan Carsten Schmidt))

When compiling and installing moltenvk it provides a universal variant but isn't labeled as such which causes issues for packages you try to build with universal label , that depend on it like vulkan-loader

Error: Cannot install vulkan-loader for the archs 'arm64 x86_64' because
Error: its dependency MoltenVK is only installed for the arch 'arm64'
Error: and does not have a universal variant.
file /opt/local/lib/libMoltenVK.dylib       
/opt/local/lib/libMoltenVK.dylib: Mach-O universal binary with 2 architectures: [x86_64:Mach-O 64-bit dynamically linked shared library x86_64] [arm64]
/opt/local/lib/libMoltenVK.dylib (for architecture x86_64):	Mach-O 64-bit dynamically linked shared library x86_64
/opt/local/lib/libMoltenVK.dylib (for architecture arm64):	Mach-O 64-bit dynamically linked shared library arm64

Change History (2)

comment:1 Changed 23 months ago by ryandesign (Ryan Carsten Schmidt)

Cc: Gcenx added
Description: modified (diff)
Keywords: vk vulkan loader moltenvk removed
Owner: set to ryandesign
Port: MoltenVK added; moltenvk vulkan-loader removed
Status: newassigned
Summary: moltenvk should be labeled as a universal variantMoltenVK: Add universal variant; don't install universal unless universal variant is selected

So,

  1. MoltenVK should have a universal variant, and
  2. MoltenVK should not install universal files when the universal variant has not been requested

I'm assigning the ticket to myself since I'm the maintainer but I'm not working on this issue; others are welcome to.

comment:2 Changed 23 months ago by Dean M Greer <38226388+Gcenx@…>

Resolution: fixed
Status: assignedclosed

In 5a568933a230b358bb4070c4fad55bce00a48234/macports-ports (master):

MoltenVK: Add universal variant and strip arch when not universal

closes #66532

Note: See TracTickets for help on using tickets.