| 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 |
| |
| 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 |