forked from bazelbuild/bazel-central-registry
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: Adds vulkan hpp Test Plan: functional with bazel build from prject Smart Commit:
- Loading branch information
Showing
8 changed files
with
80 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
"""Module vulkan-hpp bzlmod dependency.""" | ||
|
||
module( | ||
name = "vulkan-hpp", | ||
version = "1.3.283", | ||
compatibility_level = 1, | ||
) | ||
bazel_dep(name = "rules_cc", version = "0.0.1") | ||
# to make sha256 work do this: | ||
# openssl dgst -sha256 -binary <file> | openssl base64 -A | sed 's/^/sha256-/' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- /dev/null | ||
+++ b/BUILD | ||
@@ -0,0 +1,11 @@ | ||
+load("@rules_cc//cc:defs.bzl", "cc_library") | ||
+package(default_visibility = ["//visibility:public"]) | ||
+cc_library( | ||
+ name = "vulkan-hpp", | ||
+ hdrs = glob([ | ||
+ "vulkan/*.h", | ||
+ "vulkan/*.hpp", | ||
+ ]), | ||
+ includes = ["."], | ||
+ visibility = ["//visibility:public"], | ||
+) |
9 changes: 9 additions & 0 deletions
9
modules/vulkan-hpp/1.3.283/patches/add_module_dot_bazel.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- /dev/null | ||
+++ b/MODULE.bazel | ||
@@ -0,0 +1,6 @@ | ||
+module( | ||
+ name = " vulkan-hpp", | ||
+ version = "1.3.283", | ||
+ compatibility_level = 1, | ||
+) | ||
+bazel_dep(name = "rules_cc", version = "0.0.9") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
platforms: | ||
centos7: | ||
build_targets: | ||
- '@vulkan-hpp//:vulkan-hpp' | ||
debian10: | ||
build_targets: | ||
- '@vulkan-hpp//:vulkan-hpp' | ||
macos: | ||
build_targets: | ||
- '@vulkan-hpp//:vulkan-hpp' | ||
ubuntu2004: | ||
build_targets: | ||
- '@vulkan-hpp//:vulkan-hpp' | ||
windows: | ||
build_targets: | ||
- '@vulkan-hpp//:vulkan-hpp' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"integrity": "sha256-GmIw0TqFqTn8zMg7ATu5veKOpS3/T5S+NsYFCMIXIwg=", | ||
"patch_strip": 1, | ||
"patches": { | ||
"add_build_file.patch": "sha256-pCIxbA4sP0by7vtwCA4ObzYyb/Bs5yqmfQUQYtaUrCA=", | ||
"add_module_dot_bazel.patch": "sha256-zZ6XT4hgPHELslHjqFdBsdyJPtFB3+mQajKXmjcy/Rk=" | ||
}, | ||
"strip_prefix": "Vulkan-Hpp-1.3.283", | ||
"url": "https://github.com/KhronosGroup/Vulkan-Hpp/archive/refs/tags/v1.3.283.tar.gz" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
"""Module vulkan-sdk""" | ||
|
||
module( | ||
name = "vulkan-hpp", | ||
version = "1.3.283", | ||
compatibility_level = 1, | ||
) | ||
|
||
bazel_dep(name = "rules_cc", version = "0.0.9") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
workspace(name = "vulkan-hpp") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"homepage": "https://github.com/KhronosGroup/Vulkan-Hpp", | ||
"maintainers": [], | ||
"repository": [ | ||
"github:KhronosGroup/Vulkan-Hpp" | ||
], | ||
"versions": [ | ||
"1.3.283" | ||
], | ||
"yanked_versions": {} | ||
} |