-
Notifications
You must be signed in to change notification settings - Fork 171
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
Support configuring current platform: otherwise cannot use osx-64 binaries (bioconda) on ARM macs #875
Comments
This is indeed something we're not supporting yet. We've had a similar request on in this issue Although its not super trivial, as we want a project to be completely reproducible and I believe to make your request work you need Rosetta on your machine and we can't check if that is installed yet. On the short therm, in most cases it's not hard to build the conda package for |
I would want this to be supported out of the box without the user having to specify additional flags. @ruben-arts Perhaps we should extend our logic in some places to use @corneliusroemer Do macOS x86 applications always work on macOS arm64? Or do you need to enable this somehow? |
I think the user needs to manually install rosetta, but Apple makes it pretty easy. But I agree with Bas that we might find a straightforward solution for the @ruben-arts I think the |
I guess with a virtual package we could easily define and document the logic right? This probably also goes for the wasm platforms, not sure what you would need for those. |
/usr/sbin/softwareupdate --install-rosetta --agree-to-license It's also not too hard to test if rosetta is installed and warn the user, see how
I can't use any bioconda packages with pixi yet, indeed, as there are no arm versions. Also by far not all conda-forge osx packages have been migrated to arm yet. I highly recommend one of you get an ARM mac to dogfood pixi on that platform, it's quite widespread and is fairly important for pixi to fly, I think - I wouldn't recommend it to anyone until it works decently on arm. |
I am using Apple Silicon every day :) But I understand that it's an issue for |
Here is a workaround: curl -L https://github.com/prefix-dev/pixi/releases/download/v0.18.0/pixi-x86_64-apple-darwin -o ~/.pixi/bin/pixi-64
chmod u+x ~/.pixi/bin/pixi-64 Now you can use |
I believe this is now solved with #1020 ! Feel free to reopen if the issue persists! |
Problem description
I love what I see here, took pixi for a test drive and it's super exciting.
One thing makes it unfortunately not useful in practice for me: lack of using osx-64-only-channels on my osx-arm64 machine.
I haven't been able to figure out how to tell pixi to pretend that the "current platform" is
osx-64
rather thanosx-arm64
.That's all that would be needed to allow me to use pixi for real (I think).
I went through the docs but couldn't find how to change the current platform - did I miss something?
The text was updated successfully, but these errors were encountered: