Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v2 1/1] package/mesa3d: set cpp_rtti option
@ 2022-09-14 23:03 James Hilliard
  2022-09-18  8:31 ` Thomas Petazzoni
  2022-09-29  6:14 ` Peter Korsgaard
  0 siblings, 2 replies; 3+ messages in thread
From: James Hilliard @ 2022-09-14 23:03 UTC (permalink / raw)
  To: buildroot; +Cc: Bernd Kuhls, Romain Naour, James Hilliard

This needs to be set based on BR2_PACKAGE_LLVM_RTTI being set.

Fixes:
 - http://autobuild.buildroot.net/results/e2ebc9a73ed421aa6be44fe41bb5224cc12f699d

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
---
Changes v1 -> v2:
  - move rtti option under BR2_PACKAGE_MESA3D_LLVM
---
 package/mesa3d/mesa3d.mk | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/package/mesa3d/mesa3d.mk b/package/mesa3d/mesa3d.mk
index 0630f43df1..daefd6f6d5 100644
--- a/package/mesa3d/mesa3d.mk
+++ b/package/mesa3d/mesa3d.mk
@@ -48,6 +48,11 @@ ifeq ($(BR2_PACKAGE_MESA3D_LLVM),y)
 MESA3D_DEPENDENCIES += host-llvm llvm
 MESA3D_MESON_EXTRA_BINARIES += llvm-config='$(STAGING_DIR)/usr/bin/llvm-config'
 MESA3D_CONF_OPTS += -Dllvm=enabled
+ifeq ($(BR2_PACKAGE_LLVM_RTTI),y)
+MESA3D_CONF_OPTS += -Dcpp_rtti=true
+else
+MESA3D_CONF_OPTS += -Dcpp_rtti=false
+endif
 else
 # Avoid automatic search of llvm-config
 MESA3D_CONF_OPTS += -Dllvm=disabled
-- 
2.34.1

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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [Buildroot] [PATCH v2 1/1] package/mesa3d: set cpp_rtti option
  2022-09-14 23:03 [Buildroot] [PATCH v2 1/1] package/mesa3d: set cpp_rtti option James Hilliard
@ 2022-09-18  8:31 ` Thomas Petazzoni
  2022-09-29  6:14 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2022-09-18  8:31 UTC (permalink / raw)
  To: James Hilliard; +Cc: Bernd Kuhls, Romain Naour, buildroot

On Wed, 14 Sep 2022 17:03:34 -0600
James Hilliard <james.hilliard1@gmail.com> wrote:

> This needs to be set based on BR2_PACKAGE_LLVM_RTTI being set.
> 
> Fixes:
>  - http://autobuild.buildroot.net/results/e2ebc9a73ed421aa6be44fe41bb5224cc12f699d
> 
> Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
> ---
> Changes v1 -> v2:
>   - move rtti option under BR2_PACKAGE_MESA3D_LLVM
> ---
>  package/mesa3d/mesa3d.mk | 5 +++++
>  1 file changed, 5 insertions(+)

Applied to master, thanks.

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Buildroot] [PATCH v2 1/1] package/mesa3d: set cpp_rtti option
  2022-09-14 23:03 [Buildroot] [PATCH v2 1/1] package/mesa3d: set cpp_rtti option James Hilliard
  2022-09-18  8:31 ` Thomas Petazzoni
@ 2022-09-29  6:14 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2022-09-29  6:14 UTC (permalink / raw)
  To: James Hilliard; +Cc: Bernd Kuhls, Romain Naour, buildroot

>>>>> "James" == James Hilliard <james.hilliard1@gmail.com> writes:

 > This needs to be set based on BR2_PACKAGE_LLVM_RTTI being set.
 > Fixes:
 >  - http://autobuild.buildroot.net/results/e2ebc9a73ed421aa6be44fe41bb5224cc12f699d

 > Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
 > ---
 > Changes v1 -> v2:
 >   - move rtti option under BR2_PACKAGE_MESA3D_LLVM

Committed to 2022.02.x, 2022.05.x and 2022.08.x, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-09-29  6:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-14 23:03 [Buildroot] [PATCH v2 1/1] package/mesa3d: set cpp_rtti option James Hilliard
2022-09-18  8:31 ` Thomas Petazzoni
2022-09-29  6:14 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox