[vcpkg-ci-llvm] Reduce llvm artifact to cacheable size#23896
[vcpkg-ci-llvm] Reduce llvm artifact to cacheable size#23896strega-nil-ms merged 3 commits intomicrosoft:masterfrom
Conversation
🆗 Artifact reused from cache |
|
llvm always takes a lot of time and space. |
This is not the point. The point is that there is an issue with uploading the artifact from CI to cache, and thus saving the build time the next time CI needs that artifact. |
|
cc @BillyONeal, what do you think about this? |
|
The issue was discussed in #21905 (comment) before. If someone can fix the uploads on the tool side, this PR isn't needed. Until this is done, I want a mitigation on the PR CI side. |
|
The change now seems to have the desired effect for windows triplets. Note that this is needed mostly for x64-windows due to the chain |
|
I feel like the underlying problem with the cache needs to be solved. If vcpkg detects that a blob will be to big it should just split it up. |
Sure. But it was discussed and did move forward. |
many nuget servers also suffer a 2GB hard limit, and llvm already goes beyond that in many cases. Your suggestion cannot solve that issue, also because you have to consider when you have to fetch the tool: you don't know a priori if it's split and in how many parts |
great job for now. It looks like only linux is still failing. Is it so big the final artifact? or do you have any idea why is it failing? |
just look for |
Well there is at least one natural line (but not 50/50): Split the debug part (huge) from the release part. In a perfect world, the release part would be valid also for release-only configs.
In the past users had issues with caching of
It is failing for wanting to send too much data: And similiar to the gdal:x64-linux example, llvm always builds with static linkage. |
|
Stop discuss the splitting here. This PR is meant as a temporary mitigation. |
|
I'm not sure about this part, hoping other member review this PR. |
|
Adding this to the Thursday meeting; I'm a soft approve. |
🙏 |
|
Thanks @dg0yt! We are good with this PR :) |
What does your PR fix?
Cf. [vcpkg-ci] Current CI problems #21905 (comment):
The
llvm:x64-windowsbinary artifact couldn't be uploaded to binary caching. So it was rebuilt (2 h!) whenever needed, even for PRs which were unrelated to llvm but triggeredvcpkg-ci-opencv:x64-windows.This is an attempt to mitigate the issue (until resolved in vcpkg tool) by removing some llvm features from windows CI.
Which triplets are supported/not supported? Have you updated the CI baseline?
unchanged, no
Does your PR follow the maintainer guide?
yes
If you have added/updated a port: Have you run
./vcpkg x-add-version --alland committed the result?not needed