Skip to content

Commit

Permalink
(conan-io#25753) spirv-headers: Add version 1.3.296.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-kelemen authored Oct 29, 2024
1 parent ffca13c commit 58c5b9e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions recipes/spirv-headers/all/conandata.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
sources:
"1.3.296.0":
url: "https://github.com/KhronosGroup/SPIRV-Headers/archive/refs/tags/vulkan-sdk-1.3.296.0.tar.gz"
sha256: "1423d58a1171611d5aba2bf6f8c69c72ef9c38a0aca12c3493e4fda64c9b2dc6"
"1.3.268.0":
url: "https://github.com/KhronosGroup/SPIRV-Headers/archive/refs/tags/vulkan-sdk-1.3.268.0.tar.gz"
sha256: "1022379e5b920ae21ccfb5cb41e07b1c59352a18c3d3fdcbf38d6ae7733384d4"
Expand Down
3 changes: 3 additions & 0 deletions recipes/spirv-headers/all/conanfile.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from conan import ConanFile
from conan.tools.cmake import CMake, CMakeToolchain, cmake_layout
from conan.tools.files import copy, get, rmdir
from conan.tools.scm import Version
import os

required_conan_version = ">=1.50.0"
Expand Down Expand Up @@ -28,6 +29,8 @@ def source(self):
def generate(self):
tc = CMakeToolchain(self)
tc.variables["SPIRV_HEADERS_SKIP_EXAMPLES"] = True
if Version(self.version) > "1.3.275.0":
tc.variables["SPIRV_HEADERS_ENABLE_TESTS"] = False
tc.generate()

def build(self):
Expand Down
2 changes: 2 additions & 0 deletions recipes/spirv-headers/config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
versions:
"1.3.296.0":
folder: all
"1.3.268.0":
folder: all
"1.3.261.1":
Expand Down

0 comments on commit 58c5b9e

Please sign in to comment.