From 225cac05bcedbf8b7f0b079fc669694c32866a60 Mon Sep 17 00:00:00 2001 From: pat-trunk-io Date: Wed, 26 Jul 2023 10:11:51 -0700 Subject: [PATCH] LLVM linters set correct arch for linux arm64 (#389) --- linters/clang-format/plugin.yaml | 5 +++++ linters/clang-tidy/plugin.yaml | 5 +++++ linters/iwyu/plugin.yaml | 5 +++++ 3 files changed, 15 insertions(+) diff --git a/linters/clang-format/plugin.yaml b/linters/clang-format/plugin.yaml index 591c31f07..6909fdba7 100644 --- a/linters/clang-format/plugin.yaml +++ b/linters/clang-format/plugin.yaml @@ -10,6 +10,11 @@ lint: version: <14.0.0 - os: linux: linux + cpu: + arm_64: aarch64 + x86_64: x86_64 + url: https://trunk.io/releases/clang-format-${version}-${os}-${cpu}.tar.gz + - os: macos: macos cpu: x86_64: x86_64 diff --git a/linters/clang-tidy/plugin.yaml b/linters/clang-tidy/plugin.yaml index 4a3606db7..ab92ae9d9 100644 --- a/linters/clang-tidy/plugin.yaml +++ b/linters/clang-tidy/plugin.yaml @@ -10,6 +10,11 @@ lint: version: <14.0.0 - os: linux: linux + cpu: + arm_64: aarch64 + x86_64: x86_64 + url: https://trunk.io/releases/clang-tidy-${version}-${os}-${cpu}.tar.gz + - os: macos: macos cpu: x86_64: x86_64 diff --git a/linters/iwyu/plugin.yaml b/linters/iwyu/plugin.yaml index e3caafe28..240330e50 100644 --- a/linters/iwyu/plugin.yaml +++ b/linters/iwyu/plugin.yaml @@ -6,6 +6,11 @@ lint: downloads: - os: linux: linux + cpu: + arm_64: aarch64 + x86_64: x86_64 + url: https://trunk.io/releases/include-what-you-use-${version}-${os}-${cpu}.tar.gz + - os: macos: macos cpu: x86_64: x86_64