Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Sebastian Weyer <sebastian.weyer@smile.fr>
Cc: Romain Naour <romain.naour@smile.fr>,
	Samuel Martin <s.martin49@gmail.com>,
	buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH v2 4/9] package/spirv-headers: new package
Date: Sun, 1 Oct 2023 18:50:31 +0200	[thread overview]
Message-ID: <20231001185031.4d0e9a8d@windsurf> (raw)
In-Reply-To: <20230725173102.543874-5-sebastian.weyer@smile.fr>

Hello,

On Tue, 25 Jul 2023 19:30:56 +0200
Sebastian Weyer <sebastian.weyer@smile.fr> wrote:

>  package/Config.in                        |  1 +
>  package/spirv-headers/Config.in          |  6 ++++++
>  package/spirv-headers/spirv-headers.hash |  2 ++
>  package/spirv-headers/spirv-headers.mk   | 15 +++++++++++++++
>  4 files changed, 24 insertions(+)

Missing entry in DEVELOPERS file, so I've added that.


> diff --git a/package/spirv-headers/spirv-headers.hash b/package/spirv-headers/spirv-headers.hash
> new file mode 100644
> index 0000000000..b83959f7a4
> --- /dev/null
> +++ b/package/spirv-headers/spirv-headers.hash
> @@ -0,0 +1,2 @@

Missing "Locally calculated" comment.

> +sha256  71668e18ef7b318b06f8c466f46abad965b2646eaa322594cd015c2ac87133e6  spirv-headers-1.3.246.1.tar.gz
> +sha256  9b243f6f0bf44e295ff411a0f7b7642d1d0dff7cdc42507e9f7206f439e51b5a  LICENSE
> diff --git a/package/spirv-headers/spirv-headers.mk b/package/spirv-headers/spirv-headers.mk
> new file mode 100644
> index 0000000000..11119ac6b2
> --- /dev/null
> +++ b/package/spirv-headers/spirv-headers.mk
> @@ -0,0 +1,15 @@
> +################################################################################
> +#
> +# spirv-headers
> +#
> +################################################################################
> +
> +SPIRV_HEADERS_VERSION = 1.3.246.1

I've bumped to the latest version, which fixes a build issue: this
older version was trying to build C++ code for an example/test. With
the newer version, it still tries to build C++ stuff, but mistakenly
with the host C++ compiler, which works because it has no dependencies.
Romain and I didn't bother fixing that as we really don't care about
this silly example being built.

Note: as a follow-up patch, I added a host variant of this package, and
a change to spirv-llvm-translator that makes use of it. Indeed
host-spirv-llvm-translator was downloading its own copy of the
spirv-headers during the build which is very bad (but not your fault,
since you did not introduce host-spirv-llvm-translator).

Anyway: this patch is applied. Thanks!

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2023-10-01 16:50 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-25 17:30 [Buildroot] [PATCH v2 0/9] Add support for Rusticl in mesa3d Sebastian Weyer
2023-07-25 17:30 ` [Buildroot] [PATCH v2 1/9] package/rust-bindgen: new host package Sebastian Weyer
2023-10-01 16:40   ` Thomas Petazzoni via buildroot
2023-07-25 17:30 ` [Buildroot] [PATCH v2 2/9] package/llvm-project/llvm: add llvm dump support Sebastian Weyer
2023-07-26 18:56   ` Daniel Lang
2023-10-01 16:40   ` Thomas Petazzoni via buildroot
2023-07-25 17:30 ` [Buildroot] [PATCH v2 3/9] package/pkg-meson.mk: add rust cross-compiler support Sebastian Weyer
2023-07-25 17:30 ` [Buildroot] [PATCH v2 4/9] package/spirv-headers: new package Sebastian Weyer
2023-10-01 16:50   ` Thomas Petazzoni via buildroot [this message]
2023-07-25 17:30 ` [Buildroot] [PATCH v2 5/9] package/spirv-tools: " Sebastian Weyer
2023-10-01 16:53   ` Thomas Petazzoni via buildroot
2023-07-25 17:30 ` [Buildroot] [PATCH v2 6/9] package/spirv-llvm-translator: add target variant to provide LLVMSPIRVLib Sebastian Weyer
2023-07-25 17:30 ` [Buildroot] [PATCH v2 7/9] package/opencl-headers: new package Sebastian Weyer
2023-07-25 17:31 ` [Buildroot] [PATCH v2 8/9] package/opencl-icd-loader: " Sebastian Weyer
2023-07-25 17:31 ` [Buildroot] [PATCH v2 9/9] package/mesa3d: add RustiCL support Sebastian Weyer

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=20231001185031.4d0e9a8d@windsurf \
    --to=buildroot@buildroot.org \
    --cc=romain.naour@smile.fr \
    --cc=s.martin49@gmail.com \
    --cc=sebastian.weyer@smile.fr \
    --cc=thomas.petazzoni@bootlin.com \
    /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