You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[clang-tools](https://github.com/muttleyxd/clang-tools-static-binaries) plugin for the [asdf version manager](https://asdf-vm.com).
5
+
[clang-tools](https://github.com/cpp-linter/asdf-clang-tools) plugin for the [asdf version manager](https://asdf-vm.com).
7
6
8
7
</div>
9
8
@@ -12,14 +11,15 @@
12
11
This is an asdf plugin for installing several clang tools:
13
12
14
13
- clang-format
15
-
- clang-query
16
14
- clang-tidy
15
+
- clang-query
16
+
- clang-apply-replacements
17
17
18
-
This plugin uses the pre-compiled binaries from the very handy [muttleyxd/clang-tools-static-binaries](https://github.com/muttleyxd/clang-tools-static-binaries) repo.
18
+
This plugin uses the pre-compiled binaries from the very handy [cpp-linter/clang-tools-static-binaries](https://github.com/cpp-linter/clang-tools-static-binaries) repo.
19
19
20
20
## Caveats
21
21
22
-
- Again, the source for these binaries is currently [muttleyxd/clang-tools-static-binaries](https://github.com/muttleyxd/clang-tools-static-binaries). Please make sure you trust that repository.
22
+
- Again, the source for these binaries is currently [cpp-linter/clang-tools-static-binaries](https://github.com/cpp-linter/clang-tools-static-binaries). Please make sure you trust that repository.
23
23
- Only Intel (`x86_64`/`amd64`) binaries are currently provided.
24
24
- These binaries do work on macOS with Apple Silicon, but they will run under Rosetta.
25
25
- Signed binaries are not provided for macOS. This plugin will offer to de-quarantine the binaries for you, but please make sure you understand the consequences.
@@ -31,32 +31,32 @@ This plugin uses the pre-compiled binaries from the very handy [muttleyxd/clang-
31
31
32
32
# Install
33
33
34
-
This plugin supports multiple tools (similar to [asdf-hashicorp](https://github.com/asdf-community/asdf-hashicorp) and [asdf-pyapp](https://github.com/amrox/asdf-pyapp).
# Set a version globally (on your ~/.tool-versions file)
59
-
asdf global clang-format latest
58
+
# Set a version (on your ~/.tool-versions file)
59
+
asdf set clang-format latest
60
60
61
61
# Now clang-tools commands are available
62
62
clang-format
@@ -70,18 +70,12 @@ install & manage versions.
70
70
## Environment Variables
71
71
72
72
-`ASDF_CLANG_TOOLS_MACOS_DEQUARANTINE`: set to "1" to automatically de-quarantine binaries. Otherwise, it will interactively ask to do so.
73
-
-`ASDF_CLANG_TOOLS_LINUX_IGNORE_ARCH`: set to "1" to install the `amd64` binary regardless of the host architecture. The [clang-tools](https://github.com/muttleyxd/clang-tools-static-binaries) project does not currently provide `arm64`/`aarch64` Linux binaries. This assumes that you have set up [QEMU User Emulation](https://wiki.debian.org/QemuUserEmulation) (or similar) to run foreign binaries under emulation.
74
-
75
-
# Acknowledgements
76
-
77
-
Thank you to the authors and contributors to [muttleyxd/clang-tools-static-binaries](https://github.com/muttleyxd/clang-tools-static-binaries).
73
+
-`ASDF_CLANG_TOOLS_LINUX_IGNORE_ARCH`: set to "1" to install the `amd64` binary regardless of the host architecture. The [clang-tools](https://github.com/cpp-linter/clang-tools-static-binaries) project does not currently provide `arm64`/`aarch64` Linux binaries. This assumes that you have set up [QEMU User Emulation](https://wiki.debian.org/QemuUserEmulation) (or similar) to run foreign binaries under emulation.
78
74
79
75
# Contributing
80
76
81
77
Contributions of any kind welcome! See the [contributing guide](contributing.md).
82
78
83
-
[Thanks goes to these contributors](https://github.com/amrox/asdf-clang-tools/graphs/contributors)!
0 commit comments