summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorMaksim Denisov <denisov.maksim@huawei.com>2024-10-10 15:58:55 +0200
committerKlaus Aehlig <klaus.aehlig@huawei.com>2024-11-07 14:48:55 +0100
commit2e5e11a05c18b6cec59eaddb312869bef4805702 (patch)
treefdd862af0abef6cdb4c467e16de7ad582bde514a /etc
parent16d901c576bbfda339848bc1dd83f3776a6d61bf (diff)
downloadbootstrappable-toolchain-2e5e11a05c18b6cec59eaddb312869bef4805702.tar.gz
Build iwyu as a linting tool of clang-18
Co-authored-by: Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com>
Diffstat (limited to 'etc')
-rw-r--r--etc/imports/iwyu.TARGETS6
-rw-r--r--etc/repos.json12
2 files changed, 18 insertions, 0 deletions
diff --git a/etc/imports/iwyu.TARGETS b/etc/imports/iwyu.TARGETS
new file mode 100644
index 0000000..53fa53d
--- /dev/null
+++ b/etc/imports/iwyu.TARGETS
@@ -0,0 +1,6 @@
+{ "sources": {"type": "export", "target": "files"}
+, "files":
+ { "type": "install"
+ , "dirs": [[["TREE", null, "."], "iwyu"]]
+ }
+}
diff --git a/etc/repos.json b/etc/repos.json
index e6c6e1a..aeca7b3 100644
--- a/etc/repos.json
+++ b/etc/repos.json
@@ -472,6 +472,7 @@
{ "rules": "rules/clang_with_gcc13"
, "binutils": "imports/binutils-latest"
, "patches": "patches"
+ , "iwyu": "iwyu-18"
}
}
, "tools/busybox-1.36.1":
@@ -801,5 +802,16 @@
{ "repository": {"type": "file", "path": "test"}
, "bindings": {"rules": "test/rules-clang-native"}
}
+ , "iwyu-18":
+ { "repository":
+ { "type": "archive"
+ , "content": "04ffb3d3e78e6d20fd0ea2fe627f83de4418528d"
+ , "fetch": "https://github.com/include-what-you-use/include-what-you-use/archive/refs/tags/0.22.tar.gz"
+ , "sha256": "34c7636da2abe7b86580b53b762f5269e71efff460f24f17d5913c56eb99cb7c"
+ , "subdir": "include-what-you-use-0.22"
+ }
+ , "target_file_name": "iwyu.TARGETS"
+ , "target_root": "imports"
+ }
}
}