All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/tbb: always build Release
@ 2022-04-30 18:57 Arnout Vandecappelle (Essensium/Mind)
  2022-05-01 19:43 ` Yann E. MORIN
  0 siblings, 1 reply; 2+ messages in thread
From: Arnout Vandecappelle (Essensium/Mind) @ 2022-04-30 18:57 UTC (permalink / raw)
  To: buildroot

When tbb is built in Debug mode, it installs libtbb_debug.so instead of
libtbb.so. This confuses downstream packages that want to link with it
(e.g. sysdig).

Always build in Release mode. This means that BR2_ENABLE_RUNTIME_DEBUG
has no effect for this package, but that shouldn't be a bi issue.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
 package/tbb/tbb.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/tbb/tbb.mk b/package/tbb/tbb.mk
index afe756a85a..fc720fd2f5 100644
--- a/package/tbb/tbb.mk
+++ b/package/tbb/tbb.mk
@@ -13,6 +13,7 @@ TBB_CPE_ID_VENDOR = intel
 TBB_CPE_ID_PRODUCT = threading_building_blocks
 
 TBB_CONF_OPTS = \
+	-DCMAKE_BUILD_TYPE=Release \
 	-DTBB_STRICT=OFF \
 	-DTBB_TEST=OFF
 
-- 
2.35.1

_______________________________________________
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] package/tbb: always build Release
  2022-04-30 18:57 [Buildroot] [PATCH] package/tbb: always build Release Arnout Vandecappelle (Essensium/Mind)
@ 2022-05-01 19:43 ` Yann E. MORIN
  0 siblings, 0 replies; 2+ messages in thread
From: Yann E. MORIN @ 2022-05-01 19:43 UTC (permalink / raw)
  To: Arnout Vandecappelle (Essensium/Mind); +Cc: buildroot

Arnout, All,

On 2022-04-30 20:57 +0200, Arnout Vandecappelle (Essensium/Mind) spake thusly:
> When tbb is built in Debug mode, it installs libtbb_debug.so instead of
> libtbb.so. This confuses downstream packages that want to link with it
> (e.g. sysdig).
> 
> Always build in Release mode. This means that BR2_ENABLE_RUNTIME_DEBUG
> has no effect for this package, but that shouldn't be a bi issue.
> 
> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>

Applied to master, thanks.

Regards,
Yann E. MORIN.

> ---
>  package/tbb/tbb.mk | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/package/tbb/tbb.mk b/package/tbb/tbb.mk
> index afe756a85a..fc720fd2f5 100644
> --- a/package/tbb/tbb.mk
> +++ b/package/tbb/tbb.mk
> @@ -13,6 +13,7 @@ TBB_CPE_ID_VENDOR = intel
>  TBB_CPE_ID_PRODUCT = threading_building_blocks
>  
>  TBB_CONF_OPTS = \
> +	-DCMAKE_BUILD_TYPE=Release \
>  	-DTBB_STRICT=OFF \
>  	-DTBB_TEST=OFF
>  
> -- 
> 2.35.1
> 
> _______________________________________________
> 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:[~2022-05-01 19:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-30 18:57 [Buildroot] [PATCH] package/tbb: always build Release Arnout Vandecappelle (Essensium/Mind)
2022-05-01 19:43 ` 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.