diff --git a/modules/vulkan-hpp/1.3.283/MODULE.bazel b/modules/vulkan-hpp/1.3.283/MODULE.bazel new file mode 100644 index 00000000000..785890243c4 --- /dev/null +++ b/modules/vulkan-hpp/1.3.283/MODULE.bazel @@ -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 | openssl base64 -A | sed 's/^/sha256-/' \ No newline at end of file diff --git a/modules/vulkan-hpp/1.3.283/patches/add_build_file.patch b/modules/vulkan-hpp/1.3.283/patches/add_build_file.patch new file mode 100644 index 00000000000..4496441ae54 --- /dev/null +++ b/modules/vulkan-hpp/1.3.283/patches/add_build_file.patch @@ -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"], ++) \ No newline at end of file diff --git a/modules/vulkan-hpp/1.3.283/patches/add_module_dot_bazel.patch b/modules/vulkan-hpp/1.3.283/patches/add_module_dot_bazel.patch new file mode 100644 index 00000000000..d8d25f1f4ee --- /dev/null +++ b/modules/vulkan-hpp/1.3.283/patches/add_module_dot_bazel.patch @@ -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") diff --git a/modules/vulkan-hpp/1.3.283/presubmit.yml b/modules/vulkan-hpp/1.3.283/presubmit.yml new file mode 100644 index 00000000000..df97f978e63 --- /dev/null +++ b/modules/vulkan-hpp/1.3.283/presubmit.yml @@ -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' \ No newline at end of file diff --git a/modules/vulkan-hpp/1.3.283/source.json b/modules/vulkan-hpp/1.3.283/source.json new file mode 100644 index 00000000000..a447440d069 --- /dev/null +++ b/modules/vulkan-hpp/1.3.283/source.json @@ -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" +} \ No newline at end of file diff --git a/modules/vulkan-hpp/MODULE.bazel b/modules/vulkan-hpp/MODULE.bazel new file mode 100644 index 00000000000..7656409f0b8 --- /dev/null +++ b/modules/vulkan-hpp/MODULE.bazel @@ -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") \ No newline at end of file diff --git a/modules/vulkan-hpp/WORKSPACE b/modules/vulkan-hpp/WORKSPACE new file mode 100644 index 00000000000..e083532119a --- /dev/null +++ b/modules/vulkan-hpp/WORKSPACE @@ -0,0 +1 @@ +workspace(name = "vulkan-hpp") \ No newline at end of file diff --git a/modules/vulkan-hpp/metadata.json b/modules/vulkan-hpp/metadata.json new file mode 100644 index 00000000000..7fac4f322f7 --- /dev/null +++ b/modules/vulkan-hpp/metadata.json @@ -0,0 +1,11 @@ +{ + "homepage": "https://github.com/KhronosGroup/Vulkan-Hpp", + "maintainers": [], + "repository": [ + "github:KhronosGroup/Vulkan-Hpp" + ], + "versions": [ + "1.3.283" + ], + "yanked_versions": {} +} \ No newline at end of file