-
Notifications
You must be signed in to change notification settings - Fork 847
Closed
Labels
Description
I'd like to discuss my current thinking on some changes changes to simplify and streamline the Stack release process for Linux:
- Once confirmed that they work for everyone, standardize on statically linked Linux binaries that work on all distros (no worries about which version of libgmp is installed). This will simplify the installation instructions and build process.
Drop official 32-bit Linux support. While Stack will continue to work on 32-bit platforms and be able to download 32-bit GHC bindists, we will stop providing 32-bit binaries. It's becoming increasingly clear that 32-bit x86 is no longer an important platform, and it's getting difficult to make build environments for 32-bit (for example, Fedora has stopped providing 32-bit ISOs).[UPDATE: received feedback that 32-bit binaries are still very much being used, so will keep building them for now]- Stop providing
.debs and.rpms [EDIT: for new Linux distribution versions]and remove our APT and YUM repositories. Installation standardizes on get.haskellstack.org and upgrading is done usingstack upgrade(once that command can just download a binary instead of building Stack from source). Note: for Fedora there is still the Copr repo maintained by @juhp, and ideally Stack will be added to the official Debian/Ubuntu/Fedora/Red Hat repos at some point [UPDATE: based on feedback, will keep uploading new Stack packages for currently existing Linux distribution versions. There are also now officialhaskell-stackpackages for Debian and Ubuntu]. - Update get.haskellstack.org to no longer use the APT/YUM repos, and to install
stackin~/.local/bininstead of/usr/local/bin. This also will make it possible to no longer requiresudo(although in that case users may have to manually install some dependencies like make).
To get there, we'd follow a phased process:
v1.2.0:
- start releasing 64-bit static Linux binaries for people to try
- announce these plans
v1.3.0:
- implement binary code path for
stack upgrade(Binary upgrade code path #1238) - get.haskellstack.org no longer installs from APT/YUM repos, and installs
stackin ~/.local/bin instead of /usr/local/bin - remove references to our APT/YUM repos from install documentation
[ ] stop updating APT/YUM repos- announce these changes
Next version after v1.3.0:
- stop providing
32-bit anddynamically linked Linux binaries [UPDATE: continue providing 32-bit dynamically linked Linux binaries until we are able to build 32-bit static Linux binaries] [ ] remove the APT/YUM repos
dysinger, joehillen, 0xmohit and scancblp and dpwiz