vuh

Vulkan compute for people


Project maintained by Glavnokoman Hosted on GitHub Pages — Theme by mattgraham

Dependencies

Compile with dependencies already in place

This assumes required dependencies are already present on your system and findable by cmake. Replace VUH_SOURCE_DIR by the path to vuh sources on your setup and build out-of-source.

cmake ${VUH_SOURCE_DIR}
cmake --build . --target install

Install dependencies & compile

Linux & Unix-like OSes

Install script depends on cmake and cget (pip install cget) to be available. Replace VUH_SOURCE_DIR and DEPENDENCIES_INSTALL_DIR by their values on your system. Build out of source.

export CGET_PREFIX=${DEPENDENCIES_INSTALL_DIR}
${VUH_SOURCE_DIR}/config/install_dependencies.sh
cmake -DCMAKE_PREFIX_PATH=${DEPENDENCIES_INSTALL_DIR} ${VUH_SOURCE_DIR}
cmake --build . --target install

Windows

TBD. Should be similar to above.

macOS

export CGET_PREFIX=${DEPENDENCIES_INSTALL_DIR}
${VUH_SOURCE_DIR}/config/install_dependencies.sh
brew install spdlog
cmake -DCMAKE_PREFIX_PATH=${DEPENDENCIES_INSTALL_DIR} ${VUH_SOURCE_DIR}
cmake --build . --target install