conan-io / conan-center-index

Recipes for the ConanCenter repository
https://conan.io/center
MIT License
945 stars 1.72k forks source link

cmake binaries #24939

Open jcar87 opened 1 month ago

jcar87 commented 1 month ago

Hi,

I was looking for cmake/3.20.0 in linux ( ubuntu , arch x86_64, gcc=9) for conan 2

Originally posted by @sabapathi20 in https://github.com/conan-io/conan-center-index/issues/13739#issuecomment-2288685496

jcar87 commented 1 month ago

Hi @sabapathi20

Version 3.20.0 was too old by the time the recipe was migrated to Conan 2

The earliest we have in the 3.20 series is 3.20.6 - this should work to satisfy the requirement:

conan list "cmake/3.20.6:*" -r conancenter
conancenter
  cmake
    cmake/3.20.6
      revisions
        b9fe671fcc3e5a11e0b999ce28755bc2 (2023-03-13 09:23:55 UTC)
          packages
            522dcea5982a3f8a5b624c16477e47195da2f84f
              info
                settings
                  arch: x86_64
                  os: Windows
            63fead0844576fc02943e16909f08fcdddd6f44b
              info
                settings
                  arch: x86_64
                  os: Linux
            9e5323c65b94ae38c3c733fe12637776db0119a5
              info
                settings
                  os: Macos
sabapathim commented 1 month ago

Hi @jcar87

Thanks for the suggestion.

Is it possible to make cmake/3.20.0 to be available in the conan-center , I would be happy to contribute if any efforts needed there.

jcar87 commented 1 month ago

Hi @sabapathi20 - No, I would say we will not make CMake 3.20.0 binaries available for Conan 2, or any older version of CMake. It is an older version, and the available versions satisfy the job without any issues. in Conan Center we regularly make use of newer versions of CMake without issues.

CMake itself is really good (and rather strict) at preserving backward compatibility, so any new version should work, and if this is not the case, we do have 3.20.6 available, which according to their documentation https://cmake.org/cmake/help/latest/release/3.20.html#id4 here, it contains no feature changes with respect to 3.20.0, and should only include bugfixes.

We would reconsider if we there is a specific, documented issue with 3.20.6 or newer where the behaviour is different than 3.20.0 and must be preserved.

sabapathim commented 1 month ago

Hi @jcar87

Is there a way that I can contribute to the project ?