Skip to contentSkip to conversation

package/boost: cleanup HOST_BOOST_FLAGS

PATCH Superseded Michael Nosthoff via buildroot 1 participant 3 messages Jul 12, 2024

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/boost: cleanup HOST_BOOST_FLAGS

- fix alphabetical ordering
- align to 80 char width
- add comment explaining why options are enabled

---
 package/boost/boost.mk | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
package/boost/boost.mk +5 -4
index 9b1baec5bf..84c95ef993 100644
@@ -13,12 +13,13 @@ BOOST_LICENSE_FILES = LICENSE_1_0.txt
 BOOST_CPE_ID_VENDOR = boost
 
 # keep host variant as minimal as possible
+# regex & system are needed by host-riscv-isa-sim
 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 \
+	--without-libraries=$(subst $(space),$(comma),atomic chrono container \
+	context contract coroutine date_time exception fiber filesystem graph \
 	graph_parallel iostreams json locale log math mpi nowide program_options \
-	python random serialization stacktrace test thread timer \
-	type_erasure url wave)
+	python random serialization stacktrace test thread timer type_erasure url \
+	wave)
 
 BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_ATOMIC),,atomic)
 BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_CHRONO),,chrono)
Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

Hi Michael,

Quoted 3 lines · Michael Nosthoff via buildroot

- fix alphabetical ordering
- align to 80 char width
- add comment explaining why options are enabled

Thanks for this improvement!

Perhaps you can also change it to one per line? Because honestly, that wall of
text still doesn't look very clean :-)

Regards,
Arnout

Quoted 18 lines
---
  package/boost/boost.mk | 9 +++++----
  1 file changed, 5 insertions(+), 4 deletions(-)
package/boost/boost.mk +1 -2
index 9b1baec5bf..84c95ef993 100644
@@ -13,12 +13,13 @@ BOOST_LICENSE_FILES = LICENSE_1_0.txt
  BOOST_CPE_ID_VENDOR = boost
 
  # keep host variant as minimal as possible
+# regex & system are needed by host-riscv-isa-sim
  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 \

package/boost/boost.mk BOOST_LICENSE_FILES = LICENSE_1_0.txt · line 25

Quoted 10 lines
package/boost/boost.mk +4 -2
+	--without-libraries=$(subst $(space),$(comma),atomic chrono container \
+	context contract coroutine date_time exception fiber filesystem graph \
  	graph_parallel iostreams json locale log math mpi nowide program_options \
-	python random serialization stacktrace test thread timer \
-	type_erasure url wave)
+	python random serialization stacktrace test thread timer type_erasure url \
+	wave)
 
  BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_ATOMIC),,atomic)
  BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_CHRONO),,chrono)

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#2 lore raw

Hi Arnout,

Quoted 11 lines · Arnout Vandecappelle

Hi Michael,

Quoted 3 lines · Michael Nosthoff via buildroot

- fix alphabetical ordering
- align to 80 char width
- add comment explaining why options are enabled

Thanks for this improvement!

Perhaps you can also change it to one per line? Because honestly, that wall of
text still doesn't look very clean :-)

Happy to do this. This will make future diffs for version dumps much better to read. (I was actually considering doing it. But wasn't sure if it was wanted.)

Regards,
Michael

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot