Opened 3 months ago

Closed 3 months ago

Last modified 3 months ago

#69340 closed update (fixed)

vulkan-loader: Update to 1.3.275.0 & install cmake files

Reported by: DanielO (Daniel O'Connor) Owned by: judaew (Vadym-Valdis Yudaiev)
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc:
Port: vulkan-loader

Description

This patch updates vulkan-loader to the latest version and installs the cmake files so other projects can find it. I needed this to build scopehal.

Attachments (1)

vulkan-loader-update.diff (1.7 KB) - added by DanielO (Daniel O'Connor) 3 months ago.

Download all attachments as: .zip

Change History (6)

Changed 3 months ago by DanielO (Daniel O'Connor)

Attachment: vulkan-loader-update.diff added

comment:1 Changed 3 months ago by DanielO (Daniel O'Connor)

One issue with this is that I needed to set DYLD_LIBRARY_PATH=/opt/local/lib otherwise the application exits with an exception libc++abi: terminating due to uncaught exception of type std::runtime_error: Failed to load vulkan library!.

I am not sure what the "right way" to solve it is - vulkan-loader calls bare dlopen() at https://github.com/KhronosGroup/Vulkan-Hpp/blob/982afd292962405deb2ff2707cd8659a682293d1/snippets/DynamicLoader.hpp#L13

comment:2 Changed 3 months ago by ryandesign (Ryan Carsten Schmidt)

It needs to use the absolute path of the library when calling dlopen.

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

Owner: set to judaew
Status: newassigned

comment:4 Changed 3 months ago by judaew (Vadym-Valdis Yudaiev)

Resolution: fixed
Status: assignedclosed

In 6d36ba9c8f8efd6feda103ddd631e713d9793983/macports-ports (master):

vulkan-loader: Update to 1.3.275.0, add missed CMake files

Fixed: #69340

comment:5 Changed 3 months ago by judaew (Vadym-Valdis Yudaiev)

Please let me know if after update, vulkan-loader doesn't work properly.

Note: See TracTickets for help on using tickets.