From: Bernd Kuhls <bernd@kuhls.net>
To: buildroot@buildroot.org
Cc: Eric Le Bihan <eric.le.bihan.dev@free.fr>,
"Yann E . MORIN" <yann.morin.1998@free.fr>,
Daniel Lang <dalang@gmx.at>,
Valentin Korenblit <valentinkorenblit@gmail.com>,
Romain Naour <romain.naour@gmail.com>
Subject: [Buildroot] [PATCH 4/7] package/spirv-tools: add host variant
Date: Mon, 2 Dec 2024 18:40:05 +0100 [thread overview]
Message-ID: <20241202174008.1134667-4-bernd@kuhls.net> (raw)
In-Reply-To: <20241202174008.1134667-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
next prev parent reply other threads:[~2024-12-02 17:40 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-02 17:40 [Buildroot] [PATCH 1/7] package/libdrm: add host variant Bernd Kuhls
2024-12-02 17:40 ` [Buildroot] [PATCH 2/7] package/llvm-project/libclc: " Bernd Kuhls
2024-12-02 17:40 ` [Buildroot] [PATCH 3/7] package/spirv-llvm-translator: add target variant to provide LLVMSPIRVLib Bernd Kuhls
2024-12-02 17:40 ` Bernd Kuhls [this message]
2024-12-02 17:40 ` [Buildroot] [PATCH 5/7] package/wayland-protocols: bump version to 1.38 Bernd Kuhls
2024-12-02 17:40 ` [Buildroot] [PATCH 6/7] package/{mesa3d, mesa3d-headers}: bump version to 24.3.0 Bernd Kuhls
2024-12-03 21:51 ` Julien Olivain
[not found] ` <00da17b37c509a32a98aadfe3cb74566__20303.3354760677$1733262723$gmane$org@free.fr>
2024-12-03 22:12 ` Bernd Kuhls
2024-12-02 17:40 ` [Buildroot] [PATCH 7/7] package/mesa3d: add option to enable VIRTIO vulkan driver Bernd Kuhls
2024-12-02 18:04 ` Alex Bennée
-- strict thread matches above, loose matches on Subject: below --
2024-12-03 22:09 [Buildroot] [PATCH 1/7] package/libdrm: add host variant Bernd Kuhls
2024-12-03 22:09 ` [Buildroot] [PATCH 4/7] 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=20241202174008.1134667-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