Skip to content

Commit

Permalink
use boringssl asm optimizations in aarch64 wheel source build
Browse files Browse the repository at this point in the history
  • Loading branch information
jtattermusch committed Feb 15, 2021
1 parent 6102f67 commit 0f791c7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,10 +303,13 @@ def check_linker_need_libatomic():
if BUILD_WITH_BORING_SSL_ASM and not BUILD_WITH_SYSTEM_OPENSSL:
LINUX_X86_64 = 'linux-x86_64'
LINUX_ARM = 'linux-arm'
LINUX_AARCH64 = 'linux-aarch64'
if LINUX_X86_64 == util.get_platform():
asm_key = 'crypto_linux_x86_64'
elif LINUX_ARM == util.get_platform():
asm_key = 'crypto_linux_arm'
elif LINUX_AARCH64 == util.get_platform():
asm_key = 'crypto_linux_aarch64'
elif "mac" in util.get_platform() and "x86_64" in util.get_platform():
asm_key = 'crypto_mac_x86_64'
else:
Expand Down

0 comments on commit 0f791c7

Please sign in to comment.