Skip to content

Commit 3e476dd

Browse files
authored
Preserve llvm-project.src directory in crossdeps-builder (#1456)
1 parent 63d0217 commit 3e476dd

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

src/azurelinux/3.0/net10.0/crossdeps-builder/amd64/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ RUN \
8484
make install && \
8585
popd && \
8686
# Cleanup
87-
rm -rf llvm-project.src build
87+
# Don't clean llvm-project.src since it is used by derived images
88+
rm -rf build
8889

8990
ENV PATH="/opt/llvm/bin:$PATH"
9091

src/azurelinux/3.0/net8.0/crossdeps-builder/amd64/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ RUN \
8484
make install && \
8585
popd && \
8686
# Cleanup
87-
rm -rf llvm-project.src build
87+
# Don't clean llvm-project.src since it is used by derived images
88+
rm -rf build
8889

8990
ENV PATH="/opt/llvm/bin:$PATH"
9091

src/azurelinux/3.0/net9.0/crossdeps-builder/amd64/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ RUN \
8484
make install && \
8585
popd && \
8686
# Cleanup
87-
rm -rf llvm-project.src build
87+
# Don't clean llvm-project.src since it is used by derived images
88+
rm -rf build
8889

8990
ENV PATH="/opt/llvm/bin:$PATH"
9091

0 commit comments

Comments
 (0)