All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/boost: enable system on host
@ 2022-01-14 17:18 Fabrice Fontaine
  2022-01-15  9:49 ` Yann E. MORIN
  0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2022-01-14 17:18 UTC (permalink / raw)
  To: buildroot; +Cc: Fabrice Fontaine

boost system (which provides boost asio) is needed by host-riscv-isa-sim
since its addition in commit ea033cecf990ed3f86619647523a9ad2ccb09adb:

configure: error: Could not find a version of the Boost::Asio library!

Fixes:
 - http://autobuild.buildroot.org/results/6c33a66386ab2171454d8ea8c1bd17a5582e21dd

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/boost/boost.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/boost/boost.mk b/package/boost/boost.mk
index 6d1046e9a2..2d2a8fb311 100644
--- a/package/boost/boost.mk
+++ b/package/boost/boost.mk
@@ -17,7 +17,7 @@ HOST_BOOST_FLAGS = --without-icu --with-toolset=gcc \
 	--without-libraries=$(subst $(space),$(comma),atomic chrono context \
 	contract container coroutine date_time exception fiber filesystem graph \
 	graph_parallel iostreams json locale log math mpi nowide program_options \
-	python random serialization stacktrace system test thread timer \
+	python random serialization stacktrace test thread timer \
 	type_erasure wave)
 
 BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_ATOMIC),,atomic)
-- 
2.34.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 1/1] package/boost: enable system on host
  2022-01-14 17:18 [Buildroot] [PATCH 1/1] package/boost: enable system on host Fabrice Fontaine
@ 2022-01-15  9:49 ` Yann E. MORIN
  0 siblings, 0 replies; 2+ messages in thread
From: Yann E. MORIN @ 2022-01-15  9:49 UTC (permalink / raw)
  To: Fabrice Fontaine; +Cc: buildroot

Fabrice, All,

On 2022-01-14 18:18 +0100, Fabrice Fontaine spake thusly:
> boost system (which provides boost asio) is needed by host-riscv-isa-sim
> since its addition in commit ea033cecf990ed3f86619647523a9ad2ccb09adb:
> 
> configure: error: Could not find a version of the Boost::Asio library!
> 
> Fixes:
>  - http://autobuild.buildroot.org/results/6c33a66386ab2171454d8ea8c1bd17a5582e21dd
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
>  package/boost/boost.mk | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/package/boost/boost.mk b/package/boost/boost.mk
> index 6d1046e9a2..2d2a8fb311 100644
> --- a/package/boost/boost.mk
> +++ b/package/boost/boost.mk
> @@ -17,7 +17,7 @@ HOST_BOOST_FLAGS = --without-icu --with-toolset=gcc \
>  	--without-libraries=$(subst $(space),$(comma),atomic chrono context \
>  	contract container coroutine date_time exception fiber filesystem graph \
>  	graph_parallel iostreams json locale log math mpi nowide program_options \
> -	python random serialization stacktrace system test thread timer \
> +	python random serialization stacktrace test thread timer \
>  	type_erasure wave)

I was wondering why we need to disable those, and the original commit
log is not very explicit about why this is so (429ffbd2253 boost: add
host variant), and the comment is not very helpful either...

So I did a test: remove all those exclusion (just exclude python [0]),
and build just host-boost (it has no dependency):

    master      : 54s
    no-exclusion: 2min 38s

So yes, this is a big increase. But considering that we have no way for
host packages to express dependencies on Boost features, I wonder if we
should not just build the whole stuff. For example, packages in a
br2-external have no way to say so...

Anyway, in the meantime: applied to master, thanks.

[0] building the Boost python module would require the python development
    files be installed on the host, or that we depend on host-python{,3},
    neither of which are acceptable

Regards,
Yann E. MORIN.

>  BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_ATOMIC),,atomic)
> -- 
> 2.34.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-01-15  9:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-14 17:18 [Buildroot] [PATCH 1/1] package/boost: enable system on host Fabrice Fontaine
2022-01-15  9:49 ` 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.