Remove unnecessary llvm files at the end
This doesn't help reduce the docker image size since it's done in a separate RUN step than the one that added the files. (compiler-rt and libunwind currently fail to build after stripping the llvm installation though.)
This commit is contained in:
1 parent
60af9e29e1
commit
d3ff718bd1
2 files changed
+40
No files matched your search
@@ -63,3 +63,8 @@ RUN cd test && \
|
||||
$arch-w64-mingw32-clang++ $test.cpp -o $test-$arch.exe || exit 1; \
|
||||
done; \
|
||||
done
|
||||
|
||||
# Strip the final toolchain. (This doesn't reduce the total docker image
|
||||
# size as long as it is in a separate RUN layer though.)
|
||||
COPY strip-llvm.sh .
|
||||
RUN ./strip-llvm.sh $TOOLCHAIN_PREFIX
|
||||
Reference in new issue
Block a user