Skip to content

Commit d43f630

Browse files
committed
Dockerfile: run patchwise install after clangd
Install patchwise dependencies after clang installation Signed-off-by: Nishanth Menon <[email protected]>
1 parent 7c21998 commit d43f630

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ RUN apt-get update \
7979
clang \
8080
clangd \
8181
lld \
82+
&& patchwise --install \
8283
&& echo "**** cleanup ****" \
8384
&& apt-get autoremove -y\
8485
&& apt-get clean -y\

build-env.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ download_build_install_python_deps()
5353
python -m pip install --upgrade ply gitpython yamllint rfc3987 pylibfdt
5454
python -m pip install git+https://github.com/devicetree-org/dt-schema.git@$DTSCHEMA_REV
5555
# Install patchwise and it's dependencies
56-
python -m pip install patchwise && patchwise --install
56+
python -m pip install patchwise
5757
# HACK - Just dont stick around with 20.0.0 clang.. use the bleeding edge..
5858
sed -ie "s/20.0.0/23.0.0/g" /usr/local/venv/lib/python3.13/site-packages/patchwise/patch_review/ai_review/ai_code_review.py
5959
rm -rf "/tmp/.cache/" /tmp/get-pip.py

0 commit comments

Comments
 (0)