Skip to content

Commit b2e6d37

Browse files
author
MacroFake
committed
Merge bitcoin/bitcoin#26256: ci: Remove clang-format from lint task
fa04376 Remove clang-format from lint task (MacroFake) Pull request description: clang-format could be used in scripted diffs, but remained largely unused. So remove the install bloat, as it is unlikely to be used in the future. ACKs for top commit: fanquake: ACK fa04376 hebasto: ACK fa04376 Tree-SHA512: e0a3ee47d2aa2565dd34676914c558c985eaeb522a05f10bcaac115871edcf0d7f101b517e4d452ca5223c40b18ad02883c31e2da3d1f4ff86464a9af0097b11
2 parents d3cdd37 + fa04376 commit b2e6d37

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

ci/lint/04_install.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,14 @@
77
export LC_ALL=C
88

99
${CI_RETRY_EXE} apt-get update
10-
${CI_RETRY_EXE} apt-get install -y clang-format-9 python3-pip curl git gawk jq
10+
${CI_RETRY_EXE} apt-get install -y python3-pip curl git gawk jq
1111
(
1212
# Temporary workaround for https://github.com/bitcoin/bitcoin/pull/26130#issuecomment-1260499544
1313
# Can be removed once the underlying image is bumped to something that includes git2.34 or later
1414
sed -i -e 's/bionic/jammy/g' /etc/apt/sources.list
1515
${CI_RETRY_EXE} apt-get update
1616
${CI_RETRY_EXE} apt-get install -y --reinstall git
1717
)
18-
update-alternatives --install /usr/bin/clang-format clang-format "$(which clang-format-9 )" 100
19-
update-alternatives --install /usr/bin/clang-format-diff clang-format-diff "$(which clang-format-diff-9)" 100
2018

2119
${CI_RETRY_EXE} pip3 install codespell==2.2.1
2220
${CI_RETRY_EXE} pip3 install flake8==4.0.1

0 commit comments

Comments
 (0)