-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Rust nightly compiler #52803
Comments
I see no way to specify the Rust compiler version with conda_build_config.yaml
|
You will need to add the |
I might be wrong but I think Bioconda hardcodes |
Although I have seen recipes using syntax like |
The version is different, you will need:
We don't build every nightly, only from time to time. |
Hi all , Thanks for the help. Nightly 1.85 will be good. So I just add the 2 lines suggested under dependency part? Other parts remain the same? I have a software like this:https://github.com/bioconda/bioconda-recipes/blob/master/recipes/gsearch/meta.yaml After adding the 2 lines there, I will chang the build part to use a SIMD feature that is only available in nightly version. Why not use rustup to manage stable and nightly inside bioconda. Thanks, Jianshu |
I think you are the first one requesting this in Bioconda, so I am not sure whether it will work or not. Try it!
If the above does not work then you could try this too. Just make sure you use a pinned version of nightly! |
That will mean though, that compiler flags will not be correctly setup for the binary, especially if you are cross-compiling. |
There is no cross-compilation at Bioconda. All builds run on native platforms. |
An alternative solution here might be to see if |
Hi @danielnachun, Do you mean in the build.rs I add this line at the very beginning. I am not sure how stable Rust and nightly Rust was deployed inside conda. Thanks, |
Do I use Linux or linux? Not sure the rules for it. It took quite long tom compile Rust on bioconda. Thanks, |
You would set this in your build.sh. See here for an example: https://github.com/conda-forge/swc-feedstock/blob/main/recipe/build.sh |
Dear Bioconda team,
I noticed that the default Rust compiler is the stable version. Is that possible to use the nightly Rust since the new SIMD or stdsimd are all under the nightly version, which will be in the stable version in the near future. I do not know how when choose compilers like this:
Thanks,
Jianshu
The text was updated successfully, but these errors were encountered: