nim-lang / RFCs

A repository for your Nim proposals.
135 stars 26 forks source link

mac/darwin-x64 prebuilt binary #441

Closed DeanHnter closed 1 year ago

DeanHnter commented 2 years ago

Summary

I would like a pre-compiled version of Nim available for macos x64.

Description

Binary versions are currently available for windows/linux however the mac version has to be compiled from source adding extra steps when integrating nim into a CI system.

Alternatives

I have already made my own repository to mirror, build and host a mac-os version but it would be simpler if it was available officially also if someone could let me know whether it is ok to self host the compiler this way on github publicly without any issues I would appreciate it.

https://github.com/DHunte/NimBuilds

ghost commented 2 years ago

https://github.com/nim-lang/nightlies/

This repo makes new builds for devel, version-1-6 and some other branches. I can't say it's exactly "official", but it should be usable for your purposes.

For example, the latest build for 1.6 has https://github.com/nim-lang/nightlies/releases/tag/2021-12-14-version-1-6-48c62ca48bc1f0a0ff4bc891e720297b3e8e5c15 - https://github.com/nim-lang/nightlies/releases/download/2021-12-14-version-1-6-48c62ca48bc1f0a0ff4bc891e720297b3e8e5c15/nim-1.6.1-macosx_x64.tar.xz

DeanHnter commented 2 years ago

Hi,

Thank you those might be helpful in some way but the only problem i see might be that it isnt easy to increment the version number quite the same way the official release is : https://nim-lang.org/download/nim-1.6.2_x64.zip just swapping out the 1.6.2 is much simpler since it doesent have the date and a uuid that might change, even the package manager im using requires a standard major.minor.patch format only.

Araq commented 1 year ago

Nightlies are official and x64 is kinda deprecated by Apple, I think.