-
Notifications
You must be signed in to change notification settings - Fork 467
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
problem to link librt for clock_gettime #243
Comments
More details: |
I think |
It's only the benchmarks that need it, but to run |
@isuruf https://github.com/uber/h3/blob/master/CMakeLists.txt could be patched in the conda build to not include the benchmarks. According to https://stackoverflow.com/questions/17164731/installing-only-one-target-and-its-dependencies-out-of-a-complex-project-with there are a couple of options. Which one would you suggest to move forward? |
Yes, the benchmarks are considered part of the testing suite, so if you configure CMake with |
We currently opted to explicitly state the targets which need to be built. Having no testing also doesn't sound favorably https://github.com/conda-forge/staged-recipes/pull/8467/files#diff-836a1e5a12f9f2663a7069a305b3eb46R13 |
builds are green now conda-forge/staged-recipes#8467 |
I am trying to create a conda package for h3 python bindings. My merge request is open here conda-forge/staged-recipes#8467
And I can't properly build it as there is an issue with:
linking to librt for clock_gettime
.Can you set the missing flags upstream?
The text was updated successfully, but these errors were encountered: