Git Product home page Git Product logo

Comments (2)

jcar87 avatar jcar87 commented on August 17, 2024 1

Hi @ViliusSutkus89

this is expected, although it will depend on the options (whether libraries are shared or static). Taking the zlib dependency as an example here.

zlib/1.3.Z means that if that specific binary of glib/2.81.0 was built with zlib/1.3.0, and in the future, zlib/1.3.1 is released - a build in the future where the graph solver considers zlib/1.3.1, will take this binary package as valid ad compatible - this is under "semver" assumptions that a patch release is still fully binary compatible.

This reflects the fact that if both glib and zlib are shared libraries, and zlib/1.3.1 has exactly the same symbols as 1.3.0 - the generated binaries for glib against the new versions would actually be "the same" - so there's no need to rebuild it.

This avoids unnecessary rebuilds (or missing binaries) when new versions are released.

it is a different case when a binary "embeds" the contents of a static library, or header only libraries.
You can read more about this here: https://docs.conan.io/2/reference/binary_model/dependencies.html

from conan.

ViliusSutkus89 avatar ViliusSutkus89 commented on August 17, 2024

Hello @jcar87 ,

Thanks for the explanation. Somehow I've missed that part in the documentation. I've looked into semver versioning in Conan and thought that this needed to be asked for explicitly. Anyways, sorry for the wrong bug report.

from conan.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.