Giter Site home page Giter Site logo

Comments (3)

memsharded avatar memsharded commented on July 20, 2024

Hi Lau!

I think the settings were never meant to be used from profiles, as cmake controls its own definition of compiler, architecture, etc. Profile usage is mainly to complement other features (options, build_requires, env-vars).

In which branch of cmake-conan are you running? Master, develop? If you want stable behavior and controlled updates, I think you might want to use tagged releases of this repo, they are regularly published.

If you check the code you will see that the definition of the libcxx is not controlled by the setting, but by the var _GLIBCXX_USE_CXX11_ABI. I think this behavior was from very early. You can control which libcxx are you using by setting it to 1 or 0

Please try and tell me. Thanks!

from cmake-conan.

lbakman avatar lbakman commented on July 20, 2024

My apologies, I realise that the above issue description is nowhere near complete.

I am using conan 0.30.3 and I am downloading conan.cmake from the master branch every time I delete my build directory. So far this has worked like a charm, and it still does.

I was surprised today because all of my dependencies started to rebuild, and the one thing that caught my eye was the difference in compiler.libcxx from my default profile. I have tried with a version of conan.cmake from last week, and it turns out that the reason for the rebuild was not the change in compiler.libcxx but because the compiler version went from MAJOR.MINOR to just MAJOR.

There was nothing wrong. Next time I will investigate a bit more before raising an issue.

Thanks!

from cmake-conan.

memsharded avatar memsharded commented on July 20, 2024

No problem at all!!
Much better to raise an issue, that at the end is a false positive, than not saying anything and let a real issue affect other users. So thanks for submitting the issue.

Yes, we have changed the default version for GCC to match the new version policies of GCC itself, that are now using minors for bug fixes, so they are ABI compatible and the default of using only the major should be ok for most cases.

Cheers!

from cmake-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.