Skip to content
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

conda-forge package #1538

Closed
flaviomartins opened this issue Apr 19, 2024 · 6 comments
Closed

conda-forge package #1538

flaviomartins opened this issue Apr 19, 2024 · 6 comments

Comments

@flaviomartins
Copy link

Please consider providing a package for fd on conda-forge

@tmccombs
Copy link
Collaborator

tmccombs commented May 5, 2024

It looks like https://conda-forge.org/docs/maintainer/adding_pkgs/#creating-recipes is the instructions on how to do this.

Bascially, it looks like you need to make a PR to a staging repo for conda-forge with a "recipe" for this package.

@flaviomartins
Copy link
Author

I am working on this on conda-forge/fd-find-feedstock#24

The osx_arm64_ build test is failing with Bad CPU type in executable.

@sharkdp I see there are no osx_arm64 binaries on the v10.0.0 release. Should it build?

@tmccombs
Copy link
Collaborator

tmccombs commented May 7, 2024

See #1088

I'm not sure what is going wrong in your case. Maybe it is compiling using the wrong rust target? for osx_arm64 you need to use the aarch64-apple-darwin target for the rust toolchain. But I'm not sure where that is set in the conda-forge config.

@flaviomartins
Copy link
Author

flaviomartins commented May 7, 2024

See #1088

I'm not sure what is going wrong in your case. Maybe it is compiling using the wrong rust target? for osx_arm64 ou need to use the aarch64-apple-darwin target for the rust toolchain. But I'm not sure where that is set in the conda-forge config.

It was failing when running the test. I skip the test now for arm64 since the test will be running on x86_64 where the cross compilation took place (not sure if azure pipelines has aarch64-apple-darwin machines)

@tmccombs
Copy link
Collaborator

tmccombs commented May 7, 2024

Ah, yes running tests for an aarch64 executable on x86_64 won't work.

@flaviomartins
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants