package/highway: new package
PATCH v2 1/2 package/highway: new package
Highway is a C++ library that provides portable SIMD/vector intrinsics.
https://github.com/google/highway
---
Changes v1 -> v2:
- Included Thomas' comments:
- Removed _ARCH_SUPPORTS
- Removed depends on !BR2_arm || BR2_ARM_FPU_VFPV4 The package will not attempt to build on all arm arch.
- Removed depends on !BR2_RISCV_32
Highway 1.0.2 supports rv32
- Add a patch to better handle arm toolchains not providing <sys/auxv.h>
- Rewrote and simplified the runtime test to now use the armv5 default basic config.
Tested on branch next at commit 1692691 with commands:
make check-package
...
0 warnings generated
python -m flake8 support/testing/tests/package/test_highway.py
[no-output]
support/testing/run-tests \
-d dl -o output_folder \
tests.package.test_highway.TestHighway
...
OK
./utils/test-pkg -a -p highway
arm-aarch64 [ 1/44]: OK
bootlin-aarch64-glibc [ 2/44]: OK
bootlin-arcle-hs38-uclibc [ 3/44]: OK
bootlin-armv5-uclibc [ 4/44]: OK
bootlin-armv7-glibc [ 5/44]: OK
bootlin-armv7m-uclibc [ 6/44]: OK
bootlin-armv7-musl [ 7/44]: OK
bootlin-m68k-5208-uclibc [ 8/44]: SKIPPED
bootlin-m68k-68040-uclibc [ 9/44]: OK
bootlin-microblazeel-uclibc [10/44]: OK
bootlin-mipsel32r6-glibc [11/44]: OK
bootlin-mipsel-uclibc [12/44]: OK
bootlin-nios2-glibc [13/44]: OK
bootlin-openrisc-uclibc [14/44]: OK
bootlin-powerpc64le-power8-glibc [15/44]: OK
bootlin-powerpc-e500mc-uclibc [16/44]: OK
bootlin-riscv32-glibc [17/44]: OK
bootlin-riscv64-glibc [18/44]: OK
bootlin-riscv64-musl [19/44]: OK
bootlin-sh4-uclibc [20/44]: OK
bootlin-sparc64-glibc [21/44]: OK
bootlin-sparc-uclibc [22/44]: OK
bootlin-x86-64-glibc [23/44]: OK
bootlin-x86-64-musl [24/44]: OK
bootlin-x86-64-uclibc [25/44]: OK
bootlin-xtensa-uclibc [26/44]: FAILED
br-arm-basic [27/44]: SKIPPED
br-arm-full-nothread [28/44]: OK
br-arm-full-static [29/44]: OK
br-i386-pentium4-full [30/44]: OK
br-i386-pentium-mmx-musl [31/44]: OK
br-mips64-n64-full [32/44]: OK
br-mips64r6-el-hf-glibc [33/44]: OK
br-powerpc-603e-basic-cpp [34/44]: OK
br-powerpc64-power7-glibc [35/44]: OK
linaro-aarch64-be [36/44]: OK
linaro-aarch64 [37/44]: OK
linaro-arm [38/44]: OK
sourcery-arm-armv4t [39/44]: SKIPPED
sourcery-arm [40/44]: SKIPPED
sourcery-arm-thumb2 [41/44]: SKIPPED
sourcery-mips64 [42/44]: SKIPPED
sourcery-mips [43/44]: SKIPPED
sourcery-nios2 [44/44]: OK44 builds, 7 skipped, 1 build failed, 0 legal-info failed, 0 show-info failed
Note: Failure of bootlin-xtensa-uclibc is a known issue unrelated to this package.
--- DEVELOPERS | 2 + package/Config.in | 1 + ...Check-for-the-presence-of-sys-auxv.h.patch | 62 +++++++++++++++++++ package/highway/Config.in | 30 +++++++++ package/highway/highway.hash | 3 + package/highway/highway.mk | 51 +++++++++++++++ support/testing/tests/package/test_highway.py | 22 +++++++ 7 files changed, 171 insertions(+) create mode 100644 package/highway/0001-Check-for-the-presence-of-sys-auxv.h.patch create mode 100644 package/highway/Config.in create mode 100644 package/highway/highway.hash create mode 100644 package/highway/highway.mk create mode 100644 support/testing/tests/package/test_highway.py
DEVELOPERS +2 -0
@@ -1693,6 +1693,7 @@ F: configs/zynq_qmtech_defconfig F: package/fluid-soundfont/ F: package/fluidsynth/ F: package/glslsandbox-player/ +F: package/highway/ F: package/octave/ F: package/ola/ F: package/ptm2human/
@@ -1706,6 +1707,7 @@ F: package/zynaddsubfx/ F: support/testing/tests/package/sample_python_distro.py F: support/testing/tests/package/sample_python_gnupg.py F: support/testing/tests/package/sample_python_pyalsa.py +F: support/testing/tests/package/test_highway.py F: support/testing/tests/package/test_hwloc.py F: support/testing/tests/package/test_octave.py F: support/testing/tests/package/test_ola.py
package/Config.in +1 -0
@@ -2007,6 +2007,7 @@ menu "Other" source "package/gsl/Config.in" source "package/gtest/Config.in" source "package/gumbo-parser/Config.in" + source "package/highway/Config.in" source "package/jemalloc/Config.in" source "package/lapack/Config.in" source "package/libabseil-cpp/Config.in"
package/highway/0001-Check-for-the-presence-of-sys-auxv.h.patch new file +62 -0
62 lines not on this page · raw message
package/highway/Config.in new file +30 -0
@@ -0,0 +1,30 @@ +config BR2_PACKAGE_HIGHWAY + bool "highway" + depends on BR2_TOOLCHAIN_HAS_ATOMIC + depends on BR2_INSTALL_LIBSTDCPP + # For gcc bug 58969, see: + # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58969 + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # C++11, GCC_BUG_58969 + help + Highway is a C++ library that provides portable SIMD/vector + intrinsics. + + https://github.com/google/highway + +if BR2_PACKAGE_HIGHWAY + +config BR2_PACKAGE_HIGHWAY_CONTRIB + bool "Enable Contrib" + help + Build Highway contrib library which contains extra + SIMD-related utilities: an image class with aligned rows, a + math library (16 functions already implemented, mostly + trigonometry), and functions for computing dot products and + sorting. + +config BR2_PACKAGE_HIGHWAY_EXAMPLES + bool "Enable Examples" + help + Build Highway examples + +endif
package/highway/highway.hash new file +3 -0
@@ -0,0 +1,3 @@ +# Locally computed: +sha256 e8ef71236ac0d97f12d553ec1ffc5b6375d57b5f0b860c7447dd69b6ed1072db highway-1.0.2.tar.gz +sha256 43070e2d4e532684de521b885f385d0841030efa2b1a20bafb76133a5e1379c1 LICENSE
package/highway/highway.mk new file +51 -0
51 lines not on this page · raw message
support/testing/tests/package/test_highway.py new file +22 -0
@@ -0,0 +1,22 @@ +import os + +import infra.basetest + + +class TestHighway(infra.basetest.BRTest): + config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \ + """ + BR2_PACKAGE_HIGHWAY=y + BR2_PACKAGE_HIGHWAY_EXAMPLES=y + BR2_TARGET_ROOTFS_CPIO=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + + def test_run(self): + cpio_file = os.path.join(self.builddir, "images", "rootfs.cpio") + self.emulator.boot(arch="armv5", + kernel="builtin", + options=["-initrd", cpio_file]) + self.emulator.login() + + self.assertRunOk("hwy_benchmark", timeout=20)
Signature · 6 lines
2.38.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v2 2/2 package/libjxl: new package
libjxl is the reference implementation of JPEG XL (encoder and decoder).
https://github.com/libjxl/libjxl
---
Changes v1 -> v2:
- Included Thomas' comments:
- Removed: depends on BR2_PACKAGE_HIGHWAY_ARCH_SUPPORTS
- Added, to workaround build/link failures:
- depends on !BR2_STATIC_LIBS
- depends on !BR2_sh4
- Added missing Config.in comment
- Added optional libpng dependency, when selected
Tested on branch next at commit 1692691 with commands:
make check-package
...
0 warnings generated
python -m flake8 support/testing/tests/package/test_libjxl.py
[no-output]
support/testing/run-tests \
-d dl -o output_folder \
tests.package.test_libjxl.TestLibJXL
...
OK
./utils/test-pkg -a -p libjxl
arm-aarch64 [ 1/44]: OK
bootlin-aarch64-glibc [ 2/44]: OK
bootlin-arcle-hs38-uclibc [ 3/44]: OK
bootlin-armv5-uclibc [ 4/44]: OK
bootlin-armv7-glibc [ 5/44]: OK
bootlin-armv7m-uclibc [ 6/44]: SKIPPED
bootlin-armv7-musl [ 7/44]: OK
bootlin-m68k-5208-uclibc [ 8/44]: SKIPPED
bootlin-m68k-68040-uclibc [ 9/44]: OK
bootlin-microblazeel-uclibc [10/44]: OK
bootlin-mipsel32r6-glibc [11/44]: OK
bootlin-mipsel-uclibc [12/44]: OK
bootlin-nios2-glibc [13/44]: OK
bootlin-openrisc-uclibc [14/44]: OK
bootlin-powerpc64le-power8-glibc [15/44]: OK
bootlin-powerpc-e500mc-uclibc [16/44]: OK
bootlin-riscv32-glibc [17/44]: OK
bootlin-riscv64-glibc [18/44]: OK
bootlin-riscv64-musl [19/44]: OK
bootlin-sh4-uclibc [20/44]: SKIPPED
bootlin-sparc64-glibc [21/44]: OK
bootlin-sparc-uclibc [22/44]: OK
bootlin-x86-64-glibc [23/44]: OK
bootlin-x86-64-musl [24/44]: OK
bootlin-x86-64-uclibc [25/44]: OK
bootlin-xtensa-uclibc [26/44]: FAILED
br-arm-basic [27/44]: SKIPPED
br-arm-full-nothread [28/44]: SKIPPED
br-arm-full-static [29/44]: SKIPPED
br-i386-pentium4-full [30/44]: OK
br-i386-pentium-mmx-musl [31/44]: OK
br-mips64-n64-full [32/44]: OK
br-mips64r6-el-hf-glibc [33/44]: OK
br-powerpc-603e-basic-cpp [34/44]: OK
br-powerpc64-power7-glibc [35/44]: OK
linaro-aarch64-be [36/44]: OK
linaro-aarch64 [37/44]: OK
linaro-arm [38/44]: OK
sourcery-arm-armv4t [39/44]: SKIPPED
sourcery-arm [40/44]: SKIPPED
sourcery-arm-thumb2 [41/44]: SKIPPED
sourcery-mips64 [42/44]: SKIPPED
sourcery-mips [43/44]: SKIPPED
sourcery-nios2 [44/44]: OK44 builds, 11 skipped, 1 build failed, 0 legal-info failed, 0 show-info failed
Note: Failure of bootlin-xtensa-uclibc is a known issue unrelated to this package.
Note 2: relaxing the arch dependencies of the highway and libjxl packages revealed few bugs. Notably a gcc sh4 issue, and a libjxl issue in static configuration with toolchains needing libatomic. Those cases are just excluded for now.
--- DEVELOPERS | 2 + package/Config.in | 1 + package/libjxl/Config.in | 23 +++++++++ package/libjxl/libjxl.hash | 4 ++ package/libjxl/libjxl.mk | 33 ++++++++++++ support/testing/tests/package/test_libjxl.py | 53 ++++++++++++++++++++ 6 files changed, 116 insertions(+) create mode 100644 package/libjxl/Config.in create mode 100644 package/libjxl/libjxl.hash create mode 100644 package/libjxl/libjxl.mk create mode 100644 support/testing/tests/package/test_libjxl.py
DEVELOPERS +2 -0
@@ -1694,6 +1694,7 @@ F: package/fluid-soundfont/ F: package/fluidsynth/ F: package/glslsandbox-player/ F: package/highway/ +F: package/libjxl/ F: package/octave/ F: package/ola/ F: package/ptm2human/
@@ -1709,6 +1710,7 @@ F: support/testing/tests/package/sample_python_gnupg.py F: support/testing/tests/package/sample_python_pyalsa.py F: support/testing/tests/package/test_highway.py F: support/testing/tests/package/test_hwloc.py +F: support/testing/tests/package/test_libjxl.py F: support/testing/tests/package/test_octave.py F: support/testing/tests/package/test_ola.py F: support/testing/tests/package/test_ola/
package/Config.in +1 -0
@@ -1576,6 +1576,7 @@ menu "Graphics" source "package/libgta/Config.in" source "package/libgtk2/Config.in" source "package/libgtk3/Config.in" + source "package/libjxl/Config.in" source "package/libmediaart/Config.in" source "package/libmng/Config.in" source "package/libpng/Config.in"
package/libjxl/Config.in new file +23 -0
@@ -0,0 +1,23 @@ +config BR2_PACKAGE_LIBJXL + bool "libjxl" + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # highway + depends on BR2_TOOLCHAIN_HAS_ATOMIC # highway + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_INSTALL_LIBSTDCPP # highway + # libjxl fail to link statically due to libatomic issue + depends on !BR2_STATIC_LIBS + # GCC bug on sh4: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81426 + depends on !BR2_sh4 + select BR2_PACKAGE_BROTLI + select BR2_PACKAGE_HIGHWAY + select BR2_PACKAGE_LCMS2 + help + libjxl is the reference implementation of JPEG XL (encoder + and decoder). + + https://github.com/libjxl/libjxl + +comment "libjxl needs a toolchain with C++, threads, gcc >= 7" + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_7 || \ + !BR2_INSTALL_LIBSTDCPP || \ + !BR2_TOOLCHAIN_HAS_THREADS
package/libjxl/libjxl.hash new file +4 -0
@@ -0,0 +1,4 @@ +# Locally computed: +sha256 3114bba1fabb36f6f4adc2632717209aa6f84077bc4e93b420e0d63fa0455c5e libjxl-0.7.0.tar.gz +sha256 8405932022a556380c2d8c272eff154a923feb197233f348ce5f7334fb0a5ede LICENSE +sha256 91915f8ae056a68a3c5bdf05d9f6f78bb6903e27a8ca3a8434c9e4ac87300575 PATENTS
package/libjxl/libjxl.mk new file +33 -0
@@ -0,0 +1,33 @@ +################################################################################ +# +# libjxl +# +################################################################################ + +LIBJXL_VERSION = 0.7.0 +LIBJXL_SITE = $(call github,libjxl,libjxl,v$(LIBJXL_VERSION)) +LIBJXL_LICENSE = BSD-3-Clause +LIBJXL_LICENSE_FILES = LICENSE PATENTS +LIBJXL_CPE_ID_VENDOR = libjxl_project +LIBJXL_INSTALL_STAGING = YES + +LIBJXL_DEPENDENCIES = \ + brotli \ + lcms2 \ + highway + +ifeq ($(BR2_PACKAGE_LIBPNG),y) +LIBJXL_DEPENDENCIES += libpng +endif + +LIBJXL_CONF_OPTS = \ + -DJPEGXL_BUNDLE_LIBPNG=OFF \ + -DJPEGXL_BUNDLE_SKCMS=OFF \ + -DJPEGXL_ENABLE_DOXYGEN=OFF \ + -DJPEGXL_ENABLE_JNI=OFF \ + -DJPEGXL_ENABLE_MANPAGES=OFF \ + -DJPEGXL_ENABLE_OPENEXR=OFF \ + -DJPEGXL_ENABLE_SJPEG=OFF \ + -DJPEGXL_ENABLE_SKCMS=OFF + +$(eval $(cmake-package))
support/testing/tests/package/test_libjxl.py new file +53 -0
53 lines not on this page · raw message
Signature · 6 lines
2.38.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH next v2 2/2] package/libjxl: new package
Hello Julien,
Quoted 5 lines · On Thu, 24 Nov 2022 23:05:52 +0100 Julien Olivain <[email protected]> wrote:
libjxl is the reference implementation of JPEG XL (encoder and decoder).
https://github.com/libjxl/libjxl
Signed-off-by Julien Olivain <[email protected]>
Thanks, I've applied with some small changes, see below.
Quoted 6 lines
package/libjxl/Config.in new file +0
-0
package/libjxl/Config.in line 10
Quoted 10 lines
package/libjxl/Config.in new file +10
-0@@ -0,0 +1,23 @@ +config BR2_PACKAGE_LIBJXL + bool "libjxl" + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # highway + depends on BR2_TOOLCHAIN_HAS_ATOMIC # highway + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_INSTALL_LIBSTDCPP # highway + # libjxl fail to link statically due to libatomic issue + depends on !BR2_STATIC_LIBS + # GCC bug on sh4: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81426 + depends on !BR2_sh4
Changed to use a new BR2_TOOLCHAIN_HAS_GCC_BUG_81426 blind option.
package/libjxl/Config.in line 23
Quoted 13 lines
package/libjxl/Config.in new file +13
-0+ select BR2_PACKAGE_BROTLI + select BR2_PACKAGE_HIGHWAY + select BR2_PACKAGE_LCMS2 + help + libjxl is the reference implementation of JPEG XL (encoder + and decoder). + + https://github.com/libjxl/libjxl + +comment "libjxl needs a toolchain with C++, threads, gcc >= 7" + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_7 || \ + !BR2_INSTALL_LIBSTDCPP || \ + !BR2_TOOLCHAIN_HAS_THREADS
This was not complete: you have 6 "depends on" above, so 6 depends on should be handled here one way or another:
comment "libjxl needs a toolchain with C++, threads, gcc >= 7, dynamic library"
depends on BR2_TOOLCHAIN_HAS_ATOMIC
depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_81426
depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_7 || \
!BR2_INSTALL_LIBSTDCPP || \
!BR2_TOOLCHAIN_HAS_THREADS || \
BR2_STATIC_LIBSApplied with that change. Thanks a lot for the runtime tests, very useful as usual!
Best regards,
Thomas
Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 5 lines · On Thu, 24 Nov 2022 23:05:51 +0100 Julien Olivain <[email protected]> wrote:
Highway is a C++ library that provides portable SIMD/vector intrinsics.
https://github.com/google/highway
Signed-off-by Julien Olivain <[email protected]>
Thanks! I've applied, with some small changes, see below.
Quoted 9 lines
package/highway/0001-Check-for-the-presence-of-sys-auxv.h.patch new file +3
-0@@ -0,0 +1,62 @@ +From 491e3b1c2b8c44a2cfd35db117b02ef0fdf6a8e5 Mon Sep 17 00:00:00 2001 +From: Julien Olivain <[email protected]> +Date: Wed, 23 Nov 2022 23:27:11 +0100
package/highway/0001-Check-for-the-presence-of-sys-auxv.h.patch line 13
Quoted 10 lines
package/highway/0001-Check-for-the-presence-of-sys-auxv.h.patch new file +10
-0+Subject: [PATCH] Check for the presence of <sys/auxv.h> + +Not all gcc versions are providing <sys/auxv.h>. Checking for +HWY_ARCH_ARM && HWY_COMPILER_GCC_ACTUAL && HWY_OS_LINUX is not +sufficient and fail to build in some situations (it was observed for +some gcc armv7m toolchains). + +This patch adds a check for <sys/auxv.h> and include it only if present. + +Signed-off-by: Julien Olivain <[email protected]>
Has this patch been submitted upstream?
Quoted 26 lines
package/highway/Config.in new file +20
-0@@ -0,0 +1,30 @@ +config BR2_PACKAGE_HIGHWAY + bool "highway" + depends on BR2_TOOLCHAIN_HAS_ATOMIC + depends on BR2_INSTALL_LIBSTDCPP + # For gcc bug 58969, see: + # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58969 + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # C++11, GCC_BUG_58969 + help + Highway is a C++ library that provides portable SIMD/vector + intrinsics. + + https://github.com/google/highway + +if BR2_PACKAGE_HIGHWAY + +config BR2_PACKAGE_HIGHWAY_CONTRIB + bool "Enable Contrib" + help + Build Highway contrib library which contains extra + SIMD-related utilities: an image class with aligned rows, a
package/highway/Config.in line 30
Quoted 10 lines
package/highway/Config.in new file +10
-0+ math library (16 functions already implemented, mostly + trigonometry), and functions for computing dot products and + sorting. + +config BR2_PACKAGE_HIGHWAY_EXAMPLES + bool "Enable Examples" + help + Build Highway examples + +endif
You forgot the Config.in comment matching the "depends on" of the main options:
comment "highway needs a toolchain w/ C++, gcc >= 7"
depends on BR2_TOOLCHAIN_HAS_ATOMIC
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_7
Quoted 5 lines
package/highway/Config.in new file +5
-0+HIGHWAY_CXXFLAGS = $(TARGET_CXXFLAGS) + +ifeq ($(BR2_PACKAGE_HIGHWAY_CONTRIB),y) +HIGHWAY_CONF_OPTS += -DHWY_ENABLE_CONTRIB=ON +else
package/highway/Config.in
Quoted 10 lines
package/highway/Config.in new file +10
-0+HIGHWAY_CONF_OPTS += -DHWY_ENABLE_CONTRIB=OFF +endif + +# Examples are not installed by cmake. This binary can be useful for +# quick testing and debug. +define HIGHWAY_INSTALL_EXAMPLES + $(INSTALL) -m 0755 \ + $(@D)/examples/hwy_benchmark \ + $(TARGET_DIR)/usr/bin/hwy_benchmark +endef
I've moved this...
package/highway/Config.in
Quoted 3 lines
package/highway/Config.in new file +3
-0+ +ifeq ($(BR2_PACKAGE_HIGHWAY_EXAMPLES),y) +HIGHWAY_CONF_OPTS += -DHWY_ENABLE_EXAMPLES=ON
... here, as it is used only within this condition.
Applied with those changes, thanks!
Thomas
Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Hi Thomas,
Quoted 10 lines · Thomas Petazzoni
Quoted 5 lines · On Thu, 24 Nov 2022 23:05:51 +0100 Julien Olivain <[email protected]> wrote:
Highway is a C++ library that provides portable SIMD/vector intrinsics.
https://github.com/google/highway
Signed-off-by Julien Olivain <[email protected]>Thanks! I've applied, with some small changes, see below.
Thanks for the improvements!
[...]
Quoted 6 lines
Review
Quoted 4 lines
+This patch adds a check for <
sys/auxv.h> and include it only if present.(quoted diff) +2
-0+ +Signed-off-by: Julien Olivain <[email protected]>Has this patch been submitted upstream?
Yes! A slightly reworked version was accepted upstream and is already in the latest 1.0.3 version tag. See:
https://github.com/google/highway/commit/1cab22047a6ef750ef2bc38ad47d6e765d6d376a
I'm currently reworking this 1.0.3 and I'll send a version bump when ready.
Best regards,
Julien.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot