Comments (2)
I have a use case where each user having their own local cache is challenging due to disk space.
Having a copy of the dependencies local in disk is necessary to link with them. The "ground truth" storage is the server side such as Artifactory, and the client side, the cache is just a temporary storage that can be cleaned at any time and it will be re-populated from the server automatically. But dependencies must be in the disk (in the local cache) to be used in C/C++ builds, there is no way that dependencies can be used otherwise. So every machine, developer or CI machine must have a populated cache with the dependencies they need to build.
Disk space is very rarely an issue, unless you let the Conan caches to grow forever without cleaning them from time to time.
There are some very simple strategies that you can do:
- Just clean the cache at every job or periodically.
- Put the cache in a temporary storage location that is wiped everyday, for example when the computer is shutdown
- Use the Conan 2
--lru
(least recently used) feature to remove packages that haven't been used in a while to be even more efficient.
from conan.
Closing the question as responded, but don't hesitate to re-open or create new tickets for any further question, thanks!
from conan.
Related Issues (20)
- [question] runtime_deploy copying deps with run=False trait HOT 3
- [question] How to build locally with msys2 HOT 3
- [feature] Better error message when profile defines a tool_require loop by mistake HOT 1
- [bug] conan should not change ownership of files while extracting conan_package.tgz HOT 3
- [question] Undefined zlib references when building Qt
- [question] How to erase values from one profile to the other HOT 3
- [bug] required tool paths gets overridden when using host profiles HOT 3
- [question] CMake no depencency include directories in VS solution HOT 6
- [question] Support for gcc 14 in Conan 1 HOT 3
- [question] How can I distinguish release and debug versions when I upload pacakges to jfrog artifactory automatically HOT 6
- [bug] Conflict when running install(RUNTIME_DEPENDENCY_SET my_app_deps ...) HOT 6
- [bug] apply_conandata_patches: Massive patch fail to apply with "No such file or directory" HOT 3
- [question] how to correctly expose transitive dependencies HOT 3
- [question] requirements defined from a file and lockfiles HOT 3
- [bug] Changing info.settings.compiler erases other compiler options HOT 6
- [bug] BazelDeps generator produces invalid absolute glob HOT 1
- [question] test_requires in lockfile/SBOM HOT 1
- [question] How to install runtime dependencies alongside conan ones? HOT 3
- [question] header-only lib component HOT 2
- Conan2: how to set package root folder while creating a package HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from conan.