Consider not using the CACHE in conan install
See original GitHub issueThere is the issue https://github.com/conan-io/conan/issues/1015, which is creating problems due to the caching. But not only because of this.
It is true, that caching of settings/options/env is necessary for build, source, package, etc conan commands. But maybe conan install
should always make explicit the inputs, via command line. “Explicit is better than implicit”. Same for conan test_package
.
Even if this can break something, it is extremely easy to fix, just provide a profile or settings in the command line, i.e. nothing to fix inside conan, just in the conan command invocation by users.
What do you think?
Issue Analytics
- State:
- Created 7 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
Conan local cache: concurrency, Continuous Integration ...
Conan local cache support some degree of concurrency, allowing simultaneous creation or installation of different packages, or building different binaries for ...
Read more >How to force conan to build from source, but only if it is not in ...
The first time using conan install to install the library (e.g. it is not in my cache) then conan will build from source...
Read more >CONAN CHEAT SHEET - JFrog
conan config install <url> ... Just export the recipe to local cache. $ conan export ... One or more with wildcard support, with...
Read more >Add support for Conan package manager - Qt Bug Tracker
Qt Creator just using the Conan supplied directories (Conan cache) would be ... After the cmake configure the conan install command is not...
Read more >How to fix conan install ERROR: Missing binary - TechOverflow
Use the --build=missing flag for conan install to enable building the ... openssl/1.1.1l: Not found in local cache, looking in remotes.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yeah I am for this. This was really hard to find and debug when I ran into it the other day.
Me too, I regularly test a package with different settings and I often run into a situation where I just end up deleting the whole package directory.
I’d say it should work with defaults, but if the settings are provided, conan should use those. Is this what you mean by this?