Skip to content

Commit 11c37ba

Browse files
authored
Added aarch64 support (#114)
Implements fix of #89 Raspberry Pi 4B returns "aarch64" instead of "arm64", and wouldn't proceed on loading the Linux arm shared library. Tested on `Linux raspberrypi 6.12.47+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.12.47-1+rpt1 (2025-09-16) aarch64` (fresh Raspberry Pi OS Lite image + git + direnv)
1 parent 0d543ba commit 11c37ba

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lighter/signer_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def __get_shared_library():
6969
is_mac = platform.system() == "Darwin"
7070
is_windows = platform.system() == "Windows"
7171
is_x64 = platform.machine().lower() in ("amd64", "x86_64")
72-
is_arm = platform.machine().lower() == "arm64"
72+
is_arm = platform.machine().lower() in ("arm64", "aarch64")
7373

7474
current_file_directory = os.path.dirname(os.path.abspath(__file__))
7575
path_to_signer_folders = os.path.join(current_file_directory, "signers")

0 commit comments

Comments
 (0)