-
Notifications
You must be signed in to change notification settings - Fork 1
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
criterion library required even for production build #2
Comments
|
cmd and error:
I'm working on debian and forced cargo to use the local registry (see https://wiki.debian.org/Rust) I have the crates autocfg and num-traits installed. when I looked into it I found this thread. I don't fully understand the argument but it seems to be on purpose: I did some more testing and found out that if I remove the reference to |
Ah, yeah if you build Hmm, I think I will move the benchmarks into its own git repo to avoid this awkwardness and simplify the library repo, that should also fix the issue you're having. I'll make that change now - should be simple. |
I see - so much to learn. I can also patch the Cargo.toml file for the FreeCAD build. I hadn't figured out how to get around the dependency when I filed the issue. |
Alright I made the change, commit: f2e5659 Dedicated repo for benchmarks is now here: https://github.com/jbuckmccready/static_aabb2d_index_bench This should resolve your issue. |
perfect - it sure does, thanks a lot! |
Trying to integrate cavalier_contours in FreeCAD it is currently required to install criterion with all its dependencies for the build. Unfortunately the CI system FreeCAD uses has no online access and the criterion packages are not available for Ubuntu 22.04 and 20.04 - both are build targets for FreeCAD.
It would be really great if static_aabb2d_index could be built without requiring criterion which would never be used in this use case.
The text was updated successfully, but these errors were encountered: