dom96 / choosenim

Tool for easily installing and managing multiple versions of the Nim programming language.
BSD 3-Clause "New" or "Revised" License
679 stars 67 forks source link

Add ARM64 support #149

Open mratsim opened 4 years ago

mratsim commented 4 years ago

Similar to #43

Travis now supports ARM64 in CI (https://travis-ci.com/mratsim/Synthesis/jobs/267288652#L55), I usually use choosenim to manage my CI runs but unfortunately that would prevent me from using it for CI on ARM.

sk-Prime commented 3 years ago

Please support arm architecture. raspberry pi nano, armv6

wantMoreSleep commented 3 years ago

And also Apple Silicone chip (M1) (macosx_arm)

p0w1nd commented 2 years ago

I've just bought a Macbook Pro M1 and disappointed to see this error when installing choosenim:

$ curl https://nim-lang.org/choosenim/init.sh -sSf | sh

choosenim-init: Error: Sorry, your platform (macosx_arm) is not supported by choosenim.
choosenim-init: Error: You will need to install Nim using an alternative method.
choosenim-init: Error: See the following link for more info: https://nim-lang.org/install.html

Hope to see Apple M1 support soon.

dom96 commented 2 years ago

@p0w1nd see https://github.com/dom96/choosenim/pull/283#issuecomment-949053963. Support should be fairly easy by just modifying the bash script. If you can help I would appreciate it :)

dleslie commented 2 years ago

FYI, this is breaking on all ARM targets; including Raspbian and Armbian.

adokitkat commented 1 year ago

Bumping this. Nim nightlies are being pre-build for ARM64 (and also ARM7L).

bung87 commented 1 year ago

track issue: https://github.com/github/roadmap/issues/528

DrorDvash commented 1 year ago

@dom96 running a linux vm on Apple Silicone chip (m1/m2) is actually aarch64 or linux_arm64.

# uname -m      
aarch64

Running choosenim will end up with this error: choosenim-init: Error: Sorry, your platform (linux_arm64) is not supported by choosenim.

anyway, both are the same and seem to be unsupported. is there any workaround/fix for this?

vandot commented 5 months ago

M1 runners available https://github.blog/changelog/2024-01-30-github-actions-introducing-the-new-m1-macos-runner-available-to-open-source/