diff options
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-grpcio')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-grpcio/mips_bigendian.patch | 2 | ||||
-rw-r--r-- | meta-python/recipes-devtools/python/python3-grpcio/riscv64_support.patch | 21 |
2 files changed, 1 insertions, 22 deletions
diff --git a/meta-python/recipes-devtools/python/python3-grpcio/mips_bigendian.patch b/meta-python/recipes-devtools/python/python3-grpcio/mips_bigendian.patch index 343f25a46e..775afa415c 100644 --- a/meta-python/recipes-devtools/python/python3-grpcio/mips_bigendian.patch +++ b/meta-python/recipes-devtools/python/python3-grpcio/mips_bigendian.patch | |||
@@ -12,4 +12,4 @@ | |||
12 | +#elif defined(__mips__) && defined(__LP64__) | 12 | +#elif defined(__mips__) && defined(__LP64__) |
13 | #define OPENSSL_64_BIT | 13 | #define OPENSSL_64_BIT |
14 | #define OPENSSL_MIPS64 | 14 | #define OPENSSL_MIPS64 |
15 | #elif defined(__riscv) | 15 | #elif defined(__riscv) && __SIZEOF_POINTER__ == 8 |
diff --git a/meta-python/recipes-devtools/python/python3-grpcio/riscv64_support.patch b/meta-python/recipes-devtools/python/python3-grpcio/riscv64_support.patch deleted file mode 100644 index 350c67deaf..0000000000 --- a/meta-python/recipes-devtools/python/python3-grpcio/riscv64_support.patch +++ /dev/null | |||
@@ -1,21 +0,0 @@ | |||
1 | Add RISC-V 64bit support | ||
2 | |||
3 | Upstream-Status: Pending | ||
4 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
5 | --- a/third_party/boringssl-with-bazel/src/include/openssl/base.h | ||
6 | +++ b/third_party/boringssl-with-bazel/src/include/openssl/base.h | ||
7 | @@ -108,6 +108,14 @@ extern "C" { | ||
8 | #elif defined(__MIPSEL__) && defined(__LP64__) | ||
9 | #define OPENSSL_64_BIT | ||
10 | #define OPENSSL_MIPS64 | ||
11 | +#elif defined(__riscv) | ||
12 | +# if (__riscv_xlen == 64) | ||
13 | +# define OPENSSL_64_BIT | ||
14 | +# define OPENSSL_RISCV64 | ||
15 | +# elif(__riscv_xlen == 32) | ||
16 | +# define OPENSSL_32_BIT | ||
17 | +# define OPENSSL_RISCV32 | ||
18 | +# endif | ||
19 | #elif defined(__pnacl__) | ||
20 | #define OPENSSL_32_BIT | ||
21 | #define OPENSSL_PNACL | ||