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

feat: Enable to force PIXI_ARCH for installation #1129

Merged
merged 2 commits into from
Apr 6, 2024

Conversation

beenje
Copy link
Contributor

@beenje beenje commented Apr 6, 2024

On Apple Silicon, one might want to force installing the x86_64 version of pixi. Using the PIXI_ARCH variable, this can now be done using:

export PIXI_ARCH=x86_64 && curl -fsSL https://pixi.sh/install.sh | bash

My use case is to run pixi on GitLab CI saas-macos-medium-m1 runners.
This would make it easier to install pixi for aarch64 or x86_64.

@beenje beenje changed the title Enable to force PIXI_ARCH for installation feat: Enable to force PIXI_ARCH for installation Apr 6, 2024
On Apple Silicon, one might want to force installing the x86_64 version of pixi.
This can be done using:

export PIXI_ARCH=x86_64 && curl -fsSL https://pixi.sh/install.sh | bash
@pavelzw
Copy link
Contributor

pavelzw commented Apr 6, 2024

Wouldn't running one simple curl command be easier in your case?

Copy link
Contributor

@ruben-arts ruben-arts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As @pavelzw already remarks, I'm not sure if this really helps that much but it's such a small change I'm not going to hold it back.

docs/index.md Outdated Show resolved Hide resolved
@ruben-arts ruben-arts merged commit 2d89bd1 into prefix-dev:main Apr 6, 2024
18 of 19 checks passed
@pavelzw
Copy link
Contributor

pavelzw commented Apr 6, 2024

@ruben-arts @beenje

Hmm, I personally think the readme change is a bit too prominent... As if we actually recommend doing this instead of just using the regular build.

image

Maybe something like

!!! note "Using x86 builds on Apple Silicon"
    If you need to use the x86 build on Apple Silicon (not recommended), you can also do the following:
    ...

@beenje
Copy link
Contributor Author

beenje commented Apr 12, 2024

I noticed that https://pixi.sh/install.sh doesn't contain that change yet even if 0.19.0 (and 0.19.1) has been released.
When is it updated?

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

Successfully merging this pull request may close these issues.

3 participants