https://github.com/zaucy/rules_vulkan
Vulkan SDK setup for Bazel
https://github.com/zaucy/rules_vulkan
Last synced: 6 months ago
JSON representation
Vulkan SDK setup for Bazel
- Host: GitHub
- URL: https://github.com/zaucy/rules_vulkan
- Owner: zaucy
- License: mit
- Created: 2019-08-18T09:40:26.000Z (almost 7 years ago)
- Default Branch: main
- Last Pushed: 2025-12-12T02:56:55.000Z (8 months ago)
- Last Synced: 2025-12-13T02:42:55.375Z (8 months ago)
- Language: Starlark
- Homepage:
- Size: 40 KB
- Stars: 10
- Watchers: 3
- Forks: 9
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Vulkan SDK with Bazel
## Installation
`rules_vulkan` relies on [`rules_7zip`](https://github.com/zaucy/rules_7zip) for extracting the Vulkan SDK on Windows.
```python
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_7zip",
strip_prefix = "rules_7zip-e95ba876db445cf2c925c02c4bc18ed37a503fd8",
url = "https://github.com/zaucy/rules_7zip/archive/e95ba876db445cf2c925c02c4bc18ed37a503fd8.zip",
sha256 = "b66e1c712577b0c029d4c94228dba9c8aacdcdeb88c3b1eeeffd00247ba5a856",
)
load("@rules_7zip//:setup.bzl", "setup_7zip")
setup_7zip()
# Replace with latest repository commit hash
RULES_VULKAN_COMMIT = ""
http_archive(
name = "com_github_zaucy_rules_vulkan",
strip_prefix = "rules_vulkan-{}".format(RULES_VULKAN_COMMIT),
url = "https://github.com/zaucy/rules_vulkan/archive/{}.zip".format(RULES_VULKAN_COMMIT),
)
load("@com_github_zaucy_rules_vulkan//:repo.bzl", "vulkan_repos")
vulkan_repos()
```
## Similar projects
- [jadarve/rules_vulkan](https://github.com/jadarve/rules_vulkan)
- [mxpv/rules_vulkan](https://github.com/mxpv/rules_vulkan/)
## License
This repository is licensed under MIT. Please note that `rules_vulkan` downloads the Vulkan SDK from [LunarG](https://www.lunarg.com/) which has its own licenses and agreements you must adhere to.