Skip to content

Commit

Permalink
Merge branch 'stable'
Browse files Browse the repository at this point in the history
  • Loading branch information
mpilgrem committed Jul 15, 2024
2 parents 31f9e84 + 96b14e9 commit 425cffa
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 7 deletions.
5 changes: 5 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,11 @@ Behavior changes:
* On Windows, `stack upgrade` does not offer `sudo` command alternatives if
attempting to write to the original file name of the running Stack exectuable
results in a 'Permission' error.
* On Linux, Stack's `setup` command now distinguishes GHC build
`tinfo6-libc6-pre232` from existing `tinfo6`. The former refers to systems
where the version of `libc6` (the GNU C Library) is not compatible with
version 2.32. `tinfo6-libc6-pre232` is now a possible value for the
`ghc-build` configuration option.

Other enhancements:

Expand Down
23 changes: 16 additions & 7 deletions doc/setup_command.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ By default:

* the version of GHC is the one required by the project. Specify the version of
GHC as an argument to attempt to install a different version of GHC. For
example `stack setup 9.4.4` will attempt to install GHC 9.4.4; and
example `stack setup 9.6.6` will attempt to install GHC 9.6.6; and

* an attempt to install is made only if the version of GHC is not already
available to Stack. Pass the flag `--reinstall` (disabled by default) to
Expand Down Expand Up @@ -43,15 +43,19 @@ command are inconsistent and take no action.
required on Linux, Stack will refer to the presence or absence of certain
libraries or the versions of those libraries.

For example, Stack 2.15.1 considers:
For example, Stack 2.15.7 considers:

* If `libc.musl-x86_64.so.1` is present. This file is provided by the
[musl libc](https://musl.libc.org/).

[:octicons-tag-24: 2.13.1](https://github.com/commercialhaskell/stack/releases/tag/v2.13.1)

* The version of `libc6` (if musl libc is not applicable), the
[GNU C Library](https://www.gnu.org/software/libc/) (glibc), that is
present. The GNU C Library is designed to be backwards compatible.

[:octicons-tag-24: 2.11.1](https://github.com/commercialhaskell/stack/releases/tag/v2.11.1)

* If `libgmp.so.3` or `libgmp.so.10` is present. These files are provided
by different versions of the
[GNU Multiple Precision Arithmetic Library](https://gmplib.org/).
Expand All @@ -63,7 +67,7 @@ command are inconsistent and take no action.
provided by different versions of a shared low-level terminfo library
for terminal handling.

Stack 2.15.1 uses `ghc-build`:
Stack 2.15.7 uses `ghc-build`:

* `musl` to indicate `libc.musl-x86_64.so.1` is present and Stack should use
the GHC binary distribution for Alpine Linux.
Expand All @@ -77,9 +81,14 @@ command are inconsistent and take no action.
By default, Stack associates:

* the `tinfo6` build with the 'Fedora 33' binary distribution of GHC 9.4.1
to 9.4.4. Those binary distributions require versions of `libc6` that are
compatible with `libc6` 2.32; and
to 9.4.3 and 9.6.1 and later. Those binary distributions require versions
of `libc6` that are compatible with `libc6` 2.32;

* the `tinfo6-libc6-pre232` build with the 'Debian 10' binary distribution
of GHC 9.4.1 to 9.4.4. Those binary distributions require versions of
`libc6` that are compatible with `libc6` 2.28.
of GHC 9.4.1 to 9.4.3 and the 'Rocky 8' binary distribution of GHC 9.6.1
and later. Those binary distributions require versions of `libc6` that are
compatible with `libc6` 2.28; and

* the `tinfo6` and `tinfo6-libc6-pre232` builds with the 'Fedora 27' binary
distribution of GHC 9.4.4 to 9.4.8. Those binary distributions require
versions of `libc6` that are compatible with `libc6` 2.26.

0 comments on commit 425cffa

Please sign in to comment.