diff options
Diffstat (limited to 'meta-python/recipes-devtools/python')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-grpcio-tools_1.62.2.bb | 4 | ||||
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-grpcio_1.62.2.bb | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-grpcio-tools_1.62.2.bb b/meta-python/recipes-devtools/python/python3-grpcio-tools_1.62.2.bb index e05b8734d6..5b8bbe681a 100644 --- a/meta-python/recipes-devtools/python/python3-grpcio-tools_1.62.2.bb +++ b/meta-python/recipes-devtools/python/python3-grpcio-tools_1.62.2.bb | |||
| @@ -16,4 +16,8 @@ SRC_URI[sha256sum] = "5fd5e1582b678e6b941ee5f5809340be5e0724691df5299aae8226640f | |||
| 16 | 16 | ||
| 17 | RDEPENDS:${PN} = "python3-grpcio" | 17 | RDEPENDS:${PN} = "python3-grpcio" |
| 18 | 18 | ||
| 19 | do_compile:prepend() { | ||
| 20 | export GRPC_PYTHON_BUILD_EXT_COMPILER_JOBS="${@oe.utils.parallel_make(d, False)}" | ||
| 21 | } | ||
| 22 | |||
| 19 | BBCLASSEXTEND = "native nativesdk" | 23 | BBCLASSEXTEND = "native nativesdk" |
diff --git a/meta-python/recipes-devtools/python/python3-grpcio_1.62.2.bb b/meta-python/recipes-devtools/python/python3-grpcio_1.62.2.bb index b12b509142..3581991a56 100644 --- a/meta-python/recipes-devtools/python/python3-grpcio_1.62.2.bb +++ b/meta-python/recipes-devtools/python/python3-grpcio_1.62.2.bb | |||
| @@ -38,6 +38,10 @@ BORING_SSL:aarch64 = "1" | |||
| 38 | BORING_SSL ?= "0" | 38 | BORING_SSL ?= "0" |
| 39 | export GRPC_BUILD_WITH_BORING_SSL_ASM = "${BORING_SSL}" | 39 | export GRPC_BUILD_WITH_BORING_SSL_ASM = "${BORING_SSL}" |
| 40 | 40 | ||
| 41 | do_compile:prepend() { | ||
| 42 | export GRPC_PYTHON_BUILD_EXT_COMPILER_JOBS="${@oe.utils.parallel_make(d, False)}" | ||
| 43 | } | ||
| 44 | |||
| 41 | GRPC_CFLAGS ?= "" | 45 | GRPC_CFLAGS ?= "" |
| 42 | GRPC_CFLAGS:append:toolchain-clang = " -fvisibility=hidden -fno-wrapv -fno-exceptions" | 46 | GRPC_CFLAGS:append:toolchain-clang = " -fvisibility=hidden -fno-wrapv -fno-exceptions" |
| 43 | export GRPC_PYTHON_CFLAGS = "${GRPC_CFLAGS}" | 47 | export GRPC_PYTHON_CFLAGS = "${GRPC_CFLAGS}" |
