package/tbb: always build Release
PATCH 1/1 package/tbb: always build Release
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.
--- package/tbb/tbb.mk | 1 + 1 file changed, 1 insertion(+)
package/tbb/tbb.mk +1 -0
@@ -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
Signature · 6 lines
2.35.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Yann E. MORIN
AppliedArnout, All,
On 2022-04-30 20:57 +0200, Arnout Vandecappelle (Essensium/Mind) spake thusly:
Quoted 8 lines
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_DEBUGhas no effect for this package, but that shouldn't be a bi issue.
Applied to master, thanks.
Regards,
Yann E. MORIN.
Quoted 23 lines
--- package/tbb/tbb.mk | 1 + 1 file changed, 1 insertion(+)package/tbb/tbb.mk +1
-0@@ -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=OFFSignature · 6 lines
2.35.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Signature · 10 lines
.-----------------.--------------------.------------------.--------------------. | 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 [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot