summaryrefslogtreecommitdiff
path: root/parallel
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2021-11-20 20:06:55 +0000
committerwiz <wiz@pkgsrc.org>2021-11-20 20:06:55 +0000
commitb9dd8868e834b9553de40e7bdee51766142cf0c7 (patch)
tree68db9f70df6ef42383210943bfcd637cb293f606 /parallel
parente570677f04a7922e59288f12969758dda3bbf39e (diff)
downloadpkgsrc-b9dd8868e834b9553de40e7bdee51766142cf0c7.tar.gz
parallel/spirv-headers: import SPIRV-Headers-1.2.198.0
This package contains machine-readable files for the SPIR-V Registry. This includes: * Header files for various languages. * JSON files describing the grammar for the SPIR-V core instruction set and the extended instruction sets. * The XML registry file. * A tool to build the headers from the JSON grammar.
Diffstat (limited to 'parallel')
-rw-r--r--parallel/spirv-headers/DESCR8
-rw-r--r--parallel/spirv-headers/Makefile19
-rw-r--r--parallel/spirv-headers/PLIST73
-rw-r--r--parallel/spirv-headers/buildlink3.mk13
-rw-r--r--parallel/spirv-headers/distinfo5
5 files changed, 118 insertions, 0 deletions
diff --git a/parallel/spirv-headers/DESCR b/parallel/spirv-headers/DESCR
new file mode 100644
index 00000000000..132c4ab3b93
--- /dev/null
+++ b/parallel/spirv-headers/DESCR
@@ -0,0 +1,8 @@
+This package contains machine-readable files for the
+SPIR-V Registry. This includes:
+
+* Header files for various languages.
+* JSON files describing the grammar for the SPIR-V core instruction
+ set and the extended instruction sets.
+* The XML registry file.
+* A tool to build the headers from the JSON grammar.
diff --git a/parallel/spirv-headers/Makefile b/parallel/spirv-headers/Makefile
new file mode 100644
index 00000000000..2c7bf5f0d4d
--- /dev/null
+++ b/parallel/spirv-headers/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2021/11/20 20:06:55 wiz Exp $
+
+DISTNAME= SPIRV-Headers-1.2.198.0
+CATEGORIES= parallel
+MASTER_SITES= ${MASTER_SITE_GITHUB:=KhronosGroup/}
+GITHUB_TAG= sdk-1.2.198.0
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://github.com/KhronosGroup/SPIRV-Headers
+COMMENT= Headers for translation between SPIR-V and LLVM IR
+
+USE_CMAKE= yes
+USE_LANGUAGES= c c++
+
+WRKSRC= ${WRKDIR}/SPIRV-Headers-${GITHUB_TAG}
+
+PKGCONFIG_OVERRIDE+= SPIRV-Headers.pc.in
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/parallel/spirv-headers/PLIST b/parallel/spirv-headers/PLIST
new file mode 100644
index 00000000000..e8657c5ff9f
--- /dev/null
+++ b/parallel/spirv-headers/PLIST
@@ -0,0 +1,73 @@
+@comment $NetBSD: PLIST,v 1.1 2021/11/20 20:06:55 wiz Exp $
+include/spirv/1.0/GLSL.std.450.h
+include/spirv/1.0/OpenCL.std.h
+include/spirv/1.0/extinst.glsl.std.450.grammar.json
+include/spirv/1.0/extinst.opencl.std.100.grammar.json
+include/spirv/1.0/spirv.core.grammar.json
+include/spirv/1.0/spirv.cs
+include/spirv/1.0/spirv.h
+include/spirv/1.0/spirv.hpp
+include/spirv/1.0/spirv.hpp11
+include/spirv/1.0/spirv.json
+include/spirv/1.0/spirv.lua
+include/spirv/1.0/spirv.py
+include/spirv/1.1/GLSL.std.450.h
+include/spirv/1.1/OpenCL.std.h
+include/spirv/1.1/extinst.glsl.std.450.grammar.json
+include/spirv/1.1/extinst.opencl.std.100.grammar.json
+include/spirv/1.1/spirv.core.grammar.json
+include/spirv/1.1/spirv.cs
+include/spirv/1.1/spirv.h
+include/spirv/1.1/spirv.hpp
+include/spirv/1.1/spirv.hpp11
+include/spirv/1.1/spirv.json
+include/spirv/1.1/spirv.lua
+include/spirv/1.1/spirv.py
+include/spirv/1.2/GLSL.std.450.h
+include/spirv/1.2/OpenCL.std.h
+include/spirv/1.2/extinst.glsl.std.450.grammar.json
+include/spirv/1.2/extinst.opencl.std.100.grammar.json
+include/spirv/1.2/spirv.core.grammar.json
+include/spirv/1.2/spirv.cs
+include/spirv/1.2/spirv.h
+include/spirv/1.2/spirv.hpp
+include/spirv/1.2/spirv.hpp11
+include/spirv/1.2/spirv.json
+include/spirv/1.2/spirv.lua
+include/spirv/1.2/spirv.py
+include/spirv/spir-v.xml
+include/spirv/unified1/AMD_gcn_shader.h
+include/spirv/unified1/AMD_shader_ballot.h
+include/spirv/unified1/AMD_shader_explicit_vertex_parameter.h
+include/spirv/unified1/AMD_shader_trinary_minmax.h
+include/spirv/unified1/DebugInfo.h
+include/spirv/unified1/GLSL.std.450.h
+include/spirv/unified1/NonSemanticClspvReflection.h
+include/spirv/unified1/NonSemanticDebugPrintf.h
+include/spirv/unified1/NonSemanticShaderDebugInfo100.h
+include/spirv/unified1/OpenCL.std.h
+include/spirv/unified1/OpenCLDebugInfo100.h
+include/spirv/unified1/extinst.debuginfo.grammar.json
+include/spirv/unified1/extinst.glsl.std.450.grammar.json
+include/spirv/unified1/extinst.nonsemantic.clspvreflection.grammar.json
+include/spirv/unified1/extinst.nonsemantic.debugprintf.grammar.json
+include/spirv/unified1/extinst.nonsemantic.shader.debuginfo.100.grammar.json
+include/spirv/unified1/extinst.opencl.debuginfo.100.grammar.json
+include/spirv/unified1/extinst.opencl.std.100.grammar.json
+include/spirv/unified1/extinst.spv-amd-gcn-shader.grammar.json
+include/spirv/unified1/extinst.spv-amd-shader-ballot.grammar.json
+include/spirv/unified1/extinst.spv-amd-shader-explicit-vertex-parameter.grammar.json
+include/spirv/unified1/extinst.spv-amd-shader-trinary-minmax.grammar.json
+include/spirv/unified1/spirv.core.grammar.json
+include/spirv/unified1/spirv.cs
+include/spirv/unified1/spirv.h
+include/spirv/unified1/spirv.hpp
+include/spirv/unified1/spirv.hpp11
+include/spirv/unified1/spirv.json
+include/spirv/unified1/spirv.lua
+include/spirv/unified1/spirv.py
+include/spirv/unified1/spv.d
+share/cmake/SPIRV-Headers/SPIRV-HeadersConfig.cmake
+share/cmake/SPIRV-Headers/SPIRV-HeadersConfigVersion.cmake
+share/cmake/SPIRV-Headers/SPIRV-HeadersTargets.cmake
+share/pkgconfig/SPIRV-Headers.pc
diff --git a/parallel/spirv-headers/buildlink3.mk b/parallel/spirv-headers/buildlink3.mk
new file mode 100644
index 00000000000..8bf5231b46a
--- /dev/null
+++ b/parallel/spirv-headers/buildlink3.mk
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2021/11/20 20:06:55 wiz Exp $
+
+BUILDLINK_TREE+= SPIRV-Headers
+
+.if !defined(SPIRV_HEADERS_BUILDLINK3_MK)
+SPIRV_HEADERS_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.SPIRV-Headers+= SPIRV-Headers>=1.2.198.0
+BUILDLINK_PKGSRCDIR.SPIRV-Headers?= ../../parallel/spirv-headers
+BUILDLINK_DEPMETHOD.SPIRV-Headers?= build
+.endif # SPIRV_HEADERS_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -SPIRV-Headers
diff --git a/parallel/spirv-headers/distinfo b/parallel/spirv-headers/distinfo
new file mode 100644
index 00000000000..f00f7335ae9
--- /dev/null
+++ b/parallel/spirv-headers/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2021/11/20 20:06:55 wiz Exp $
+
+BLAKE2s (SPIRV-Headers-1.2.198.0.tar.gz) = 9c797196b2fdc42dfbf34eed28acfe78037cbba614cfffdfd925ba882e9bbbb8
+SHA512 (SPIRV-Headers-1.2.198.0.tar.gz) = a35167f8de66f2e16c6d2dccdd69f95c58b08abcdef5dac5a705e8e52af049ec9b0e2d0ef6fb732454a0671cd331b69bea75b24911599c0a2ce3972d40addfef
+Size (SPIRV-Headers-1.2.198.0.tar.gz) = 416113 bytes