Compare commits
20 Commits
prof-libs
...
rm-ghc-pos
| Author | SHA1 | Date | |
|---|---|---|---|
|
e658bd1372
|
|||
|
9abf634f8c
|
|||
|
5d50438a4c
|
|||
|
22867158fa
|
|||
|
d309865d02
|
|||
|
af5688633d
|
|||
|
3b98df479a
|
|||
|
93514e964f
|
|||
|
4466b7ce4d
|
|||
|
1ba37946e1
|
|||
|
f37840f592
|
|||
|
|
5b58beb3bd | ||
|
8f0e82ef06
|
|||
|
de7b919c4f
|
|||
|
1b9f1fc804
|
|||
|
32a75b482a
|
|||
|
6290ad816c
|
|||
|
2d705bf10a
|
|||
|
5da8fa8ea0
|
|||
|
c3f3321617
|
181
.github/workflows/bindists.yaml
vendored
181
.github/workflows/bindists.yaml
vendored
@@ -3,6 +3,10 @@ defaults:
|
||||
run:
|
||||
shell: bash
|
||||
on:
|
||||
pull_request:
|
||||
types: [opened]
|
||||
issue_comment:
|
||||
types: [created]
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
tool:
|
||||
@@ -57,7 +61,7 @@ jobs:
|
||||
- image: archlinux:latest
|
||||
installCmd: pacman -Syu --noconfirm
|
||||
toolRequirements: which gcc gmp libffi make ncurses perl tar xz
|
||||
- image: fedora:latest
|
||||
- image: fedora:36
|
||||
installCmd: dnf install -y
|
||||
toolRequirements: which gcc g++ gmp gmp-devel make ncurses ncurses-compat-libs xz perl
|
||||
- image: linuxmintd/mint19.3-amd64
|
||||
@@ -73,9 +77,73 @@ jobs:
|
||||
shell: sh
|
||||
run: |
|
||||
${{ matrix.installCmd }} curl bash git ${{ matrix.toolRequirements }}
|
||||
- uses: actions/checkout@v3
|
||||
- name: Install ghcup and bindist for ${{ github.event.inputs.tool }} ${{ github.event.inputs.version }}
|
||||
run: .github/workflows/install-bindist.sh
|
||||
|
||||
- uses: shpingalet007/pull-request-comment-trigger@696de492b50cee0ba671934893c91c5805a403b9
|
||||
id: check
|
||||
with:
|
||||
trigger: '@bindistTest ** ** **'
|
||||
reaction: rocket
|
||||
allow_arguments: true
|
||||
env:
|
||||
GITHUB_TOKEN: '${{secrets.GITHUB_TOKEN}}'
|
||||
|
||||
- uses: shpingalet007/pull-request-comment-trigger@696de492b50cee0ba671934893c91c5805a403b9
|
||||
id: checkRef
|
||||
with:
|
||||
trigger: '@bindistTestRef ** ** ** **'
|
||||
reaction: rocket
|
||||
allow_arguments: true
|
||||
env:
|
||||
GITHUB_TOKEN: '${{secrets.GITHUB_TOKEN}}'
|
||||
|
||||
- if: ${{ steps.checkRef.outputs.triggered == 'true' }}
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
ref: ${{ fromJson(steps.check.outputs.arguments)[3] }}
|
||||
|
||||
- if: ${{ steps.checkRef.outputs.triggered != 'true' }}
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- if: ${{ github.event_name != 'workflow_dispatch' || steps.check.outputs.triggered == 'true' }}
|
||||
continue-on-error: true
|
||||
name: Install ghcup and bindist
|
||||
run: |
|
||||
[ -z "${TOOL}" ] && export TOOL=${{ fromJson(steps.check.outputs.arguments)[0] }}
|
||||
[ -z "${VERSION}" ] && export VERSION=${{ fromJson(steps.check.outputs.arguments)[1] }}
|
||||
[ -z "${METADATA_FILE}" ] && export METADATA_FILE=${{ fromJson(steps.check.outputs.arguments)[2] }}
|
||||
.github/workflows/install-bindist.sh
|
||||
echo SUCCESS=true >> $GITHUB_ENV
|
||||
|
||||
- if: ${{ github.event_name != 'workflow_dispatch' && steps.check.outputs.triggered != 'true' && steps.checkRef.outputs.triggered == 'true' }}
|
||||
continue-on-error: true
|
||||
name: Install ghcup and bindist
|
||||
run: |
|
||||
[ -z "${TOOL}" ] && export TOOL=${{ fromJson(steps.checkRef.outputs.arguments)[0] }}
|
||||
[ -z "${VERSION}" ] && export VERSION=${{ fromJson(steps.checkRef.outputs.arguments)[1] }}
|
||||
[ -z "${METADATA_FILE}" ] && export METADATA_FILE=${{ fromJson(steps.checkRef.outputs.arguments)[2] }}
|
||||
.github/workflows/install-bindist.sh
|
||||
echo SUCCESS=true >> $GITHUB_ENV
|
||||
|
||||
- if: ${{ github.event_name == 'workflow_dispatch' }}
|
||||
name: Install ghcup and bindist
|
||||
run: |
|
||||
.github/workflows/install-bindist.sh
|
||||
echo SUCCESS=true >> $GITHUB_ENV
|
||||
|
||||
- run: |
|
||||
if [ "${{ env.SUCCESS }}" = "true" ] ; then
|
||||
echo "true" > message-linux.txt
|
||||
else
|
||||
echo "false" > message-linux.txt
|
||||
fi
|
||||
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: artifacts
|
||||
path: |
|
||||
./message-linux.txt
|
||||
|
||||
bindist-install-non-linux:
|
||||
name: ${{ matrix.os }}
|
||||
strategy:
|
||||
@@ -87,6 +155,105 @@ jobs:
|
||||
- windows-latest
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Install ghcup and bindist for ${{ github.event.inputs.tool }} ${{ github.event.inputs.version }}
|
||||
run: .github/workflows/install-bindist.sh
|
||||
- uses: shpingalet007/pull-request-comment-trigger@696de492b50cee0ba671934893c91c5805a403b9
|
||||
id: check
|
||||
with:
|
||||
trigger: '@bindistTest ** ** **'
|
||||
reaction: rocket
|
||||
allow_arguments: true
|
||||
env:
|
||||
GITHUB_TOKEN: '${{secrets.GITHUB_TOKEN}}'
|
||||
|
||||
- uses: shpingalet007/pull-request-comment-trigger@696de492b50cee0ba671934893c91c5805a403b9
|
||||
id: checkRef
|
||||
with:
|
||||
trigger: '@bindistTestRef ** ** ** **'
|
||||
reaction: rocket
|
||||
allow_arguments: true
|
||||
env:
|
||||
GITHUB_TOKEN: '${{secrets.GITHUB_TOKEN}}'
|
||||
|
||||
- if: ${{ steps.checkRef.outputs.triggered == 'true' }}
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
ref: ${{ fromJson(steps.check.outputs.arguments)[3] }}
|
||||
|
||||
- if: ${{ steps.checkRef.outputs.triggered != 'true' }}
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- if: ${{ github.event_name != 'workflow_dispatch' || steps.check.outputs.triggered == 'true' }}
|
||||
continue-on-error: true
|
||||
name: Install ghcup and bindist
|
||||
run: |
|
||||
[ -z "${TOOL}" ] && export TOOL=${{ fromJson(steps.check.outputs.arguments)[0] }}
|
||||
[ -z "${VERSION}" ] && export VERSION=${{ fromJson(steps.check.outputs.arguments)[1] }}
|
||||
[ -z "${METADATA_FILE}" ] && export METADATA_FILE=${{ fromJson(steps.check.outputs.arguments)[2] }}
|
||||
.github/workflows/install-bindist.sh
|
||||
echo SUCCESS=true >> $GITHUB_ENV
|
||||
|
||||
- if: ${{ github.event_name != 'workflow_dispatch' && steps.check.outputs.triggered != 'true' && steps.checkRef.outputs.triggered == 'true' }}
|
||||
continue-on-error: true
|
||||
name: Install ghcup and bindist
|
||||
run: |
|
||||
[ -z "${TOOL}" ] && export TOOL=${{ fromJson(steps.checkRef.outputs.arguments)[0] }}
|
||||
[ -z "${VERSION}" ] && export VERSION=${{ fromJson(steps.checkRef.outputs.arguments)[1] }}
|
||||
[ -z "${METADATA_FILE}" ] && export METADATA_FILE=${{ fromJson(steps.checkRef.outputs.arguments)[2] }}
|
||||
.github/workflows/install-bindist.sh
|
||||
echo SUCCESS=true >> $GITHUB_ENV
|
||||
|
||||
- if: ${{ github.event_name == 'workflow_dispatch' }}
|
||||
name: Install ghcup and bindist
|
||||
run: |
|
||||
.github/workflows/install-bindist.sh
|
||||
echo SUCCESS=true >> $GITHUB_ENV
|
||||
|
||||
- run: |
|
||||
if [ "${{ env.SUCCESS }}" = "true" ] ; then
|
||||
echo "true" > message.txt
|
||||
else
|
||||
echo "false" > message.txt
|
||||
fi
|
||||
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: artifacts
|
||||
path: |
|
||||
./message.txt
|
||||
|
||||
comment:
|
||||
name: comment
|
||||
needs: ["bindist-install", "bindist-install-non-linux"]
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Download artifacts
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: artifacts
|
||||
|
||||
- run: |
|
||||
if [ "$(cat message.txt)" == "true" ] && [ "$(cat message-linux.txt)" == "true" ] ; then
|
||||
echo "SUCCESS=true" >> $GITHUB_ENV
|
||||
else
|
||||
echo "SUCCESS=false" >> $GITHUB_ENV
|
||||
fi
|
||||
|
||||
- id: message
|
||||
run: |
|
||||
if [ "${{ env.SUCCESS }}" = "true" ] ; then
|
||||
echo 'MESSAGE=Bindist check success :+1:' >> $GITHUB_OUTPUT
|
||||
else
|
||||
echo 'MESSAGE=Bindist check failure :-1:' >> $GITHUB_OUTPUT
|
||||
fi
|
||||
|
||||
- if: ${{ github.event_name == 'pull_request' }}
|
||||
name: Comment PR
|
||||
uses: thollander/actions-comment-pull-request@v2
|
||||
with:
|
||||
message: |
|
||||
${{ steps.message.outputs.MESSAGE }}
|
||||
|
||||
- name: Check on failures
|
||||
if: env.SUCCESS != 'true'
|
||||
run: exit 1
|
||||
|
||||
|
||||
9
.github/workflows/install-bindist.sh
vendored
9
.github/workflows/install-bindist.sh
vendored
@@ -1,4 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
set -x
|
||||
set -eo pipefail
|
||||
|
||||
export GHCUP_INSTALL_BASE_PREFIX=$RUNNER_TEMP/foobarbaz
|
||||
@@ -10,8 +11,16 @@ source $GHCUP_INSTALL_BASE_PREFIX/.ghcup/env || source ~/.bashrc
|
||||
ghcup --version
|
||||
which ghcup | grep foobarbaz
|
||||
|
||||
# oh no
|
||||
if [ "${TOOL}" = "hls" ] ; then
|
||||
ghcup -v --url-source=file:$METADATA_FILE install ghc --set 9.2.4
|
||||
fi
|
||||
|
||||
ghcup -v --url-source=file:$METADATA_FILE install $TOOL --set $VERSION
|
||||
|
||||
mkdir /tmp/install-bindist-ci
|
||||
cd /tmp/install-bindist-ci
|
||||
|
||||
cat <<EOF > main.hs
|
||||
{- cabal:
|
||||
build-depends: base
|
||||
|
||||
344
ghcup-0.0.7.yaml
344
ghcup-0.0.7.yaml
@@ -153,7 +153,7 @@ toolRequirements:
|
||||
unknown_versioning:
|
||||
distroPKGs: []
|
||||
notes: On Windows, msys2 should already have been set up during the installation,
|
||||
so most users should just press ENTER.
|
||||
so most users should just proceed.
|
||||
If you are installing manually, make sure to have a working mingw64 toolchain and
|
||||
shell.
|
||||
ghcupDownloads:
|
||||
@@ -167,7 +167,6 @@ ghcupDownloads:
|
||||
dlUri: https://downloads.haskell.org/~ghc/7.10.3/ghc-7.10.3-src.tar.xz
|
||||
dlSubdir: ghc-7.10.3
|
||||
dlHash: cf90cedce1c28fd0e2b9e72fe8a938756668d18ea1fcc884a19f698658ac4fef
|
||||
viPostRemove: &ghc-post-remove "After removing GHC you might also want to clean up your cabal store at: ~/.cabal/store/ghc-<ghcver>"
|
||||
viPostInstall: "GHC-7.10.3 may give linking errors on most modern distros. You may have to pass '--ghc-option=-optc-no-pie --ghc-option=-optl-no-pie' to cabal build/install. Also see https://gitlab.haskell.org/ghc/ghc/-/issues/18763"
|
||||
viArch:
|
||||
A_64:
|
||||
@@ -237,7 +236,6 @@ ghcupDownloads:
|
||||
dlUri: https://downloads.haskell.org/~ghc/8.0.2/ghc-8.0.2-src.tar.xz
|
||||
dlSubdir: ghc-8.0.2
|
||||
dlHash: 11625453e1d0686b3fa6739988f70ecac836cadc30b9f0c8b49ef9091d6118b1
|
||||
viPostRemove: *ghc-post-remove
|
||||
viArch:
|
||||
A_64:
|
||||
Linux_Debian:
|
||||
@@ -301,7 +299,6 @@ ghcupDownloads:
|
||||
dlUri: https://downloads.haskell.org/~ghc/8.2.2/ghc-8.2.2-src.tar.xz
|
||||
dlSubdir: ghc-8.2.2
|
||||
dlHash: bb8ec3634aa132d09faa270bbd604b82dfa61f04855655af6f9d14a9eedc05fc
|
||||
viPostRemove: *ghc-post-remove
|
||||
viArch:
|
||||
A_64:
|
||||
Linux_Debian:
|
||||
@@ -374,7 +371,6 @@ ghcupDownloads:
|
||||
dlUri: https://downloads.haskell.org/~ghc/8.4.1/ghc-8.4.1-src.tar.xz
|
||||
dlSubdir: ghc-8.4.1
|
||||
dlHash: 39ae2f25192408f355693e5a3c8b6ff613ddb7c4da998fdf26210143a61839d2
|
||||
viPostRemove: *ghc-post-remove
|
||||
viArch:
|
||||
A_64:
|
||||
Linux_Debian:
|
||||
@@ -429,7 +425,6 @@ ghcupDownloads:
|
||||
dlUri: https://downloads.haskell.org/~ghc/8.4.2/ghc-8.4.2-src.tar.xz
|
||||
dlSubdir: ghc-8.4.2
|
||||
dlHash: 01cc32f24a06bf3b2428351b6d7fec791e82d042426d29ad9e5a245b35f0047b
|
||||
viPostRemove: *ghc-post-remove
|
||||
viArch:
|
||||
A_64:
|
||||
Linux_Debian:
|
||||
@@ -448,7 +443,8 @@ ghcupDownloads:
|
||||
dlHash: d057b5c833596dbe4ae5d0dc2994f6cc5d0f4c2a21ea1d7900821d165fd4e846
|
||||
'( >= 16 && < 19 )': *ghc-842-64-deb9
|
||||
Linux_Mint:
|
||||
unknown_versioning: *ghc-842-64-fedora
|
||||
'< 20': *ghc-842-64-deb9
|
||||
'>= 20': *ghc-842-64-fedora
|
||||
Linux_Fedora:
|
||||
unknown_versioning: *ghc-842-64-fedora
|
||||
Linux_UnknownLinux:
|
||||
@@ -489,7 +485,6 @@ ghcupDownloads:
|
||||
dlUri: https://downloads.haskell.org/~ghc/8.4.3/ghc-8.4.3-src.tar.xz
|
||||
dlSubdir: ghc-8.4.3
|
||||
dlHash: ae47afda985830de8811243255aa3744dfb9207cb980af74393298b2b62160d6
|
||||
viPostRemove: *ghc-post-remove
|
||||
viArch:
|
||||
A_64:
|
||||
Linux_Debian:
|
||||
@@ -508,7 +503,8 @@ ghcupDownloads:
|
||||
dlHash: 269e7a4d3f336491b88409a020998122b30a3a729af78d33be86d3b3f8000c3e
|
||||
'( >= 16 && < 19 )': *ghc-843-64-deb9
|
||||
Linux_Mint:
|
||||
unknown_versioning: *ghc-843-64-fedora
|
||||
'< 20': *ghc-843-64-deb9
|
||||
'>= 20': *ghc-843-64-fedora
|
||||
Linux_Fedora:
|
||||
unknown_versioning: *ghc-843-64-fedora
|
||||
Linux_UnknownLinux:
|
||||
@@ -543,7 +539,6 @@ ghcupDownloads:
|
||||
dlUri: https://downloads.haskell.org/~ghc/8.4.4/ghc-8.4.4-src.tar.xz
|
||||
dlSubdir: ghc-8.4.4
|
||||
dlHash: 11117735a58e507c481c09f3f39ae5a314e9fbf49fc3109528f99ea7959004b2
|
||||
viPostRemove: *ghc-post-remove
|
||||
viArch:
|
||||
A_64:
|
||||
Linux_Debian:
|
||||
@@ -562,7 +557,8 @@ ghcupDownloads:
|
||||
dlHash: 8ab2befddc14d1434d0aad0c5d3c7e0c2b78ff84caa3429fa62527bfc6b86095
|
||||
'( >= 16 && < 19 )': *ghc-844-64-deb9
|
||||
Linux_Mint:
|
||||
unknown_versioning: *ghc-844-64-fedora
|
||||
'< 20': *ghc-844-64-deb9
|
||||
'>= 20': *ghc-844-64-fedora
|
||||
Linux_Fedora:
|
||||
unknown_versioning: *ghc-844-64-fedora
|
||||
Linux_CentOS:
|
||||
@@ -622,7 +618,6 @@ ghcupDownloads:
|
||||
dlUri: https://downloads.haskell.org/~ghc/8.6.1/ghc-8.6.1-src.tar.xz
|
||||
dlSubdir: ghc-8.6.1
|
||||
dlHash: 2c25c26d1e5c47c7cbb2a1d8e6456524033e7a71409184dd3125e3fc5a3c7036
|
||||
viPostRemove: *ghc-post-remove
|
||||
viArch:
|
||||
A_64:
|
||||
Linux_Debian:
|
||||
@@ -641,7 +636,8 @@ ghcupDownloads:
|
||||
dlHash: da903fbcf11ee6c977a8b7dac3f04dbc098d674def587880b6624b8f32588beb
|
||||
'( >= 16 && < 19 )': *ghc-861-64-deb9
|
||||
Linux_Mint:
|
||||
unknown_versioning: *ghc-861-64-fedora
|
||||
'< 20': *ghc-861-64-deb9
|
||||
'>= 20': *ghc-861-64-fedora
|
||||
Linux_Fedora:
|
||||
unknown_versioning: *ghc-861-64-fedora
|
||||
Linux_UnknownLinux:
|
||||
@@ -682,7 +678,6 @@ ghcupDownloads:
|
||||
dlUri: https://downloads.haskell.org/~ghc/8.6.2/ghc-8.6.2-src.tar.xz
|
||||
dlSubdir: ghc-8.6.2
|
||||
dlHash: caaa819d21280ecde90a4773143dee188711e9ff175a27cfbaee56eb851d76d5
|
||||
viPostRemove: *ghc-post-remove
|
||||
viArch:
|
||||
A_64:
|
||||
Linux_Debian:
|
||||
@@ -697,7 +692,8 @@ ghcupDownloads:
|
||||
dlHash: 702aa5dfa1639c37953ceb7571a5057d9fb0562aecb197b277953a037d78047d
|
||||
'( >= 16 && < 19 )': *ghc-862-64-deb8
|
||||
Linux_Mint:
|
||||
unknown_versioning: *ghc-862-64-fedora
|
||||
'< 20': *ghc-862-64-deb8
|
||||
'>= 20': *ghc-862-64-fedora
|
||||
Linux_Fedora:
|
||||
unknown_versioning: *ghc-862-64-fedora
|
||||
Linux_UnknownLinux:
|
||||
@@ -733,7 +729,6 @@ ghcupDownloads:
|
||||
dlUri: https://downloads.haskell.org/~ghc/8.6.3/ghc-8.6.3-src.tar.xz
|
||||
dlSubdir: ghc-8.6.3
|
||||
dlHash: 9f9e37b7971935d88ba80426c36af14b1e0b3ec1d9c860f44a4391771bc07f23
|
||||
viPostRemove: *ghc-post-remove
|
||||
viArch:
|
||||
A_64:
|
||||
Linux_Debian:
|
||||
@@ -752,7 +747,8 @@ ghcupDownloads:
|
||||
dlHash: 52ae92f4e8bb2ac0b7847287ea3da37081f5f7bf8bbb7c78ac35fde537d1a89f
|
||||
'( >= 16 && < 19 )': *ghc-863-64-deb9
|
||||
Linux_Mint:
|
||||
unknown_versioning: *ghc-863-64-fedora
|
||||
'< 20': *ghc-863-64-deb9
|
||||
'>= 20': *ghc-863-64-fedora
|
||||
Linux_Fedora:
|
||||
unknown_versioning: *ghc-863-64-fedora
|
||||
Linux_CentOS:
|
||||
@@ -802,7 +798,6 @@ ghcupDownloads:
|
||||
dlUri: https://downloads.haskell.org/~ghc/8.6.4/ghc-8.6.4-src.tar.xz
|
||||
dlSubdir: ghc-8.6.4
|
||||
dlHash: 5b5d07e4463203a433c3ed3df461ba6cce11b6d2b9b264db31f3429075d0303a
|
||||
viPostRemove: *ghc-post-remove
|
||||
viArch:
|
||||
A_64:
|
||||
Linux_Debian:
|
||||
@@ -821,7 +816,8 @@ ghcupDownloads:
|
||||
dlHash: e0b1ada7a679d6c35f9d7a1192ed35fde054f3650bb0bd2570d103729ad3b846
|
||||
'( >= 16 && < 19 )': *ghc-864-64-deb9
|
||||
Linux_Mint:
|
||||
unknown_versioning: *ghc-864-64-fedora
|
||||
'< 20': *ghc-864-64-deb9
|
||||
'>= 20': *ghc-864-64-fedora
|
||||
Linux_Fedora:
|
||||
unknown_versioning: *ghc-864-64-fedora
|
||||
Linux_UnknownLinux:
|
||||
@@ -856,7 +852,6 @@ ghcupDownloads:
|
||||
dlUri: https://downloads.haskell.org/~ghc/8.6.5/ghc-8.6.5-src.tar.xz
|
||||
dlSubdir: ghc-8.6.5
|
||||
dlHash: 4d4aa1e96f4001b934ac6193ab09af5d6172f41f5a5d39d8e43393b9aafee361
|
||||
viPostRemove: *ghc-post-remove
|
||||
viArch:
|
||||
A_64:
|
||||
Linux_Debian:
|
||||
@@ -875,7 +870,8 @@ ghcupDownloads:
|
||||
dlHash: cf78b53eaf336083e7a05f4a3000afbae4abe5bbc77ef80cc40e09d04ac5b4a1
|
||||
'( >= 16 && < 19 )': *ghc-865-64-deb9
|
||||
Linux_Mint:
|
||||
unknown_versioning: *ghc-865-64-fedora
|
||||
'< 20': *ghc-865-64-deb9
|
||||
'>= 20': *ghc-865-64-fedora
|
||||
Linux_Fedora:
|
||||
unknown_versioning: *ghc-865-64-fedora
|
||||
Linux_CentOS:
|
||||
@@ -941,7 +937,6 @@ ghcupDownloads:
|
||||
dlUri: https://downloads.haskell.org/~ghc/8.8.1/ghc-8.8.1-src.tar.xz
|
||||
dlSubdir: ghc-8.8.1
|
||||
dlHash: 908a83d9b814da74585de9d39687189e6260ec3848131f9d9236cab8a123721a
|
||||
viPostRemove: *ghc-post-remove
|
||||
viArch:
|
||||
A_64:
|
||||
Linux_Debian:
|
||||
@@ -960,7 +955,8 @@ ghcupDownloads:
|
||||
dlHash: 851a78df620bc056c34b252c97040d5755e294993fa8afa5429708b5229204d6
|
||||
'( >= 16 && < 19 )': *ghc-881-64-deb9
|
||||
Linux_Mint:
|
||||
unknown_versioning: *ghc-881-64-fedora
|
||||
'< 20': *ghc-881-64-deb9
|
||||
'>= 20': *ghc-881-64-fedora
|
||||
Linux_Fedora:
|
||||
unknown_versioning: *ghc-881-64-fedora
|
||||
Linux_CentOS:
|
||||
@@ -1005,7 +1001,6 @@ ghcupDownloads:
|
||||
dlUri: https://downloads.haskell.org/~ghc/8.8.2/ghc-8.8.2-src.tar.xz
|
||||
dlSubdir: ghc-8.8.2
|
||||
dlHash: 01cea54d90686b97bcc9960b108beaffccd4336dee930dcf9beaf52b1f370a0b
|
||||
viPostRemove: *ghc-post-remove
|
||||
viArch:
|
||||
A_64:
|
||||
Linux_Debian:
|
||||
@@ -1024,7 +1019,8 @@ ghcupDownloads:
|
||||
dlHash: dbe2db717b33460f790e155e487d2a31c9b21a9d245f0c9490ad65844c3ea21f
|
||||
'( >= 16 && < 19 )': *ghc-882-64-deb9
|
||||
Linux_Mint:
|
||||
unknown_versioning: *ghc-882-64-fedora
|
||||
'< 20': *ghc-882-64-deb9
|
||||
'>= 20': *ghc-882-64-fedora
|
||||
Linux_Fedora:
|
||||
unknown_versioning: *ghc-882-64-fedora
|
||||
Linux_CentOS:
|
||||
@@ -1069,7 +1065,6 @@ ghcupDownloads:
|
||||
dlUri: https://downloads.haskell.org/~ghc/8.8.3/ghc-8.8.3-src.tar.xz
|
||||
dlSubdir: ghc-8.8.3
|
||||
dlHash: e0dcc0aaf3e234c5978f29e6df62947e97720ab404ec0158343df211c5480f89
|
||||
viPostRemove: *ghc-post-remove
|
||||
viArch:
|
||||
A_64:
|
||||
Linux_Debian:
|
||||
@@ -1088,7 +1083,8 @@ ghcupDownloads:
|
||||
dlHash: 45ee1de3bfc98cbcc4886b65fc7651ade2d3820aa85eac2dbe9bc7bf91e7c818
|
||||
'( >= 16 && < 19 )': *ghc-883-64-deb9
|
||||
Linux_Mint:
|
||||
unknown_versioning: *ghc-883-64-fedora
|
||||
'< 20': *ghc-883-64-deb9
|
||||
'>= 20': *ghc-883-64-fedora
|
||||
Linux_Fedora:
|
||||
unknown_versioning: *ghc-883-64-fedora
|
||||
Linux_CentOS:
|
||||
@@ -1143,7 +1139,6 @@ ghcupDownloads:
|
||||
dlUri: https://downloads.haskell.org/~ghc/8.8.4/ghc-8.8.4-src.tar.xz
|
||||
dlSubdir: ghc-8.8.4
|
||||
dlHash: f0505e38b2235ff9f1090b51f44d6c8efd371068e5a6bb42a2a6d8b67b5ffc2d
|
||||
viPostRemove: *ghc-post-remove
|
||||
viArch:
|
||||
A_64:
|
||||
Linux_Debian:
|
||||
@@ -1162,7 +1157,8 @@ ghcupDownloads:
|
||||
dlHash: f32e37f8aa03e74bad533ae02f62dc27a4521e78199576af490888ba34b515db
|
||||
'( >= 16 && < 19 )': *ghc-884-64-deb9
|
||||
Linux_Mint:
|
||||
unknown_versioning: *ghc-884-64-fedora
|
||||
'< 20': *ghc-884-64-deb9
|
||||
'>= 20': *ghc-884-64-fedora
|
||||
Linux_Fedora:
|
||||
unknown_versioning: *ghc-884-64-fedora
|
||||
Linux_CentOS:
|
||||
@@ -1222,7 +1218,6 @@ ghcupDownloads:
|
||||
dlUri: https://downloads.haskell.org/~ghc/8.10.1/ghc-8.10.1-src.tar.xz
|
||||
dlSubdir: ghc-8.10.1
|
||||
dlHash: 4e3b07f83a266b3198310f19f71e371ebce97c769b14f0d688f4cbf2a2a1edf5
|
||||
viPostRemove: *ghc-post-remove
|
||||
viArch:
|
||||
A_64:
|
||||
Linux_Debian:
|
||||
@@ -1318,7 +1313,6 @@ ghcupDownloads:
|
||||
dlUri: https://downloads.haskell.org/~ghc/8.10.2/ghc-8.10.2-src.tar.xz
|
||||
dlSubdir: ghc-8.10.2
|
||||
dlHash: 9c573a4621a78723950617c223559bdc325ea6a3409264aedf68f05510b0880b
|
||||
viPostRemove: *ghc-post-remove
|
||||
viArch:
|
||||
A_64:
|
||||
Linux_Debian:
|
||||
@@ -1414,7 +1408,6 @@ ghcupDownloads:
|
||||
dlUri: https://downloads.haskell.org/~ghc/8.10.3/ghc-8.10.3-src.tar.xz
|
||||
dlSubdir: ghc-8.10.3
|
||||
dlHash: ccdc8319549028a708d7163e2967382677b1a5a379ff94d948195b5cf46eb931
|
||||
viPostRemove: *ghc-post-remove
|
||||
viArch:
|
||||
A_64:
|
||||
Linux_Debian:
|
||||
@@ -1449,9 +1442,9 @@ ghcupDownloads:
|
||||
unknown_versioning: *ghc-8103-64-centos
|
||||
Linux_Alpine:
|
||||
unknown_versioning:
|
||||
dlUri: https://downloads.haskell.org/~ghc/8.10.3/ghc-8.10.3-x86_64-alpine3.10-linux-integer-simple.tar.xz
|
||||
dlUri: https://downloads.haskell.org/~ghcup/unofficial-bindists/ghc/curated/8.10.3/ghc-8.10.3-x86_64-alpine3.10-linux-integer-simple.tar.xz
|
||||
dlSubdir: ghc-8.10.3-x86_64-unknown-linux
|
||||
dlHash: 8506c478ebbfb5441c3c36c07c36fc8532cacb2b3e13c6733bd44cb17b3ce96c
|
||||
dlHash: 94aa382fe04f25d2c315814381aceb7755e84675b2f7c8ce69a0faa36947203c
|
||||
Linux_AmazonLinux:
|
||||
unknown_versioning: *ghc-8103-64-centos
|
||||
Linux_UnknownLinux:
|
||||
@@ -1510,7 +1503,6 @@ ghcupDownloads:
|
||||
dlUri: https://downloads.haskell.org/~ghc/8.10.4/ghc-8.10.4-src.tar.xz
|
||||
dlSubdir: ghc-8.10.4
|
||||
dlHash: 52af871b4e08550257d720c2944ac85727d0b948407cef1bebfe7508c224910e
|
||||
viPostRemove: *ghc-post-remove
|
||||
viPreCompile: &ghc-pre-compile "If you have autoconf >= 2.70 you'll need this patch https://gitlab.haskell.org/ghc/ghc/-/snippets/2040 (see the --patchdir option)"
|
||||
viArch:
|
||||
A_64:
|
||||
@@ -1607,7 +1599,6 @@ ghcupDownloads:
|
||||
dlUri: https://downloads.haskell.org/~ghc/8.10.5/ghc-8.10.5-src.tar.xz
|
||||
dlSubdir: ghc-8.10.5
|
||||
dlHash: f10941f16e4fbd98580ab5241b9271bb0851304560c4d5ca127e3b0e20e3076f
|
||||
viPostRemove: *ghc-post-remove
|
||||
viPreCompile: *ghc-pre-compile
|
||||
viPostInstall: &ghc-8105-post-install |
|
||||
GHC 8.10.5 and 8.10.6 have several issues on Darwin, e.g.
|
||||
@@ -1714,7 +1705,6 @@ ghcupDownloads:
|
||||
dlUri: https://downloads.haskell.org/~ghc/8.10.6/ghc-8.10.6-src.tar.xz
|
||||
dlSubdir: ghc-8.10.6
|
||||
dlHash: 43afba72a533408b42c1492bd047b5e37e5f7204e41a5cedd3182cc841610ce9
|
||||
viPostRemove: *ghc-post-remove
|
||||
viPreCompile: *ghc-pre-compile
|
||||
viPostInstall: *ghc-8105-post-install
|
||||
viArch:
|
||||
@@ -1816,7 +1806,6 @@ ghcupDownloads:
|
||||
dlUri: https://downloads.haskell.org/~ghc/8.10.7/ghc-8.10.7-src.tar.xz
|
||||
dlSubdir: ghc-8.10.7
|
||||
dlHash: e3eef6229ce9908dfe1ea41436befb0455fefb1932559e860ad4c606b0d03c9d
|
||||
viPostRemove: *ghc-post-remove
|
||||
viPreCompile: *ghc-pre-compile
|
||||
viArch:
|
||||
A_64:
|
||||
@@ -1918,7 +1907,6 @@ ghcupDownloads:
|
||||
dlUri: https://downloads.haskell.org/~ghc/9.0.1/ghc-9.0.1-src.tar.xz
|
||||
dlSubdir: ghc-9.0.1
|
||||
dlHash: a5230314e4065f9fcc371dfe519748fd85c825b279abf72a24e09b83578a35f9
|
||||
viPostRemove: *ghc-post-remove
|
||||
viArch:
|
||||
A_64:
|
||||
Linux_Debian:
|
||||
@@ -2013,7 +2001,6 @@ ghcupDownloads:
|
||||
dlUri: https://downloads.haskell.org/~ghc/9.0.2/ghc-9.0.2-src.tar.xz
|
||||
dlSubdir: ghc-9.0.2
|
||||
dlHash: 140e42b96346322d1a39eb17602bcdc76e292028ad4a69286b230bab188a9197
|
||||
viPostRemove: *ghc-post-remove
|
||||
viArch:
|
||||
A_64:
|
||||
Linux_Debian:
|
||||
@@ -2108,7 +2095,6 @@ ghcupDownloads:
|
||||
dlUri: https://downloads.haskell.org/~ghc/9.2.1/ghc-9.2.1-src.tar.xz
|
||||
dlSubdir: ghc-9.2.1
|
||||
dlHash: f444012f97a136d9940f77cdff03fda48f9475e2ed0fec966c4d35c4df55f746
|
||||
viPostRemove: *ghc-post-remove
|
||||
viArch:
|
||||
A_64:
|
||||
Linux_Debian:
|
||||
@@ -2202,7 +2188,6 @@ ghcupDownloads:
|
||||
dlUri: https://downloads.haskell.org/~ghc/9.2.2/ghc-9.2.2-src.tar.xz
|
||||
dlSubdir: ghc-9.2.2
|
||||
dlHash: 902463a4cc6ee479af9358b9f8b2ee3237b03e934a1ea65b6d1fcf3e0d749ea6
|
||||
viPostRemove: *ghc-post-remove
|
||||
viArch:
|
||||
A_64:
|
||||
Linux_Debian:
|
||||
@@ -2285,7 +2270,6 @@ ghcupDownloads:
|
||||
dlUri: https://downloads.haskell.org/~ghc/9.2.3/ghc-9.2.3-src-booted.tar.xz
|
||||
dlSubdir: ghc-9.2.3
|
||||
dlHash: 00e33a2640e64014fcef4e385f661f61c47839755054a2f87ffe4d5a58c6cdaa
|
||||
viPostRemove: *ghc-post-remove
|
||||
viArch:
|
||||
A_64:
|
||||
Linux_Debian:
|
||||
@@ -2366,14 +2350,12 @@ ghcupDownloads:
|
||||
dlHash: 56a03022703e4305020a267105bd5ebfb1bcb8e7eed33261b3987f79445bcc3a
|
||||
9.2.4:
|
||||
viTags:
|
||||
- Recommended
|
||||
- base-4.16.3.0
|
||||
viChangeLog: https://downloads.haskell.org/~ghc/9.2.4/docs/html/users_guide/index.html
|
||||
viSourceDL:
|
||||
dlUri: https://downloads.haskell.org/~ghc/9.2.4/ghc-9.2.4-src.tar.xz
|
||||
dlSubdir: ghc-9.2.4
|
||||
dlHash: 15213888064a0ec4e7723d075f31b87a678ce0851773d58b44ef7aa3de996458
|
||||
viPostRemove: *ghc-post-remove
|
||||
viArch:
|
||||
A_64:
|
||||
Linux_Debian:
|
||||
@@ -2452,6 +2434,93 @@ ghcupDownloads:
|
||||
dlUri: https://downloads.haskell.org/~ghc/9.2.4/ghc-9.2.4-aarch64-apple-darwin.tar.xz
|
||||
dlSubdir: ghc-9.2.4-aarch64-apple-darwin
|
||||
dlHash: 8cf8408544a1a43adf1bbbb0dd6b074efadffc68bfa1a792947c52e825171224
|
||||
9.2.5:
|
||||
viTags:
|
||||
- Recommended
|
||||
- base-4.16.4.0
|
||||
viChangeLog: https://downloads.haskell.org/~ghc/9.2.5/docs/html/users_guide/index.html
|
||||
viSourceDL:
|
||||
dlUri: https://downloads.haskell.org/~ghc/9.2.5/ghc-9.2.5-src.tar.xz
|
||||
dlSubdir: ghc-9.2.5
|
||||
dlHash: 0606797d1b38e2d88ee2243f38ec6b9a1aa93e9b578e95f0de9a9c0a4144021c
|
||||
viArch:
|
||||
A_64:
|
||||
Linux_Debian:
|
||||
'< 10': &ghc-925-64-deb9
|
||||
dlUri: https://downloads.haskell.org/~ghc/9.2.5/ghc-9.2.5-x86_64-deb9-linux.tar.xz
|
||||
dlSubdir: ghc-9.2.5
|
||||
dlHash: 2d115b7258751f0e4481e35b5953ca3c7870e8ec9ce68f1d32fc014ddc29b2a5
|
||||
'>= 10': &ghc-925-64-deb10
|
||||
dlUri: https://downloads.haskell.org/~ghc/9.2.5/ghc-9.2.5-x86_64-deb10-linux.tar.xz
|
||||
dlSubdir: ghc-9.2.5
|
||||
dlHash: 89f2df47d86a45593d6ba3fd3a44b627d100588cd59be257570dbe3f92b17c48
|
||||
unknown_versioning: *ghc-925-64-deb10
|
||||
Linux_Ubuntu:
|
||||
unknown_versioning: &ghc-925-64-fedora
|
||||
dlUri: https://downloads.haskell.org/~ghc/9.2.5/ghc-9.2.5-x86_64-fedora27-linux.tar.xz
|
||||
dlSubdir: ghc-9.2.5
|
||||
dlHash: 5bf47d6eb9332d76098669623668836d8e44c7d67c1bc0a954332e8385735fe7
|
||||
'( >= 16 && < 19 )': *ghc-925-64-deb9
|
||||
Linux_Mint:
|
||||
'< 20': *ghc-925-64-deb9
|
||||
'>= 20': *ghc-925-64-fedora
|
||||
Linux_Fedora:
|
||||
'( >= 27 && < 28 )': *ghc-925-64-fedora
|
||||
unknown_versioning: *ghc-925-64-fedora
|
||||
Linux_CentOS:
|
||||
'( >= 7 && < 8 )': &ghc-925-64-centos
|
||||
dlUri: https://downloads.haskell.org/~ghc/9.2.5/ghc-9.2.5-x86_64-centos7-linux.tar.xz
|
||||
dlSubdir: ghc-9.2.5
|
||||
dlHash: 07c02710ac691a15c4b62e097b98862179fef21fb0bd3bd1e737eaed5831d2fa
|
||||
unknown_versioning: *ghc-925-64-centos
|
||||
Linux_RedHat:
|
||||
unknown_versioning: *ghc-925-64-centos
|
||||
Linux_UnknownLinux:
|
||||
unknown_versioning: *ghc-925-64-fedora
|
||||
Darwin:
|
||||
unknown_versioning:
|
||||
dlUri: https://downloads.haskell.org/~ghc/9.2.5/ghc-9.2.5-x86_64-apple-darwin.tar.xz
|
||||
dlSubdir: ghc-9.2.5-x86_64-apple-darwin
|
||||
dlHash: 6c46f5003f29d09802d572a7c5fabf6c1f91714a474967a5415b15df77fdcd90
|
||||
FreeBSD:
|
||||
unknown_versioning:
|
||||
dlUri: https://downloads.haskell.org/~ghc/9.2.5/ghc-9.2.5-x86_64-portbld-freebsd.tar.xz
|
||||
dlSubdir: ghc-9.2.5
|
||||
dlHash: add95df67d743f65737237afa2c6589b2d2e1192771ee5082ce84b9716ef29da
|
||||
Windows:
|
||||
unknown_versioning:
|
||||
dlUri: https://downloads.haskell.org/~ghc/9.2.5/ghc-9.2.5-x86_64-unknown-mingw32.tar.xz
|
||||
dlSubdir: ghc-9.2.5-x86_64-unknown-mingw32
|
||||
dlHash: a6815804606ef2d99250078d5c1315b74bb5718d8f15a629f211bcd37bad07c3
|
||||
Linux_Alpine:
|
||||
unknown_versioning:
|
||||
dlUri: https://downloads.haskell.org/~ghc/9.2.5/ghc-9.2.5-x86_64-alpine3.12-linux-gmp.tar.xz
|
||||
dlSubdir: ghc-9.2.5-x86_64-unknown-linux
|
||||
dlHash: ef35f3b68abcde11ebeb2e1d42e48b2c1d189e27d951abdda678bb0492fae2b8
|
||||
A_32:
|
||||
Linux_Debian:
|
||||
'< 10': &ghc-925-32-deb9
|
||||
dlUri: https://downloads.haskell.org/~ghc/9.2.5/ghc-9.2.5-i386-deb9-linux.tar.xz
|
||||
dlSubdir: ghc-9.2.5
|
||||
dlHash: cf2088010e4477cb84b26725107eeb23e878368074abcf04f089d498ca2d9ddf
|
||||
unknown_versioning: *ghc-925-32-deb9
|
||||
Linux_Ubuntu:
|
||||
unknown_versioning: *ghc-925-32-deb9
|
||||
Linux_Mint:
|
||||
unknown_versioning: *ghc-925-32-deb9
|
||||
Linux_UnknownLinux:
|
||||
unknown_versioning: *ghc-925-32-deb9
|
||||
A_ARM64:
|
||||
Linux_UnknownLinux:
|
||||
unknown_versioning:
|
||||
dlUri: https://downloads.haskell.org/~ghc/9.2.5/ghc-9.2.5-aarch64-deb10-linux.tar.xz
|
||||
dlSubdir: ghc-9.2.5
|
||||
dlHash: 29c0735ada90cdbf7e4a227dee08f18d74e33ec05d7c681e4ef95b8aa13104b3
|
||||
Darwin:
|
||||
unknown_versioning:
|
||||
dlUri: https://downloads.haskell.org/~ghc/9.2.5/ghc-9.2.5-aarch64-apple-darwin.tar.xz
|
||||
dlSubdir: ghc-9.2.5-aarch64-apple-darwin
|
||||
dlHash: b060ad093e0d86573e01b3d1fd622d4892f8d8925cbb7d75a67a01d2a4f27f18
|
||||
9.4.1:
|
||||
viTags:
|
||||
- base-4.17.0.0
|
||||
@@ -2461,7 +2530,6 @@ ghcupDownloads:
|
||||
dlUri: https://downloads.haskell.org/~ghc/9.4.1/ghc-9.4.1-src.tar.xz
|
||||
dlSubdir: ghc-9.4.1
|
||||
dlHash: cbfed4640bdf025e33ba55433daf8cdf698f4e0499ae7a800dde44a82e7396e3
|
||||
viPostRemove: *ghc-post-remove
|
||||
viArch:
|
||||
A_64:
|
||||
Linux_Debian:
|
||||
@@ -2484,18 +2552,18 @@ ghcupDownloads:
|
||||
Linux_Mint:
|
||||
'< 20': *ghc-941-64-deb9
|
||||
'>= 20': *ghc-941-64-deb10
|
||||
Linux_Fedora:
|
||||
'( >= 33 && < 34 )': &ghc-941-64-fedora
|
||||
dlUri: https://downloads.haskell.org/~ghc/9.4.1/ghc-9.4.1-x86_64-fedora33-linux.tar.xz
|
||||
dlSubdir: ghc-9.4.1-x86_64-unknown-linux
|
||||
dlHash: efe05368d6367ce9109c7607a0945d85273cc95a730dd17f23d8ae79ee3524ea
|
||||
unknown_versioning: *ghc-941-64-fedora
|
||||
Linux_CentOS:
|
||||
'( >= 7 && < 8 )': &ghc-941-64-centos
|
||||
dlUri: https://downloads.haskell.org/~ghc/9.4.1/ghc-9.4.1-x86_64-centos7-linux.tar.xz
|
||||
dlSubdir: ghc-9.4.1-x86_64-unknown-linux
|
||||
dlHash: 2ac415621849c32a400d69af059a3bb1cfa852c1427be6733540f0f7ad2a7470
|
||||
unknown_versioning: *ghc-941-64-centos
|
||||
Linux_Fedora:
|
||||
'>= 33': &ghc-941-64-fedora
|
||||
dlUri: https://downloads.haskell.org/~ghc/9.4.1/ghc-9.4.1-x86_64-fedora33-linux.tar.xz
|
||||
dlSubdir: ghc-9.4.1-x86_64-unknown-linux
|
||||
dlHash: efe05368d6367ce9109c7607a0945d85273cc95a730dd17f23d8ae79ee3524ea
|
||||
unknown_versioning: *ghc-941-64-centos
|
||||
Linux_RedHat:
|
||||
unknown_versioning: *ghc-941-64-centos
|
||||
Linux_UnknownLinux:
|
||||
@@ -2541,14 +2609,12 @@ ghcupDownloads:
|
||||
dlHash: a3ad3eb3a1f60a544ba7e79d53f081646ffdb257b497ccbdb896870f4009b11c
|
||||
9.4.2:
|
||||
viTags:
|
||||
- Latest
|
||||
- base-4.17.0.0
|
||||
viChangeLog: https://downloads.haskell.org/~ghc/9.4.2/docs/users_guide/9.4.2-notes.html
|
||||
viSourceDL:
|
||||
dlUri: https://downloads.haskell.org/~ghc/9.4.2/ghc-9.4.2-src.tar.xz
|
||||
dlSubdir: ghc-9.4.2
|
||||
dlHash: 7227ef3b5e15a0d70b8f1a43aec32867e2a9b2d857cc0ed556aeed172d4db3a5
|
||||
viPostRemove: *ghc-post-remove
|
||||
viArch:
|
||||
A_64:
|
||||
Linux_Debian:
|
||||
@@ -2571,18 +2637,18 @@ ghcupDownloads:
|
||||
Linux_Mint:
|
||||
'< 20': *ghc-942-64-deb9
|
||||
'>= 20': *ghc-942-64-deb10
|
||||
Linux_Fedora:
|
||||
'( >= 33 && < 34 )': &ghc-942-64-fedora
|
||||
dlUri: https://downloads.haskell.org/~ghc/9.4.2/ghc-9.4.2-x86_64-fedora33-linux.tar.xz
|
||||
dlSubdir: ghc-9.4.2-x86_64-unknown-linux
|
||||
dlHash: 017bbf5ba0d526ec82ac97a2ea2a177f162424ea970cd5d6279b843b3d799668
|
||||
unknown_versioning: *ghc-942-64-fedora
|
||||
Linux_CentOS:
|
||||
'( >= 7 && < 8 )': &ghc-942-64-centos
|
||||
dlUri: https://downloads.haskell.org/~ghc/9.4.2/ghc-9.4.2-x86_64-centos7-linux.tar.xz
|
||||
dlSubdir: ghc-9.4.2-x86_64-unknown-linux
|
||||
dlHash: c88c1a4abe379478b70d2182533f35547c5e266048460b532b47f4f9df68d1da
|
||||
unknown_versioning: *ghc-942-64-centos
|
||||
Linux_Fedora:
|
||||
'>= 33': &ghc-942-64-fedora
|
||||
dlUri: https://downloads.haskell.org/~ghc/9.4.2/ghc-9.4.2-x86_64-fedora33-linux.tar.xz
|
||||
dlSubdir: ghc-9.4.2-x86_64-unknown-linux
|
||||
dlHash: 017bbf5ba0d526ec82ac97a2ea2a177f162424ea970cd5d6279b843b3d799668
|
||||
unknown_versioning: *ghc-942-64-centos
|
||||
Linux_RedHat:
|
||||
unknown_versioning: *ghc-942-64-centos
|
||||
Linux_UnknownLinux:
|
||||
@@ -2626,6 +2692,92 @@ ghcupDownloads:
|
||||
dlUri: https://downloads.haskell.org/~ghc/9.4.2/ghc-9.4.2-aarch64-apple-darwin.tar.xz
|
||||
dlSubdir: ghc-9.4.2-aarch64-apple-darwin
|
||||
dlHash: 3f38808ac6b47631487b37535b6792d6594f5e2fbb5204bb9573ed528748e736
|
||||
9.4.3:
|
||||
viTags:
|
||||
- Latest
|
||||
- base-4.17.0.0
|
||||
viChangeLog: https://downloads.haskell.org/~ghc/9.4.3/docs/users_guide/9.4.3-notes.html
|
||||
viSourceDL:
|
||||
dlUri: https://downloads.haskell.org/~ghc/9.4.3/ghc-9.4.3-src.tar.xz
|
||||
dlSubdir: ghc-9.4.3
|
||||
dlHash: eaf63949536ede50ee39179f2299d5094eb9152d87cc6fb2175006bc98e8905a
|
||||
viArch:
|
||||
A_64:
|
||||
Linux_Debian:
|
||||
'< 10': &ghc-943-64-deb9
|
||||
dlUri: https://downloads.haskell.org/~ghc/9.4.3/ghc-9.4.3-x86_64-deb9-linux.tar.xz
|
||||
dlSubdir: ghc-9.4.3-x86_64-unknown-linux
|
||||
dlHash: 5419f7df67087646a663d1e16910301287dca027e815f28b532840dc1b8fc4fa
|
||||
'(>= 10 && < 11)': &ghc-943-64-deb10
|
||||
dlUri: https://downloads.haskell.org/~ghc/9.4.3/ghc-9.4.3-x86_64-deb10-linux.tar.xz
|
||||
dlSubdir: ghc-9.4.3-x86_64-unknown-linux
|
||||
dlHash: 940ac2b1770dc63b5f3f38f829bfe69f4a572d6b26cd93094cdd99d5300b5067
|
||||
'>= 11': &ghc-943-64-deb11
|
||||
dlUri: https://downloads.haskell.org/~ghc/9.4.3/ghc-9.4.3-x86_64-deb11-linux.tar.xz
|
||||
dlSubdir: ghc-9.4.3-x86_64-unknown-linux
|
||||
dlHash: d08376b15cd90b15b3aa3db902e615b4b0d781ef6598abd89527433bb0f44786
|
||||
unknown_versioning: *ghc-943-64-deb11
|
||||
Linux_Ubuntu:
|
||||
unknown_versioning: *ghc-943-64-deb10
|
||||
'( >= 16 && < 19 )': *ghc-943-64-deb9
|
||||
Linux_Mint:
|
||||
'< 20': *ghc-943-64-deb9
|
||||
'>= 20': *ghc-943-64-deb10
|
||||
Linux_CentOS:
|
||||
'( >= 7 && < 8 )': &ghc-943-64-centos
|
||||
dlUri: https://downloads.haskell.org/~ghc/9.4.3/ghc-9.4.3-x86_64-centos7-linux.tar.xz
|
||||
dlSubdir: ghc-9.4.3-x86_64-unknown-linux
|
||||
dlHash: 4cdc8f666e48aceeadf40affcff1a74002d879d58eb743a45e67cd163968eae0
|
||||
unknown_versioning: *ghc-943-64-centos
|
||||
Linux_Fedora:
|
||||
'>= 33': &ghc-943-64-fedora
|
||||
dlUri: https://downloads.haskell.org/~ghc/9.4.3/ghc-9.4.3-x86_64-fedora33-linux.tar.xz
|
||||
dlSubdir: ghc-9.4.3-x86_64-unknown-linux
|
||||
dlHash: 50037bc8672f0429e2de1255b21f04529807182cf74887a60e4d416d3b6ce8f2
|
||||
unknown_versioning: *ghc-943-64-centos
|
||||
Linux_RedHat:
|
||||
unknown_versioning: *ghc-943-64-centos
|
||||
Linux_UnknownLinux:
|
||||
unknown_versioning: *ghc-943-64-fedora
|
||||
Darwin:
|
||||
unknown_versioning:
|
||||
dlUri: https://downloads.haskell.org/~ghc/9.4.3/ghc-9.4.3-x86_64-apple-darwin.tar.xz
|
||||
dlSubdir: ghc-9.4.3-x86_64-apple-darwin
|
||||
dlHash: 501d264f2f73faa63b4e6d9569dc7d12ad97af11827c7b55d346cc6795ff5e04
|
||||
Windows:
|
||||
unknown_versioning:
|
||||
dlUri: https://downloads.haskell.org/~ghc/9.4.3/ghc-9.4.3-x86_64-unknown-mingw32.tar.xz
|
||||
dlSubdir: ghc-9.4.3-x86_64-unknown-mingw32
|
||||
dlHash: a1169919303518f598d53670c1155b2bfec9e1147e8c42bfb8b64b91207bee55
|
||||
Linux_Alpine:
|
||||
unknown_versioning:
|
||||
dlUri: https://downloads.haskell.org/~ghc/9.4.3/ghc-9.4.3-x86_64-alpine3_12-linux-static-int_native.tar.xz
|
||||
dlSubdir: ghc-9.4.3-x86_64-unknown-linux
|
||||
dlHash: 4a2869fce0606884458f92a67655dd917c00e93a7230bbb4a8bbd28b994d875e
|
||||
A_32:
|
||||
Linux_Debian:
|
||||
'< 10': &ghc-943-32-deb9
|
||||
dlUri: https://downloads.haskell.org/~ghc/9.4.3/ghc-9.4.3-i386-deb9-linux.tar.xz
|
||||
dlSubdir: ghc-9.4.3-i386-unknown-linux
|
||||
dlHash: f7140655a50672f33c9b09880f5159f5eaa77e7e9330aa80996ab63712480e83
|
||||
unknown_versioning: *ghc-943-32-deb9
|
||||
Linux_Ubuntu:
|
||||
unknown_versioning: *ghc-943-32-deb9
|
||||
Linux_Mint:
|
||||
unknown_versioning: *ghc-943-32-deb9
|
||||
Linux_UnknownLinux:
|
||||
unknown_versioning: *ghc-943-32-deb9
|
||||
A_ARM64:
|
||||
Linux_UnknownLinux:
|
||||
unknown_versioning:
|
||||
dlUri: https://downloads.haskell.org/~ghc/9.4.3/ghc-9.4.3-aarch64-deb10-linux.tar.xz
|
||||
dlSubdir: ghc-9.4.3-aarch64-unknown-linux
|
||||
dlHash: 9694131b02f938e72e1740b772ff1c1c81a36ef44233dc230bbd978e7dd08e71
|
||||
Darwin:
|
||||
unknown_versioning:
|
||||
dlUri: https://downloads.haskell.org/~ghc/9.4.3/ghc-9.4.3-aarch64-apple-darwin.tar.xz
|
||||
dlSubdir: ghc-9.4.3-aarch64-apple-darwin
|
||||
dlHash: 531c0a4708655bc8707ba88b8a72d34b5958fddc519a12359613f6db62f0eb82
|
||||
Cabal:
|
||||
2.4.1.0:
|
||||
viTags:
|
||||
@@ -3396,22 +3548,22 @@ ghcupDownloads:
|
||||
dlHash: 63ee164e83ac76d440e0c0e777e9c7604dddff498fa53368132326d03da1817f
|
||||
unknown_versioning: *hls-180-64-deb9
|
||||
Linux_Ubuntu:
|
||||
unknown_versioning:
|
||||
unknown_versioning: &hls-180-64-ubuntu20
|
||||
dlUri: https://downloads.haskell.org/~ghcup/unofficial-bindists/haskell-language-server/1.8.0.0/haskell-language-server-1.8.0.0-x86_64-linux-ubuntu20.04.tar.xz
|
||||
dlSubdir: haskell-language-server-1.8.0.0
|
||||
dlHash: f431add1ca5881d04caef9d2cf834248d8b4c36c7884221e39152c1aecd1ce56
|
||||
'( >= 16 && < 19 )':
|
||||
'( >= 16 && < 19 )': &hls-180-64-ubuntu18
|
||||
dlUri: https://downloads.haskell.org/~ghcup/unofficial-bindists/haskell-language-server/1.8.0.0/haskell-language-server-1.8.0.0-x86_64-linux-ubuntu18.04.tar.xz
|
||||
dlSubdir: haskell-language-server-1.8.0.0
|
||||
dlHash: 46e6c9309cfdf56746e659992ef1de9846b9abae9156bd96d51bc7e631074e2b
|
||||
Linux_Mint:
|
||||
'< 20': *hls-180-64-deb9
|
||||
'>= 20': &hls-180-64-fedora
|
||||
'< 20': *hls-180-64-ubuntu18
|
||||
'>= 20': *hls-180-64-ubuntu20
|
||||
Linux_Fedora:
|
||||
'( >= 27 && < 34 )': &hls-180-64-fedora
|
||||
dlUri: https://downloads.haskell.org/~hls/haskell-language-server-1.8.0.0/haskell-language-server-1.8.0.0-x86_64-linux-fedora33.tar.xz
|
||||
dlSubdir: haskell-language-server-1.8.0.0
|
||||
dlHash: a26c8225261bbd204014eb3df18b58b45a43594b8011910f3c5f560bc7171d33
|
||||
Linux_Fedora:
|
||||
'( >= 27 && < 34 )': *hls-180-64-fedora
|
||||
unknown_versioning: *hls-180-64-fedora
|
||||
Linux_CentOS:
|
||||
'( >= 7 && < 8 )': &hls-180-64-centos
|
||||
@@ -3449,17 +3601,11 @@ ghcupDownloads:
|
||||
- old
|
||||
viChangeLog: https://github.com/commercialhaskell/stack/blob/master/ChangeLog.md#v251
|
||||
viPostInstall: &stack-post |
|
||||
Stack manages GHC versions internally by default. In order to make it use ghcup installed
|
||||
GHC versions you can run the following commands:
|
||||
stack config set install-ghc false --global
|
||||
stack config set system-ghc true --global
|
||||
Stack manages GHC versions internally by default. To improve integration, please visit:
|
||||
https://www.haskell.org/ghcup/guide/#stack-integration
|
||||
|
||||
On windows, you may find the following config options useful too:
|
||||
skip-msys, extra-path, extra-include-dirs, extra-lib-dirs
|
||||
|
||||
Also check out: https://docs.haskellstack.org/en/stable/yaml_configuration
|
||||
|
||||
!!! Additionally, you should upgrade stack only through ghcup and not use 'stack upgrade' !!!
|
||||
Also check out:
|
||||
https://docs.haskellstack.org/en/stable/yaml_configuration
|
||||
viArch:
|
||||
A_64:
|
||||
Linux_UnknownLinux:
|
||||
@@ -3615,7 +3761,6 @@ ghcupDownloads:
|
||||
2.9.1:
|
||||
viTags:
|
||||
- Recommended
|
||||
- Latest
|
||||
viChangeLog: https://github.com/commercialhaskell/stack/blob/master/ChangeLog.md#v291
|
||||
viPostInstall: *stack-post
|
||||
viArch:
|
||||
@@ -3661,3 +3806,48 @@ ghcupDownloads:
|
||||
unknown_versioning:
|
||||
dlUri: https://downloads.haskell.org/ghcup/unofficial-bindists/stack/2.9.1/stack-2.9.1-linux-armv7.tar.gz
|
||||
dlHash: fa53c58d8d00a6d49ec26624aa7f817f5ece3c4df339fa6e4fccf1038b7f1fa5
|
||||
2.9.3:
|
||||
viTags:
|
||||
- Latest
|
||||
viChangeLog: https://github.com/commercialhaskell/stack/blob/master/ChangeLog.md#v293
|
||||
viPostInstall: *stack-post
|
||||
viArch:
|
||||
A_64:
|
||||
Linux_UnknownLinux:
|
||||
unknown_versioning: &stack-293-64
|
||||
dlUri: https://github.com/commercialhaskell/stack/releases/download/v2.9.3/stack-2.9.3-linux-x86_64-static.tar.gz
|
||||
dlHash: b1cc32d772456b6ee7aefdd606c25c341670400cec577f8966365f962f883ec5
|
||||
dlSubdir:
|
||||
RegexDir: "stack-.*"
|
||||
Darwin:
|
||||
unknown_versioning:
|
||||
dlUri: https://github.com/commercialhaskell/stack/releases/download/v2.9.3/stack-2.9.3-osx-x86_64.tar.gz
|
||||
dlHash: 34b74a0e764cd7363255005158984be11faa392871acc6b5af3238ac444a2806
|
||||
dlSubdir:
|
||||
RegexDir: "stack-.*"
|
||||
Windows:
|
||||
unknown_versioning:
|
||||
dlUri: https://github.com/commercialhaskell/stack/releases/download/v2.9.3/stack-2.9.3-windows-x86_64.tar.gz
|
||||
dlHash: 816be0ce817f74c18074b1a496b4ac9ea0b22b7745d9a7bf77c19161e251e8ad
|
||||
dlSubdir:
|
||||
RegexDir: "stack-.*"
|
||||
Linux_Alpine:
|
||||
unknown_versioning: *stack-293-64
|
||||
A_32:
|
||||
Linux_UnknownLinux:
|
||||
unknown_versioning: &stack-293-32
|
||||
dlUri: https://downloads.haskell.org/ghcup/unofficial-bindists/stack/2.9.3/stack-2.9.3-linux-i386.tar.gz
|
||||
dlHash: 89f7237a326f0644319289ff86320a99c1c0c631cb0a12667a4f22f10cc1cec7
|
||||
Linux_Alpine:
|
||||
unknown_versioning: *stack-293-32
|
||||
A_ARM64:
|
||||
Linux_UnknownLinux:
|
||||
unknown_versioning:
|
||||
dlUri: https://github.com/commercialhaskell/stack/releases/download/v2.9.3/stack-2.9.3-linux-aarch64.tar.gz
|
||||
dlHash: 161e1638da9efc56319f7225b3652ca3f339bcda9eadc7d6ce512f325b0f014a
|
||||
dlSubdir:
|
||||
RegexDir: "stack-.*"
|
||||
Darwin:
|
||||
unknown_versioning:
|
||||
dlUri: https://downloads.haskell.org/ghcup/unofficial-bindists/stack/2.9.3/stack-2.9.3-osx-aarch64.tar.gz
|
||||
dlHash: a56d2cd37611eccf00ab8df38c3718923cf5677f3aeacd250394e79b676dcb98
|
||||
|
||||
Binary file not shown.
@@ -11,6 +11,7 @@ module Generate where
|
||||
|
||||
import GHCup
|
||||
import GHCup.Download
|
||||
import GHCup.Requirements
|
||||
import GHCup.Errors
|
||||
import GHCup.Types
|
||||
import GHCup.Types.Optics
|
||||
@@ -144,13 +145,14 @@ generateTable output = do
|
||||
handle <- case output of
|
||||
StdOut -> pure stdout
|
||||
FileOutput fp -> liftIO $ openFile fp WriteMode
|
||||
|
||||
|
||||
forM_ [GHC,Cabal,HLS,Stack] $ \tool -> do
|
||||
case tool of
|
||||
GHC -> liftIO $ hPutStrLn handle $ "<details> <summary>Show all supported <a href='https://www.haskell.org/ghc/'>GHC</a> versions</summary>"
|
||||
Cabal -> liftIO $ hPutStrLn handle $ "<details> <summary>Show all supported <a href='https://cabal.readthedocs.io/en/stable/'>cabal-install</a> versions</summary>"
|
||||
HLS -> liftIO $ hPutStrLn handle $ "<details> <summary>Show all supported <a href='https://haskell-language-server.readthedocs.io/en/stable/'>HLS</a> versions</summary>"
|
||||
Stack -> liftIO $ hPutStrLn handle $ "<details> <summary>Show all supported <a href='https://docs.haskellstack.org/en/stable/README/'>Stack</a> versions</summary>"
|
||||
_ -> fail "no"
|
||||
liftIO $ hPutStrLn handle $ "<table>"
|
||||
liftIO $ hPutStrLn handle $ "<thead><tr><th>" <> show tool <> " Version</th><th>Tags</th></tr></thead>"
|
||||
liftIO $ hPutStrLn handle $ "<tbody>"
|
||||
@@ -175,3 +177,53 @@ generateTable output = do
|
||||
printTag (Base pvp'') = "base-" ++ T.unpack (prettyPVP pvp'')
|
||||
printTag (UnknownTag t ) = t
|
||||
printTag Old = ""
|
||||
|
||||
|
||||
generateSystemInfo :: ( MonadFail m
|
||||
, MonadMask m
|
||||
, Monad m
|
||||
, MonadReader env m
|
||||
, HasSettings env
|
||||
, HasDirs env
|
||||
, HasLog env
|
||||
, MonadThrow m
|
||||
, MonadIO m
|
||||
, HasPlatformReq env
|
||||
, HasGHCupInfo env
|
||||
, MonadUnliftIO m
|
||||
)
|
||||
=> Output
|
||||
-> m ExitCode
|
||||
generateSystemInfo output = do
|
||||
handle <- case output of
|
||||
StdOut -> pure stdout
|
||||
FileOutput fp -> liftIO $ openFile fp WriteMode
|
||||
|
||||
forM_ [ Linux Debian
|
||||
, Linux Ubuntu
|
||||
, Linux Fedora
|
||||
, Linux CentOS
|
||||
, Linux Alpine
|
||||
, Linux UnknownLinux
|
||||
, Darwin
|
||||
, FreeBSD
|
||||
, Windows
|
||||
] $ \plat -> do
|
||||
GHCupInfo { .. } <- getGHCupInfo
|
||||
(Just req) <- pure $ getCommonRequirements (PlatformResult plat Nothing) _toolRequirements
|
||||
liftIO $ hPutStrLn handle $ "### " <> (prettyPlat plat) <> "\n"
|
||||
liftIO $ hPutStrLn handle $ (T.unpack $ pretty' req) <> "\n"
|
||||
pure ExitSuccess
|
||||
where
|
||||
pretty' Requirements {..} =
|
||||
let d = if not . null $ _distroPKGs
|
||||
then "The following distro packages are required: " <> "`" <> T.intercalate " " _distroPKGs <> "`"
|
||||
else ""
|
||||
n = if not . T.null $ _notes then _notes else ""
|
||||
in if | T.null d -> n
|
||||
| T.null n -> d
|
||||
| otherwise -> d <> "\n" <> n
|
||||
|
||||
prettyPlat (Linux UnknownLinux) = "Linux (generic)"
|
||||
prettyPlat p = show p
|
||||
|
||||
|
||||
@@ -65,6 +65,7 @@ data Command = ValidateYAML ValidateYAMLOpts
|
||||
| ValidateTarballs ValidateYAMLOpts TarballFilter
|
||||
| GenerateHlsGhc ValidateYAMLOpts Format Output
|
||||
| GenerateToolTable ValidateYAMLOpts Output
|
||||
| GenerateSystemDepsInfo ValidateYAMLOpts Output
|
||||
|
||||
|
||||
fileOutput :: Parser Output
|
||||
@@ -152,11 +153,17 @@ com = subparser
|
||||
(progDesc "Generate a list of HLS-GHC support")
|
||||
)
|
||||
<> command
|
||||
"generate-table"
|
||||
"generate-tool-table"
|
||||
(info
|
||||
((GenerateToolTable <$> validateYAMLOpts <*> outputP) <**> helper)
|
||||
(progDesc "Generate a markdown table of available tool versions")
|
||||
)
|
||||
<> command
|
||||
"generate-system-deps-info"
|
||||
(info
|
||||
((GenerateSystemDepsInfo <$> validateYAMLOpts <*> outputP) <**> helper)
|
||||
(progDesc "Generate a markdown info for system dependencies")
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
@@ -202,6 +209,7 @@ main = do
|
||||
ValidateTarballs vopts tarballFilter -> withValidateYamlOpts vopts (validateTarballs tarballFilter)
|
||||
GenerateHlsGhc vopts format output -> withValidateYamlOpts vopts (generateHLSGhc format output)
|
||||
GenerateToolTable vopts output -> withValidateYamlOpts vopts (generateTable output)
|
||||
GenerateSystemDepsInfo vopts output -> withValidateYamlOpts vopts (generateSystemInfo output)
|
||||
pure ()
|
||||
|
||||
where
|
||||
|
||||
@@ -428,3 +428,37 @@ ghcupDownloads:
|
||||
dlUri: https://downloads.haskell.org/~ghc/9.4.1-rc1/ghc-9.4.0.20220721-aarch64-apple-darwin.tar.xz
|
||||
dlSubdir: ghc-9.4.0.20220721-aarch64-apple-darwin
|
||||
dlHash: cca7bfbb7a8d4884314d8c033d4f9a96a9be5f399db276b796ad8cbb2deba6bd
|
||||
Stack:
|
||||
2.9.2.1:
|
||||
viTags:
|
||||
- Prerelease
|
||||
viChangeLog: https://github.com/commercialhaskell/stack/blob/rc/v2.9/ChangeLog.md#v2921-release-candidate
|
||||
viArch:
|
||||
A_64:
|
||||
Linux_UnknownLinux:
|
||||
unknown_versioning: &stack-2921-64
|
||||
dlUri: https://github.com/commercialhaskell/stack/releases/download/rc/v2.9.2.1/stack-2.9.2.1-linux-x86_64-static.tar.gz
|
||||
dlHash: 65b9d1c41f9e1537567722329d8f6d066ddb82d8789f5a25a04b4b4da89f2616
|
||||
dlSubdir:
|
||||
RegexDir: "stack-.*"
|
||||
Darwin:
|
||||
unknown_versioning:
|
||||
dlUri: https://github.com/commercialhaskell/stack/releases/download/rc/v2.9.2.1/stack-2.9.2.1-osx-x86_64.tar.gz
|
||||
dlHash: 13e86f181a959d2eac118f2a7f287227a7238c91b648ee30523ff300c2d5b1bb
|
||||
dlSubdir:
|
||||
RegexDir: "stack-.*"
|
||||
Windows:
|
||||
unknown_versioning:
|
||||
dlUri: https://github.com/commercialhaskell/stack/releases/download/rc/v2.9.2.1/stack-2.9.2.1-windows-x86_64.tar.gz
|
||||
dlHash: cd7f2bde0d4dcd5e7f0d75cf082b7a0fdc0347c5bc9006f67cd8635889c473a8
|
||||
dlSubdir:
|
||||
RegexDir: "stack-.*"
|
||||
Linux_Alpine:
|
||||
unknown_versioning: *stack-2921-64
|
||||
A_ARM64:
|
||||
Linux_UnknownLinux:
|
||||
unknown_versioning:
|
||||
dlUri: https://github.com/commercialhaskell/stack/releases/download/rc/v2.9.2.1/stack-2.9.2.1-linux-aarch64.tar.gz
|
||||
dlHash: 6e9f646ecd04892cf7edda11ff989abd885e29d05ad9f88d19e22afeb6e14275
|
||||
dlSubdir:
|
||||
RegexDir: "stack-.*"
|
||||
|
||||
Reference in New Issue
Block a user