From 109f6d8952efa785169fc3a6e39449115d44eed2 Mon Sep 17 00:00:00 2001 From: shenxianpeng <3353385+shenxianpeng@users.noreply.github.com> Date: Tue, 24 Sep 2024 13:16:17 +0000 Subject: [PATCH 1/9] chore: bump clang-tools-static-binaries to master-57bca0b9 --- clang_tools/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang_tools/__init__.py b/clang_tools/__init__.py index 089d559..cecf029 100644 --- a/clang_tools/__init__.py +++ b/clang_tools/__init__.py @@ -8,4 +8,4 @@ suffix = ".exe" if install_os == "windows" else "" # tag of https://github.com/cpp-linter/clang-tools-static-binaries/releases -release_tag = "master-2e4f8c1f" +release_tag = "master-57bca0b9" From 576064eb98e4c708fbce62f3853872aab78f4e2d Mon Sep 17 00:00:00 2001 From: shenxianpeng Date: Wed, 25 Sep 2024 11:21:02 +0000 Subject: [PATCH 2/9] feat: support clang v19 --- .github/workflows/python-test.yml | 2 +- README.rst | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/python-test.yml b/.github/workflows/python-test.yml index e214520..93c0809 100644 --- a/.github/workflows/python-test.yml +++ b/.github/workflows/python-test.yml @@ -76,7 +76,7 @@ jobs: needs: [build] strategy: matrix: - version: [ 7, 8, 9, 10, 11, 12, 12.0.1, 13, 14, 15, 16, 17, 18 ] + version: [ 7, 8, 9, 10, 11, 12, 12.0.1, 13, 14, 15, 16, 17, 18, 19 ] os: [ ubuntu-latest, macos-latest, windows-latest ] fail-fast: false runs-on: ${{ matrix.os }} diff --git a/README.rst b/README.rst index 7d141b7..17169f6 100644 --- a/README.rst +++ b/README.rst @@ -132,12 +132,12 @@ Supported versions clang-format, clang-tidy, clang-query, clang-apply-replacements *************************************************************** .. csv-table:: - :header: "Version", "18", "17", "16", "15", "14", "13", "12", "11", "10", "9", "8", "7" + :header: "Version", "19", "18", "17", "16", "15", "14", "13", "12", "11", "10", "9", "8", "7" :stub-columns: 1 - Linux,✔️,✔️,✔️,✔️,✔️,✔️,✔️,✔️,✔️,✔️,✔️,✔️ - Windows,✔️,✔️,✔️,✔️,✔️,✔️,✔️,✔️,✔️,✔️,✔️,✔️ - macOS,✔️,✔️,✔️,✔️,✔️,✔️,✔️,✔️,✔️,✔️,✔️,✔️ + Linux,✔️,✔️,✔️,✔️,✔️,✔️,✔️,✔️,✔️,✔️,✔️,✔️,✔️ + Windows,✔️,✔️,✔️,✔️,✔️,✔️,✔️,✔️,✔️,✔️,✔️,✔️,✔️ + macOS,✔️,✔️,✔️,✔️,✔️,✔️,✔️,✔️,✔️,✔️,✔️,✔️,✔️ .. warning:: All clang-tidy v14+ builds for MacOS are still ~1.7 GB in size. From 30f231430657e21d750aa67fe275d1bf375f21d2 Mon Sep 17 00:00:00 2001 From: shenxianpeng Date: Wed, 25 Sep 2024 11:23:03 +0000 Subject: [PATCH 3/9] fix: update clang-format-12_macosx-amd64.sha512sum --- tests/clang-format-12_macosx-amd64.sha512sum | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/clang-format-12_macosx-amd64.sha512sum b/tests/clang-format-12_macosx-amd64.sha512sum index c5d0fa8..68a79ca 100644 --- a/tests/clang-format-12_macosx-amd64.sha512sum +++ b/tests/clang-format-12_macosx-amd64.sha512sum @@ -1 +1 @@ -7e59b49dbf8d67d8dac954f4683615b1a8f918dc42acb0a8e72dd1be8f3cc005a7aba4f20358f209301af67bfc237341885e60f3d8dab6e332fe695e3207998e clang-format-12_macosx-amd64 +2bf05024600216eef6da1884e35fc7a0b8a559dcff59d960c255034253727e2b24bc2b4310d6adb340b0afaea18fdf9a25fa303597b094316da95a07e5956c17 clang-format-12_macosx-amd64 From 7c5bd53753235463212e7159913e26777539f026 Mon Sep 17 00:00:00 2001 From: shenxianpeng Date: Wed, 25 Sep 2024 11:23:49 +0000 Subject: [PATCH 4/9] fix update clang-format-12_windows-amd64.sha512sum --- tests/clang-format-12_windows-amd64.sha512sum | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/clang-format-12_windows-amd64.sha512sum b/tests/clang-format-12_windows-amd64.sha512sum index 701ece3..a7e0043 100644 --- a/tests/clang-format-12_windows-amd64.sha512sum +++ b/tests/clang-format-12_windows-amd64.sha512sum @@ -1 +1 @@ -a4056f4bfe1dab0d50020468e88a8e79c2de3a1ccbc58b5e79b4c02643bd1ae225417651912afa138e95492a4a98ae37f6a1aa9a63f785e261c73032207e3e37 *clang-format-12_windows-amd64 +b9212a6ddb5d94f8b86b7bfeaa7fd5c5c0dd10dbdd987e0db8580c7abe084ebc7d0d5d9fb1ebee73370dc8ef53558060527e044db24d7652273fb25f29803af6 *clang-format-12_windows-amd64 From 3d649951e0229950588a6f68061d3701cd695f83 Mon Sep 17 00:00:00 2001 From: shenxianpeng Date: Thu, 24 Oct 2024 20:24:10 +0300 Subject: [PATCH 5/9] Update README.rst --- README.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.rst b/README.rst index 17169f6..ca9fb22 100644 --- a/README.rst +++ b/README.rst @@ -142,6 +142,8 @@ clang-format, clang-tidy, clang-query, clang-apply-replacements .. warning:: All clang-tidy v14+ builds for MacOS are still ~1.7 GB in size. + clang-tidy-19_macosx-amd64 size > 2GB, unable to upload to GitHub releases and get by clang-tools CLI. + ------------ Thanks to the project From ee8d9793a285db339f88e33e2a3ceb6a67c5e87d Mon Sep 17 00:00:00 2001 From: shenxianpeng Date: Mon, 16 Dec 2024 20:33:10 +0200 Subject: [PATCH 6/9] chore: bump clang-tools-static-binaries to master-67c95218 --- README.rst | 1 + clang_tools/__init__.py | 2 +- tests/clang-format-12_windows-amd64.sha512sum | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index ca9fb22..6148693 100644 --- a/README.rst +++ b/README.rst @@ -142,6 +142,7 @@ clang-format, clang-tidy, clang-query, clang-apply-replacements .. warning:: All clang-tidy v14+ builds for MacOS are still ~1.7 GB in size. +.. caution:: clang-tidy-19_macosx-amd64 size > 2GB, unable to upload to GitHub releases and get by clang-tools CLI. ------------ diff --git a/clang_tools/__init__.py b/clang_tools/__init__.py index cecf029..44a6d9e 100644 --- a/clang_tools/__init__.py +++ b/clang_tools/__init__.py @@ -8,4 +8,4 @@ suffix = ".exe" if install_os == "windows" else "" # tag of https://github.com/cpp-linter/clang-tools-static-binaries/releases -release_tag = "master-57bca0b9" +release_tag = "master-67c95218" diff --git a/tests/clang-format-12_windows-amd64.sha512sum b/tests/clang-format-12_windows-amd64.sha512sum index a7e0043..cad6962 100644 --- a/tests/clang-format-12_windows-amd64.sha512sum +++ b/tests/clang-format-12_windows-amd64.sha512sum @@ -1 +1 @@ -b9212a6ddb5d94f8b86b7bfeaa7fd5c5c0dd10dbdd987e0db8580c7abe084ebc7d0d5d9fb1ebee73370dc8ef53558060527e044db24d7652273fb25f29803af6 *clang-format-12_windows-amd64 +e6af28b649411d9bd53b6a2dac85f1b99a20a6667c83cf0b10f78ec67027c89a720b8f7262c4b48315f4fc53b87099a5d0b9ef87adee94173976e5284b5f9adb *clang-format-12_windows-amd64 From ea69318444113e18ec93c44271078ed704b71146 Mon Sep 17 00:00:00 2001 From: shenxianpeng Date: Mon, 16 Dec 2024 20:38:29 +0200 Subject: [PATCH 7/9] update warining in readme --- README.rst | 1 - 1 file changed, 1 deletion(-) diff --git a/README.rst b/README.rst index 6148693..ca9fb22 100644 --- a/README.rst +++ b/README.rst @@ -142,7 +142,6 @@ clang-format, clang-tidy, clang-query, clang-apply-replacements .. warning:: All clang-tidy v14+ builds for MacOS are still ~1.7 GB in size. -.. caution:: clang-tidy-19_macosx-amd64 size > 2GB, unable to upload to GitHub releases and get by clang-tools CLI. ------------ From 5d3dcc624b9fe1d9517242c547503277db3d00eb Mon Sep 17 00:00:00 2001 From: shenxianpeng Date: Mon, 16 Dec 2024 20:45:19 +0200 Subject: [PATCH 8/9] Update license and pyproject.toml --- LICENSE | 2 +- README.rst | 2 +- pyproject.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/LICENSE b/LICENSE index 09feb1b..d3d6c40 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2022 Peter Shen +Copyright (c) 2022 Xianpeng Shen Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.rst b/README.rst index ca9fb22..d808202 100644 --- a/README.rst +++ b/README.rst @@ -3,7 +3,7 @@ clang-tools CLI **Install clang-format, clang-tidy, clang-query, and clang-apply-replacements binaries with clang-tools CLI.** -.. |latest-version| image:: https://img.shields.io/pypi/v/clang-tools +.. |latest-version| image:: https://img.shields.io/pypi/v/clang-tools?color=blue :target: https://pypi.org/project/clang-tools/ :alt: PyPI .. |python-test| image:: https://github.com/cpp-linter/clang-tools-pip/actions/workflows/python-test.yml/badge.svg diff --git a/pyproject.toml b/pyproject.toml index a4656fe..cba8f69 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,7 +9,7 @@ readme = "README.rst" keywords = ["clang", "clang-tools", "clang-extra", "clang-tidy", "clang-format"] license = {text = "MIT License"} authors = [ - { name = "Peter Shen", email = "xianpeng.shen@gmail.com" }, + { name = "Xianpeng Shen", email = "xianpeng.shen@gmail.com" }, { name = "Brendan Doherty", email = "2bndy5@gmail.com" }, ] classifiers = [ From 27f9d590cec06fa832bc4f83965d5975e40d515f Mon Sep 17 00:00:00 2001 From: shenxianpeng Date: Mon, 16 Dec 2024 20:49:13 +0200 Subject: [PATCH 9/9] skip v19 test on macos --- .github/workflows/python-test.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/python-test.yml b/.github/workflows/python-test.yml index 93c0809..f0105e3 100644 --- a/.github/workflows/python-test.yml +++ b/.github/workflows/python-test.yml @@ -78,6 +78,9 @@ jobs: matrix: version: [ 7, 8, 9, 10, 11, 12, 12.0.1, 13, 14, 15, 16, 17, 18, 19 ] os: [ ubuntu-latest, macos-latest, windows-latest ] + exclude: + - version: 19 + os: macos-latest # FIXME: https://github.com/cpp-linter/clang-tools-static-binaries/issues/40 fail-fast: false runs-on: ${{ matrix.os }} steps: