Skip to content

Commit dcc9d45

Browse files
committed
ci: clang-tidy: workaround unsupported external clang-tidy config
clang-tidy is parsing the config file of ComputeLibrary and throwing an error since the config option `AnalyzeTemporaryDtors` has been removed in clang-tidy >= 18. This workaround temporarily strips this option until it is fixed upstream. Signed-off-by: Siddhartha Menon <siddhartha.menon@arm.com>
1 parent d22185c commit dcc9d45

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/clang-tidy.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# *******************************************************************************
22
# Copyright 2025 Intel Corporation
3-
# Copyright 2025 Arm Limited and affiliates.
3+
# Copyright 2025-2026 Arm Limited and affiliates.
44
# SPDX-License-Identifier: Apache-2.0
55
#
66
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -117,6 +117,10 @@ jobs:
117117
echo "arm_compute_version=${ACL_VERSION}" > ./build/arm_compute_version.embed
118118
touch ./build/libarm_compute.so
119119
touch ./build/libarm_compute_graph.so
120+
# TODO: This option has been removed in clang-tidy >= 18. We should
121+
# remove this line once it's removed from ComputeLibrary's config
122+
# file.
123+
sed -i '/AnalyzeTemporaryDtors/d' .clang-tidy
120124
121125
- if: ${{ matrix.config.arch == 'x64' }}
122126
name: Configure oneDNN - x64

0 commit comments

Comments
 (0)