-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
zstd: add version 1.5.4 #15856
zstd: add version 1.5.4 #15856
Conversation
🤖 Beep Boop! This pull request is making changes to 'recipes/zstd//'. 👋 @Hopobcn you might be interested. 😉 |
This comment has been minimized.
This comment has been minimized.
import re | ||
from io import StringIO | ||
output = StringIO() | ||
self.run("cmake --version", output=output) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it make sense for conan.tools.cmake.CMake wrapper to have a "version()" ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No :) the graph should be more deterministic regardless of the user's tools.
This version check will go away with new rules in the near future...
The team wants the portable binaries from kitware so it works regardless and doesn't need to be built (which are the reasons this is here)
Conan v1 pipeline ✔️All green in build 3 (
Conan v2 pipeline (informative, not required for merge) ❌
The v2 pipeline failed. Please, review the errors and note this will be required for pull requests to be merged in the near future. See details:Failure in build 3 (
Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability. |
# zstd/>=1.5.4 uses `check_linker_flag` which is introduced since cmake 3.1.8. | ||
if Version(self.version) >= "1.5.4" and not self._cmake_new_enough("3.18"): | ||
self.tool_requires("cmake/3.25.2") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't it be reported to zstd repo because it may be unintentional? Their min CMake version is still 2.8.12, so they may not want such very high min CMake version. If they want to revert, we could patch it. It's something I've seen in vulkan-loader for example, maintainers inadvertently used a recent feature in a new release, and reverted this change because they wanted to support default CMake versions of several Linux distro.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've opened facebook/zstd#3500
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@SpaceIm Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So facebook/zstd#3510 should be backported to 1.5.4 and cmake removed from tool_requires, so that we can keep a clean conanfile.py
Specify library name and version: zstd/1.5.4