Skip to content

Commit 6afaf41

Browse files
VladRassokhinnikita-nazarov
authored andcommitted
Tests: support linux-aarch64, different name is used for .so
1 parent 881fb4c commit 6afaf41

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test_runner.py

+3
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,16 @@ def output_file(name: str, directory: Optional[str] = None) -> str:
5151
def dynamic_library_name(lib_name) -> str:
5252
def dynamic_lib_format() -> str:
5353
os_type = platform.system()
54+
os_arch = platform.processor()
5455
if os_type == "Windows":
5556
if get_java_bitness() == 32:
5657
return '{}32.dll'
5758
else:
5859
return '{}.dll'
5960
if os_type == "Darwin":
6061
return 'lib{}.dylib'
62+
if os_type == "Linux" and os_arch == 'aarch64':
63+
return 'lib{}_aarch64.so'
6164
if os_type == "Linux":
6265
return 'lib{}.so'
6366
raise Exception("Unknown OS type")

0 commit comments

Comments
 (0)