From 08f45a397bc0d91d104497e757d7f32f0a2580da Mon Sep 17 00:00:00 2001 From: Morgan Lokhorst Date: Wed, 10 Jul 2024 18:53:48 +1000 Subject: [PATCH] Add gnu/linux arm64 support in lsp--system-arch (#4492) * Add arm64 system-arch for gnu/linux system-type * clients/lsp-lua: Add gnu/linux arm64 install path --- clients/lsp-lua.el | 3 ++- lsp-mode.el | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/clients/lsp-lua.el b/clients/lsp-lua.el index 56fc321fcdc..01b5121dced 100644 --- a/clients/lsp-lua.el +++ b/clients/lsp-lua.el @@ -552,7 +552,8 @@ and `../lib` ,exclude `../lib/temp`. (pcase system-type ('gnu/linux (pcase (lsp-resolve-value lsp--system-arch) - ('x64 "linux-x64"))) + ('x64 "linux-x64") + ('arm64 "linux-arm64"))) ('darwin (pcase (lsp-resolve-value lsp--system-arch) ('x64 "darwin-x64") diff --git a/lsp-mode.el b/lsp-mode.el index 790f14352a4..05cac9b3c23 100644 --- a/lsp-mode.el +++ b/lsp-mode.el @@ -1503,6 +1503,7 @@ INHERIT-INPUT-METHOD will be proxied to `completing-read' without changes." (_ 'x64))) ('gnu/linux (pcase system-configuration + ((rx bol "aarch64-") 'arm64) ((rx bol "x86_64") 'x64) ((rx bol (| "i386" "i886")) 'x32))) (_