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

Question about building rust-htslib with conda-installed dependencies #462

Open
wm75 opened this issue Jan 16, 2025 · 1 comment
Open

Question about building rust-htslib with conda-installed dependencies #462

wm75 opened this issue Jan 16, 2025 · 1 comment

Comments

@wm75
Copy link

wm75 commented Jan 16, 2025

I'm currently working on a bioconda recipe for a tool depending on rust-htslib.
I've got a working version, but it seems the rust compilation chain still pulls in lots of C sources, via hts-sys I guess, when, naively, I had envisioned that I could just specify the existing htslib conda package as a host requirement and have rust-htslib link to it.
What's your take on how a best-practice recipe requiring rust-htslib should be set up? @johanneskoester maybe?
... and connected to that, would it be of value to have a dedicated rust-htslib bioconda package that other recipes could depend on?

@johanneskoester
Copy link
Contributor

Hi. The other recipes on bioconda also use hts-sys this way, i.e. statically linked. Hence, adding htslib as a dependency would not help. However, one could of course try to enhance hts-sys such that it can also use a shared library. In that case the dependency would help. I think this would however require some code/setup changes there.

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

No branches or pull requests

2 participants