* [Buildroot] [PATCH 1/1] package/spirv-headers: needs C++
@ 2023-10-28 15:14 Fabrice Fontaine
2023-10-28 20:45 ` Yann E. MORIN
0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2023-10-28 15:14 UTC (permalink / raw)
To: buildroot; +Cc: Sebastian Weyer, Fabrice Fontaine
Fix the following build failure raised since the addition of the package
in commit 0a01085abeb7d8a097cb68b9f7f4faec7711543c:
CMake Error at /home/buildroot/autobuild/instance-3/output-1/host/share/cmake-3.27/Modules/CMakeTestCXXCompiler.cmake:60 (message):
The C++ compiler
"/usr/bin/c++"
is not able to compile a simple test program.
Fixes:
- http://autobuild.buildroot.org/results/4b94edf6dee03e74ff53939aa228069cc6ba4292
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
| 4 ++++
1 file changed, 4 insertions(+)
--git a/package/spirv-headers/Config.in b/package/spirv-headers/Config.in
index fd20f301d4..e03a6ca1ee 100644
--- a/package/spirv-headers/Config.in
+++ b/package/spirv-headers/Config.in
@@ -1,6 +1,10 @@
config BR2_PACKAGE_SPIRV_HEADERS
bool "spirv-headers"
+ depends on BR2_INSTALL_LIBSTDCPP
help
Machine-readable files for the SPIR-V Registry
https://www.khronos.org/registry/spir-v
+
+comment "spirv-headers needs a toolchain w/ C++"
+ depends on !BR2_INSTALL_LIBSTDCPP
--
2.42.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [Buildroot] [PATCH 1/1] package/spirv-headers: needs C++
2023-10-28 15:14 [Buildroot] [PATCH 1/1] package/spirv-headers: needs C++ Fabrice Fontaine
@ 2023-10-28 20:45 ` Yann E. MORIN
0 siblings, 0 replies; 2+ messages in thread
From: Yann E. MORIN @ 2023-10-28 20:45 UTC (permalink / raw)
To: Fabrice Fontaine; +Cc: Sebastian Weyer, buildroot
Fabrice, All,
On 2023-10-28 17:14 +0200, Fabrice Fontaine spake thusly:
> Fix the following build failure raised since the addition of the package
> in commit 0a01085abeb7d8a097cb68b9f7f4faec7711543c:
>
> CMake Error at /home/buildroot/autobuild/instance-3/output-1/host/share/cmake-3.27/Modules/CMakeTestCXXCompiler.cmake:60 (message):
> The C++ compiler
>
> "/usr/bin/c++"
>
> is not able to compile a simple test program.
>
> Fixes:
> - http://autobuild.buildroot.org/results/4b94edf6dee03e74ff53939aa228069cc6ba4292
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
> package/spirv-headers/Config.in | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/package/spirv-headers/Config.in b/package/spirv-headers/Config.in
> index fd20f301d4..e03a6ca1ee 100644
> --- a/package/spirv-headers/Config.in
> +++ b/package/spirv-headers/Config.in
> @@ -1,6 +1,10 @@
> config BR2_PACKAGE_SPIRV_HEADERS
> bool "spirv-headers"
> + depends on BR2_INSTALL_LIBSTDCPP
spirv-headers are selected by spirv-tools, so the dependency must be
propagated there.
Applied to master with the above fixed, thanks.
Regards,
Yann E. MORIN.
> help
> Machine-readable files for the SPIR-V Registry
>
> https://www.khronos.org/registry/spir-v
> +
> +comment "spirv-headers needs a toolchain w/ C++"
> + depends on !BR2_INSTALL_LIBSTDCPP
> --
> 2.42.0
>
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-10-28 20:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-28 15:14 [Buildroot] [PATCH 1/1] package/spirv-headers: needs C++ Fabrice Fontaine
2023-10-28 20:45 ` Yann E. MORIN
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.