-
-
Notifications
You must be signed in to change notification settings - Fork 10
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
Add lz4-c as runtime dependency #55
Conversation
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( |
This is a general problem with condos forge where we don't distinguish between run time and builf time dependencies. Let's please not merger this. For now. With condos tooling, you must specify these dependencies manually |
Conda-forge. And more generally conda itself |
See: conda-forge/conda-forge.github.io#1880 and more specifically the comment from pkgw |
@hmaarrfk that is fair, thanks for the quick response. Notice that at this moment any user of blosc2 from conda will not be able to link their application against blosc2 due to lz4-c missing, they will have to manually load lz4-c, which is makes its usage more difficult. I suggest in this case to use internal lz4-c in blosc2 instead, so that we can make this library usable again without runtime deps. |
I'm very well aware of this issue. I opened the original issue that I referenced. However, it is important to put the issues in the correct context. Exactly how many people are using c-blosc2? truthfully, before today, I thought I was the only one that cared about this feedstock.
yes, lets work together to fix this. Please take time to read through the issue I posted above. Isuru made a great suggestion that I suggest you explore. We use dynamic linking at conda-forge, static linking, or vendoring is actively discouraged. for now, i don't think it is a big deal to add Some have started to build Again, referring to that same discussion |
i'm not saying that disucssion is the authority on packaging, but you aren't alone in feeling this way, I was seriously frustrated debugging this. can you point me to a recipe that uses this package. maybe i can help investigate |
Many ECP/Kitware projects depend on it. I have recently started using cblosc2 from Conda in the Github CI windows build for the project adios2, it did not work, even if I installed the lz4-c project through conda. I can see the error lies in the
I understand, probably thats the way to go. In other package managers it will be:
|
this is great to hear.
i presume you mean conda-forge. Anaconda defaults, and conda-forge are two different projects. Looking at the cmake file, i don't really know why the project is attempting to find lz4. It should't be linked publicly. so it should not attempt to find it at all. Helping you on your CI that uses a different layout is really hard to find with "just a short snippet of your log". Can we please continue this integration challenge on a different issue? The original premise you shared was not entirely true.
we use something called run_exports. Honestly, I had to react quickly since your change looks innocent, but it creates alot of churn by adding "one extra" line. I really want to help, but I think it would be best if you opened an issue pointing us to your full log file or CI attempts to integrate the library from conda-forge. |
Checklist
0
(if the version changed)conda-smithy
(Use the phrase@conda-forge-admin, please rerender
in a comment in this PR for automated rerendering)We are hitting the current error when trying to
find_package(blosc2)
with cmake.