spacemeshos / gpu-post

Spacemesh proof of space time gpu optimized setup
GNU General Public License v3.0
29 stars 9 forks source link

Don't require Vulkan SDK installation #23

Closed avive closed 3 years ago

avive commented 3 years ago

We'd like to have a script that will only install the Vulkan 1.2 runtime components which are required to run the the library Vulkan providers code on OS X. This script will be added to Smapp installation process so users don't have to install the full Vulkan SDK or run a separate installer to do a gpu-post setup using a Vulkan provider. This will be part of Smapp installation.

Motivation: The current runtime is installed via python script as part of the Vulkan SDK which installs many more artifacts besides runtime components. e.g. iOS SDK, dev tools, ~230MB of demo apps... We'd like to avoid making the Smapp install huge due to the sheer size of the Vulkan SDK installer and we don't want to slow down smapp install due to the time it takes to install all of these components which are not needed for the core functionality.

Looks like this is not going to be very complicated as the current sdk installer just copies over a bunch of files and sets some env vars: https://vulkan.lunarg.com/doc/sdk/1.2.154.0/mac/getting_started.html

@IlyaVi

avive commented 3 years ago

Better to have a macOS component so users don't have to install the Vulkan SDK.

avive commented 3 years ago

Library should work on Vulkan supported providers on systems that don't have the Vulkan SDK installed. Currently, library will only work on a system after user installed the Vulkan SDK.