Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Bernd Kuhls <bernd@kuhls.net>
To: buildroot@buildroot.org
Cc: Romain Naour <romain.naour@gmail.com>,
	Valentin Korenblit <valentinkorenblit@gmail.com>,
	Daniel Lang <dalang@gmx.at>,
	Eric Le Bihan <eric.le.bihan.dev@free.fr>,
	"Yann E . MORIN" <yann.morin.1998@free.fr>
Subject: [Buildroot] [PATCH 4/6] package/spirv-tools: add host variant
Date: Thu, 31 Oct 2024 21:04:59 +0100	[thread overview]
Message-ID: <20241031200501.1107802-4-bernd@kuhls.net> (raw)
In-Reply-To: <20241031200501.1107802-1-bernd@kuhls.net>

Needed for mesa3d bump to 24.1.0.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
 package/spirv-tools/spirv-tools.mk | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/package/spirv-tools/spirv-tools.mk b/package/spirv-tools/spirv-tools.mk
index e863911b03..51b1c9f22a 100644
--- a/package/spirv-tools/spirv-tools.mk
+++ b/package/spirv-tools/spirv-tools.mk
@@ -10,6 +10,7 @@ SPIRV_TOOLS_SITE = $(call github,KhronosGroup,SPIRV-Tools,sdk-$(SPIRV_TOOLS_VERS
 SPIRV_TOOLS_LICENSE = Apache-2.0
 SPIRV_TOOLS_LICENSE_FILES = LICENSE
 SPIRV_TOOLS_DEPENDENCIES = spirv-headers
+HOST_SPIRV_TOOLS_DEPENDENCIES = host-spirv-headers
 SPIRV_TOOLS_INSTALL_STAGING = YES
 
 SPIRV_TOOLS_CONF_OPTS = \
@@ -18,4 +19,11 @@ SPIRV_TOOLS_CONF_OPTS = \
 	-DSPIRV_SKIP_TESTS=ON \
 	-DSPIRV_WERROR=OFF
 
+HOST_SPIRV_TOOLS_CONF_OPTS = \
+	-DSPIRV-Headers_SOURCE_DIR=$(HOST_DIR) \
+	-DSPIRV_TOOLS_BUILD_STATIC=OFF \
+	-DSPIRV_SKIP_TESTS=ON \
+	-DSPIRV_WERROR=OFF
+
 $(eval $(cmake-package))
+$(eval $(host-cmake-package))
-- 
2.39.5

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  parent reply	other threads:[~2024-10-31 20:05 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-31 20:04 [Buildroot] [PATCH 1/6] package/libdrm: add host variant Bernd Kuhls
2024-10-31 20:04 ` [Buildroot] [PATCH 2/6] package/llvm-project/libclc: " Bernd Kuhls
2024-10-31 20:04 ` [Buildroot] [PATCH 3/6] package/spirv-llvm-translator: add target variant to provide LLVMSPIRVLib Bernd Kuhls
2024-10-31 20:04 ` Bernd Kuhls [this message]
2024-10-31 20:05 ` [Buildroot] [PATCH 5/6] package/{mesa3d, mesa3d-headers}: bump version to 24.2.6 Bernd Kuhls
2024-11-01 16:45   ` Julien Olivain
     [not found]   ` <b9cea79ecd32e7990b7f9a37bab50908__2814.68966729648$1730479554$gmane$org@free.fr>
2024-11-01 19:00     ` Bernd Kuhls
2024-10-31 20:05 ` [Buildroot] [PATCH 6/6] package/mesa3d: add option to enable VIRTIO vulkan driver Bernd Kuhls
  -- strict thread matches above, loose matches on Subject: below --
2025-01-18  8:38 [Buildroot] [PATCH 1/6] package/libdrm: add host variant Bernd Kuhls
2025-01-18  8:38 ` [Buildroot] [PATCH 4/6] package/spirv-tools: " Bernd Kuhls
2024-12-29 17:49 [Buildroot] [PATCH 1/6] package/libdrm: " Bernd Kuhls
2024-12-29 17:49 ` [Buildroot] [PATCH 4/6] package/spirv-tools: " Bernd Kuhls
2024-11-01 22:54 [Buildroot] [PATCH 1/6] package/libdrm: " Bernd Kuhls
2024-11-01 22:54 ` [Buildroot] [PATCH 4/6] package/spirv-tools: " Bernd Kuhls
2024-11-01 18:57 [Buildroot] [PATCH 1/6] package/libdrm: " Bernd Kuhls
2024-11-01 18:57 ` [Buildroot] [PATCH 4/6] package/spirv-tools: " Bernd Kuhls
2024-10-26 11:18 [Buildroot] [PATCH 1/6] package/libdrm: " Bernd Kuhls
2024-10-26 11:18 ` [Buildroot] [PATCH 4/6] package/spirv-tools: " Bernd Kuhls
2024-09-22 19:37 [Buildroot] [PATCH 1/6] package/libdrm: " Bernd Kuhls
2024-09-22 19:37 ` [Buildroot] [PATCH 4/6] package/spirv-tools: " Bernd Kuhls

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=20241031200501.1107802-4-bernd@kuhls.net \
    --to=bernd@kuhls.net \
    --cc=buildroot@buildroot.org \
    --cc=dalang@gmx.at \
    --cc=eric.le.bihan.dev@free.fr \
    --cc=romain.naour@gmail.com \
    --cc=valentinkorenblit@gmail.com \
    --cc=yann.morin.1998@free.fr \
    /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