nim
- Build
csourcesfirst - Build
kochin Nim source - Run
kochto build Nim and Nim tools - Prefer
/usr/shareto/optfor nimble pkgs in glaucus - Bootstrap
csources_v3usingmakeinstead ofbuild.shas the latter requires GNUparallelfor parallel builds - Use
koch installinstead of./install.shas the latter may not always available - Might require
libucontext(with-lucontextadded toLDFLAGS) onmuslbased systems (e.g. Alpine) nim-gdbmight have bashisms (check Alpine)- Consider
toolsNoExternalfor fully offline bootstraps withkoch - These work:
# koch./koch install \ ../../../toolchain/lib
# install.shsh install.sh \ ../../../toolchain/lib
# install.shDESTDIR=../../../toolchain \sh install.sh \ /lib- This does not work:
DESTDIR=../../../toolchain \./koch install \ /libReferences
Section titled “References”- https://build.opensuse.org/package/view_file/openSUSE:Factory/nim/nim.spec?expand=1
- https://git.alpinelinux.org/aports/tree/community/nim/APKBUILD
- https://git.alpinelinux.org/aports/tree/community/nimble/APKBUILD
- https://github.com/nim-lang/csources_v2
- https://github.com/nim-lang/csources_v3
- https://github.com/nim-lang/Nim
- https://github.com/void-linux/void-packages/blob/master/srcpkgs/choosenim/template
- https://github.com/void-linux/void-packages/blob/master/srcpkgs/nim/template
- https://gitlab.archlinux.org/archlinux/packaging/packages/nim/-/blob/main/PKGBUILD
- https://nim-lang.org/docs/packaging.html