From 7f14fb25e726e1b0f84ed3cd5dffe56e5444cbd9 Mon Sep 17 00:00:00 2001 From: Bradley Dice Date: Tue, 19 Sep 2023 07:50:26 -0500 Subject: [PATCH] Update to clang 16.0.6. (#1266) This PR updates cuspatial to use clang 16.0.6. This aligns with the major version 16 being used elsewhere in RAPIDS, with a bugfix version that avoids clang-format issues around `*` multiplication operators. Authors: - Bradley Dice (https://github.com/bdice) Approvers: - Mark Harris (https://github.com/harrism) URL: https://github.com/rapidsai/cuspatial/pull/1266 --- .pre-commit-config.yaml | 2 +- cpp/scripts/run-clang-format.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5d2fb2b29..f4ae6e253 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -31,7 +31,7 @@ repos: hooks: - id: cython-lint - repo: https://github.com/pre-commit/mirrors-clang-format - rev: v15.0.7 + rev: v16.0.6 hooks: - id: clang-format types_or: [c, c++, cuda] diff --git a/cpp/scripts/run-clang-format.py b/cpp/scripts/run-clang-format.py index f47ac53a2..18d9f9b76 100644 --- a/cpp/scripts/run-clang-format.py +++ b/cpp/scripts/run-clang-format.py @@ -22,7 +22,7 @@ import tempfile -EXPECTED_VERSION = "15.0.7" +EXPECTED_VERSION = "16.0.6" VERSION_REGEX = re.compile(r"clang-format version ([0-9.]+)") # NOTE: populate this list with more top-level dirs as we add more of them to the cuspatial repo DEFAULT_DIRS = ["cpp/include",