| config BR2_PACKAGE_PYTHON_GRPCIO_ARCH_SUPPORTS | |
| bool | |
| # see third_party/boringssl-with-bazel/src/include/openssl/target.h | |
| default y if BR2_aarch64 || BR2_aarch64_be | |
| default y if BR2_arm || BR2_armeb | |
| default y if BR2_i386 || BR2_x86_64 | |
| default y if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el | |
| default y if BR2_riscv | |
| # The bundled abseil-cpp only implements DirectMmap() for the o32 | |
| # ABI on MIPS, and its 64-bit fallback fails to build with the n32 | |
| # ABI, where long is 32-bit. See | |
| # third_party/abseil-cpp/absl/base/internal/direct_mmap.h | |
| depends on !BR2_MIPS_NABI32 | |
| config BR2_PACKAGE_PYTHON_GRPCIO | |
| bool "python-grpcio" | |
| depends on BR2_PACKAGE_PYTHON_GRPCIO_ARCH_SUPPORTS | |
| depends on BR2_INSTALL_LIBSTDCPP | |
| select BR2_PACKAGE_PYTHON_TYPING_EXTENSIONS # runtime | |
| help | |
| HTTP/2-based RPC framework. | |
| https://grpc.io | |
| comment "python-grpcio needs a toolchain w/ C++" | |
| depends on BR2_PACKAGE_PYTHON_GRPCIO_ARCH_SUPPORTS | |
| depends on !BR2_INSTALL_LIBSTDCPP |