mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Philipp Zabel <p.zabel@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Philipp Zabel <p.zabel@pengutronix.de>
Subject: [ptxdist] [PATCH 5/8] vulkan-headers: new package
Date: Mon, 19 Dec 2022 12:52:29 +0100	[thread overview]
Message-ID: <20221219115232.2949240-5-p.zabel@pengutronix.de> (raw)
In-Reply-To: <20221219115232.2949240-1-p.zabel@pengutronix.de>

Split vulkan-headers out of vulkan-loader,
it has proper CMake support now.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
---
 rules/vulkan-headers.in   |  8 ++++++++
 rules/vulkan-headers.make | 39 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 47 insertions(+)
 create mode 100644 rules/vulkan-headers.in
 create mode 100644 rules/vulkan-headers.make

diff --git a/rules/vulkan-headers.in b/rules/vulkan-headers.in
new file mode 100644
index 000000000000..06329f8fd0dd
--- /dev/null
+++ b/rules/vulkan-headers.in
@@ -0,0 +1,8 @@
+## SECTION=multimedia_libs
+
+menuconfig VULKAN_HEADERS
+	tristate
+	prompt "vulkan-headers"
+	select HOST_CMAKE
+	help
+	  Vulkan Headers
diff --git a/rules/vulkan-headers.make b/rules/vulkan-headers.make
new file mode 100644
index 000000000000..da62d80f6b6e
--- /dev/null
+++ b/rules/vulkan-headers.make
@@ -0,0 +1,39 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2022 by Philipp Zabel <p.zabel@pengutronix.de>
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_VULKAN_HEADERS) += vulkan-headers
+
+#
+# Paths and names
+#
+
+VULKAN_HEADERS_VERSION	:= 1.3.236.0
+VULKAN_HEADERS_MD5	:= 9fba7f1ef2c43b6ce3c9660a618e788c
+VULKAN_HEADERS		:= vulkan-headers-$(VULKAN_HEADERS_VERSION)
+VULKAN_HEADERS_SUFFIX	:= tar.gz
+VULKAN_HEADERS_URL	:= https://github.com/KhronosGroup/Vulkan-Headers/archive/sdk-$(VULKAN_HEADERS_VERSION).$(VULKAN_HEADERS_SUFFIX)
+VULKAN_HEADERS_SOURCE	:= $(SRCDIR)/vulkan-headers-$(VULKAN_HEADERS_VERSION).$(VULKAN_HEADERS_SUFFIX)
+VULKAN_HEADERS_DIR	:= $(BUILDDIR)/$(VULKAN_HEADERS)
+VULKAN_HEADERS_LICENSE	:= Apache-2.0
+VULKAN_HEADERS_LICENSE_FILES := \
+	file://LICENSE.txt;md5=3b83ef96387f14655fc854ddc3c6bd57
+
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+VULKAN_HEADERS_CONF_TOOL	:= cmake
+VULKAN_HEADERS_CONF_OPT		:= \
+	$(CROSS_CMAKE_USR) \
+	-DVULKAN_HEADERS_INSTALL=ON
+
+# vim: syntax=make
-- 
2.30.2




  parent reply	other threads:[~2022-12-19 11:53 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-19 11:52 [ptxdist] [PATCH 1/8] glslang: version bump 1.3.231.1 -> 1.3.236.0 Philipp Zabel
2022-12-19 11:52 ` [ptxdist] [PATCH 2/8] shaderc: version bump v2022.3 -> v2022.4 Philipp Zabel
2023-01-06 16:00   ` [ptxdist] [APPLIED] " Michael Olbrich
2022-12-19 11:52 ` [ptxdist] [PATCH 3/8] spirv-headers: version bump 1.3.231.1 -> 1.3.236.0 Philipp Zabel
2023-01-06 16:00   ` [ptxdist] [APPLIED] " Michael Olbrich
2022-12-19 11:52 ` [ptxdist] [PATCH 4/8] spirv-tools: " Philipp Zabel
2023-01-06 16:01   ` [ptxdist] [APPLIED] " Michael Olbrich
2022-12-19 11:52 ` Philipp Zabel [this message]
2023-01-06 16:01   ` [ptxdist] [APPLIED] vulkan-headers: new package Michael Olbrich
2022-12-19 11:52 ` [ptxdist] [PATCH 6/8] vulkan-loader: version bump 1.3.231.1 -> 1.3.236.0 Philipp Zabel
2023-01-06 16:01   ` [ptxdist] [APPLIED] " Michael Olbrich
2022-12-19 11:52 ` [ptxdist] [PATCH 7/8] vulkan-tools: " Philipp Zabel
2023-01-06 16:01   ` [ptxdist] [APPLIED] " Michael Olbrich
2022-12-19 11:52 ` [ptxdist] [PATCH 8/8] vulkan-validationlayers: " Philipp Zabel
2023-01-06 16:01   ` [ptxdist] [APPLIED] " Michael Olbrich
2023-01-06 16:00 ` [ptxdist] [APPLIED] glslang: " Michael Olbrich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221219115232.2949240-5-p.zabel@pengutronix.de \
    --to=p.zabel@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox