Compare commits
277 Commits
libarchive
...
stack-2.15
| Author | SHA1 | Date | |
|---|---|---|---|
| df03513b8f | |||
| 805da33550 | |||
|
|
2bc225772c | ||
| d7770f9e23 | |||
| f8e0ec9b12 | |||
| 6c6e2241bb | |||
| f6ef3672ba | |||
| cf678f25a0 | |||
| 8d715cf0a5 | |||
|
|
0404f1bee5 | ||
| 441cf7328f | |||
| 5d2a8921b1 | |||
| 66c91f75b1 | |||
|
|
a6c8849dcb | ||
|
|
3c173efdc4 | ||
| 487b049ae1 | |||
| 75abeb4731 | |||
| ff8aa8a0dd | |||
|
|
2bfdba63c9 | ||
|
|
3ecc0fb399 | ||
|
|
147e54ae6c | ||
| ec519eb080 | |||
| 4f3a14ed90 | |||
| 703e930808 | |||
| 41fe6ba6f0 | |||
| 8ac41d2124 | |||
| dd975d630a | |||
| 582ffbc09f | |||
| 0471ccf394 | |||
| fbc0843e53 | |||
| cfa97b75bf | |||
| 0c2846b037 | |||
| 015db18a25 | |||
| 9ebb937b37 | |||
| 25f6f8cfad | |||
| 14d47470ca | |||
| 0bc52f0cf3 | |||
| 2b84274a65 | |||
| c63fd65f90 | |||
| a4fbe645e3 | |||
| 7e1a50cfff | |||
| cb7d0c2f75 | |||
| e54435c057 | |||
| 95c57ba3e4 | |||
| f2c6c71cf0 | |||
| 2f761fc6fd | |||
| a4bc77356f | |||
|
|
f3264e2554 | ||
|
|
54bd184feb | ||
|
|
f413a1847b | ||
| 9a02e03efa | |||
| aec5468b14 | |||
| 69cec748d2 | |||
| 7f8a37de45 | |||
| 779120126e | |||
| af900f6ff0 | |||
| 1fc03b2c69 | |||
| dea08aac35 | |||
| 80b933b01b | |||
| 82d1fda68b | |||
| 96bf980545 | |||
| b20ad626e5 | |||
| cb3428749a | |||
| 178aaaaa23 | |||
| c489e5198e | |||
| 1936f88d5f | |||
| 578dc5e6d2 | |||
| 286d447f3d | |||
| 68b424fff3 | |||
| dc6d43ddba | |||
| 174ff702a5 | |||
| 6e3fef8e15 | |||
| fae0dc57ee | |||
| befd7b563e | |||
| 15dec1bfe8 | |||
| bbd150a777 | |||
| 567fdeba31 | |||
| 44c4df7024 | |||
| f755827e5e | |||
| a5bc56c914 | |||
| 601b3e8d33 | |||
| eb717c5a12 | |||
| 48e58345b0 | |||
| 407cc0fafe | |||
| 6b3f8f0732 | |||
| f6de249dc1 | |||
| b928b5e0dd | |||
| 999be172de | |||
| 67885734c9 | |||
| 988dcdac63 | |||
| 0f13265d12 | |||
|
|
967d4a81ab | ||
| b81e05d21e | |||
| a586bd5dba | |||
| a1a80e41c9 | |||
| e9cc5626cb | |||
| cb09653a1b | |||
| 7bf64b363e | |||
| f1f8eb8d7c | |||
| 772e54b936 | |||
| 10ae84aa7b | |||
| 0ae75a25ef | |||
| 16fb138bbe | |||
|
|
6786ac32c0 | ||
|
|
9d6836aa76 | ||
| 0239166c31 | |||
| 025f276131 | |||
| cae42448a0 | |||
| 56d759176e | |||
| df143e226f | |||
| e914259ed7 | |||
|
|
48cae51c31 | ||
| 173d03ef56 | |||
| c806339f69 | |||
| 68633d49a5 | |||
| 7625d4bf83 | |||
| 2efadd4588 | |||
| 4917c671bf | |||
|
|
dd4f6ff001 | ||
|
|
70eccfe8d6 | ||
|
|
0fde7e8686 | ||
|
|
c1764cadab | ||
|
|
1a5a7f3db4 | ||
|
|
43f4782658 | ||
| 374a68e074 | |||
| 493c2c81f4 | |||
| 041f8b1421 | |||
| b62f7ffa3b | |||
| 6ee7342fe3 | |||
| 1d43217082 | |||
| 4ffadfdda4 | |||
| 3e2ab12988 | |||
| 68731892cc | |||
| b2843da016 | |||
| 53ef921fe1 | |||
| 20916def87 | |||
| 335bc378aa | |||
|
|
1d366edea6 | ||
|
|
971e013861 | ||
|
|
397fd411af | ||
|
|
124f62c0a2 | ||
|
|
e93e21835e | ||
| 2d5701d480 | |||
| d9fe82364c | |||
|
|
ac43fb74c8 | ||
|
|
5013094656 | ||
|
|
fe6ad60f1d | ||
|
|
5e077005e6 | ||
|
|
ad3f8f9507 | ||
|
|
97553d92cc | ||
|
|
4f4e82f3a7 | ||
|
|
9f5f9d0d40 | ||
|
|
0e394642f1 | ||
|
|
977147b65a | ||
|
|
67de4cb8db | ||
|
|
9946e32869 | ||
|
|
7aa3b26848 | ||
|
|
c8cfd2717f | ||
|
|
62c55a1893 | ||
|
|
0972ffb4c9 | ||
|
|
73a6c8c0cf | ||
|
|
cca4a2386d | ||
| 44cad536cf | |||
| 392c3879da | |||
|
|
0702ea6eac | ||
|
|
88882cc757 | ||
| b2d276cd43 | |||
| 4be5f2a861 | |||
| 76bbc57292 | |||
|
|
7c3d976be2 | ||
|
|
4543dbe628 | ||
| 0dd813c3bc | |||
| 9cda41867d | |||
|
|
3fb3d65717 | ||
|
|
a66c722d9c | ||
|
|
228b60092e | ||
|
|
236a679e1f | ||
| 69dd66bfb8 | |||
|
|
fab0629aab | ||
| dff3e395c0 | |||
| 8faa5a00a4 | |||
|
|
44c6e2b5d0 | ||
|
|
9332b5c3b6 | ||
|
|
6dc4112b03 | ||
|
|
f40933da42 | ||
|
|
9137f4b994 | ||
|
|
ae0c031c78 | ||
|
|
309ceffb43 | ||
|
|
a239e448fa | ||
|
|
5c735e8478 | ||
|
|
fb1e1a8f7d | ||
|
|
803b2cfd1b | ||
|
|
dac7e22520 | ||
| 0759634d3c | |||
| 7312daf7da | |||
| 8fa3fc6f6f | |||
| 8550a086b4 | |||
| b2aaecac07 | |||
| fd29f96559 | |||
| 6aa90ff5dd | |||
| 046205bdc0 | |||
| 737cc346db | |||
| 7ab3419345 | |||
| c88802ea8c | |||
| 5a85e7f735 | |||
| cdd58df6a4 | |||
| b089af6578 | |||
| 909e64ae8b | |||
| 9cff00364a | |||
| e34b095e99 | |||
| 1a10c6d2e2 | |||
| f5cf930de3 | |||
| 3ff8cf172d | |||
| 2b0f9134e9 | |||
| 4854047dc9 | |||
| 9266021236 | |||
| 8defb9068a | |||
| b88e461c7c | |||
| bb94c7445a | |||
| 27325db7c0 | |||
| 3459025d6f | |||
|
|
62c05e25c6 | ||
| e2102511b1 | |||
| 508f52dfb1 | |||
| ec29b4bcc3 | |||
| 52f4dde1ee | |||
| 4cf9867563 | |||
|
|
e9426c246d | ||
|
|
5cba359c78 | ||
| 66a24ec9aa | |||
| d7d93a85c2 | |||
| 13fad50ca2 | |||
| 484dd1084c | |||
| c58fe8aaef | |||
| 407d47a2ba | |||
|
|
d643f9f84e | ||
|
|
0540871277 | ||
| 49063b09ba | |||
| d6e7b29250 | |||
| ffc8c38074 | |||
|
|
e7a1ac0c15 | ||
| 9459d1cb08 | |||
| d97d4fb8d7 | |||
| d35571f02d | |||
| 2dbfc84ef6 | |||
| 92efb732ac | |||
| 6474e0e7de | |||
| 5f1802aee7 | |||
| 7a5ffc84ff | |||
|
|
b37a8ca419 | ||
| 309dcd0344 | |||
| 16ca788725 | |||
| 86526f6015 | |||
| 1d00d31730 | |||
| c975203b5e | |||
| 5c692ab9ec | |||
| 7c1bf39704 | |||
| 673a49bcc1 | |||
| 6926df6a00 | |||
| 874f9a52f8 | |||
|
|
cb19cf7a20 | ||
|
|
59ea5163ce | ||
|
b0a026f6a0
|
|||
|
5700321a7d
|
|||
|
c58f03c71d
|
|||
|
96b1c8e3e9
|
|||
|
60a30d8522
|
|||
|
7de9fd3a8c
|
|||
|
b8606ec3b7
|
|||
|
d19cc1d0f0
|
|||
|
b703c55991
|
|||
|
8b95d10664
|
|||
|
d5c7e708d8
|
|||
|
fea14b9a06
|
|||
|
eadf9b61ba
|
|||
|
594bd5490d
|
|||
|
|
1fa98afb67 |
28
.github/scripts/brew.sh
vendored
Normal file
28
.github/scripts/brew.sh
vendored
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
set -eux
|
||||||
|
|
||||||
|
# shellcheck disable=SC1091
|
||||||
|
. .github/scripts/env.sh
|
||||||
|
|
||||||
|
if [ -e "$HOME/.brew" ] ; then
|
||||||
|
(
|
||||||
|
cd "$HOME/.brew"
|
||||||
|
git fetch --depth 1
|
||||||
|
git reset --hard origin/master
|
||||||
|
)
|
||||||
|
else
|
||||||
|
git clone --depth=1 https://github.com/Homebrew/brew "$HOME/.brew"
|
||||||
|
fi
|
||||||
|
export PATH="$HOME/.brew/bin:$HOME/.brew/sbin:$PATH"
|
||||||
|
|
||||||
|
mkdir -p "$CI_PROJECT_DIR/.brew_cache"
|
||||||
|
export HOMEBREW_CACHE="$CI_PROJECT_DIR/.brew_cache"
|
||||||
|
mkdir -p "$CI_PROJECT_DIR/.brew_logs"
|
||||||
|
export HOMEBREW_LOGS="$CI_PROJECT_DIR/.brew_logs"
|
||||||
|
mkdir -p /private/tmp/.brew_tmp
|
||||||
|
export HOMEBREW_TEMP=/private/tmp/.brew_tmp
|
||||||
|
|
||||||
|
#brew update
|
||||||
|
brew install ${1+"$@"}
|
||||||
|
|
||||||
66
.github/scripts/build.sh
vendored
Normal file
66
.github/scripts/build.sh
vendored
Normal file
@@ -0,0 +1,66 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -eux
|
||||||
|
|
||||||
|
# shellcheck disable=SC1091
|
||||||
|
. .github/scripts/env.sh
|
||||||
|
# shellcheck disable=SC1091
|
||||||
|
. .github/scripts/common.sh
|
||||||
|
|
||||||
|
uname -a
|
||||||
|
uname -p
|
||||||
|
uname
|
||||||
|
pwd
|
||||||
|
env
|
||||||
|
|
||||||
|
# ensure ghcup
|
||||||
|
install_ghcup
|
||||||
|
|
||||||
|
# build
|
||||||
|
ghcup install ghc "${GHC_VERSION}"
|
||||||
|
ghcup set ghc "${GHC_VERSION}"
|
||||||
|
sed -i.bak -e '/DELETE MARKER FOR CI/,/END DELETE/d' cabal.project # see comment in cabal.project
|
||||||
|
ecabal update
|
||||||
|
ecabal user-config diff
|
||||||
|
ecabal user-config init -f
|
||||||
|
"ghc-${GHC_VERSION}" --info
|
||||||
|
"ghc" --info
|
||||||
|
|
||||||
|
# https://github.com/haskell/cabal/issues/7313#issuecomment-811851884
|
||||||
|
if [ "$(getconf LONG_BIT)" == "32" ] || [ "${DISTRO}" == "CentOS" ] ; then
|
||||||
|
echo 'constraints: lukko -ofd-locking' >> cabal.project.release.local
|
||||||
|
fi
|
||||||
|
|
||||||
|
# shellcheck disable=SC2206
|
||||||
|
args=(
|
||||||
|
-w "ghc-$GHC_VERSION"
|
||||||
|
--disable-profiling
|
||||||
|
--enable-executable-stripping
|
||||||
|
--project-file=cabal.project.release
|
||||||
|
${ADD_CABAL_ARGS}
|
||||||
|
)
|
||||||
|
|
||||||
|
run cabal v2-build "${args[@]}" cabal-install
|
||||||
|
|
||||||
|
mkdir -p "$CI_PROJECT_DIR/out"
|
||||||
|
# shellcheck disable=SC2154
|
||||||
|
cp "$(cabal list-bin "${args[@]}" cabal-install:exe:cabal)" "$CI_PROJECT_DIR/out/cabal$ext"
|
||||||
|
cp dist-newstyle/cache/plan.json "$CI_PROJECT_DIR/out/plan.json"
|
||||||
|
cd "$CI_PROJECT_DIR/out/"
|
||||||
|
|
||||||
|
# create tarball/zip
|
||||||
|
TARBALL_PREFIX="cabal-install-$("$CI_PROJECT_DIR/out/cabal" --numeric-version)"
|
||||||
|
case "${TARBALL_EXT}" in
|
||||||
|
zip)
|
||||||
|
zip "${TARBALL_PREFIX}-${ARTIFACT}.${TARBALL_EXT}" "cabal${ext}" plan.json
|
||||||
|
;;
|
||||||
|
tar.xz)
|
||||||
|
tar caf "${TARBALL_PREFIX}-${ARTIFACT}.${TARBALL_EXT}" "cabal${ext}" plan.json
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
fail "Unknown TARBALL_EXT: ${TARBALL_EXT}"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
rm cabal plan.json
|
||||||
|
|
||||||
110
.github/scripts/common.sh
vendored
Normal file
110
.github/scripts/common.sh
vendored
Normal file
@@ -0,0 +1,110 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# shellcheck disable=SC1091
|
||||||
|
. .github/scripts/env.sh
|
||||||
|
|
||||||
|
# Colors
|
||||||
|
RED="0;31"
|
||||||
|
LT_BROWN="1;33"
|
||||||
|
LT_BLUE="1;34"
|
||||||
|
|
||||||
|
ecabal() {
|
||||||
|
cabal "$@"
|
||||||
|
}
|
||||||
|
|
||||||
|
nonfatal() {
|
||||||
|
"$@" || "$* failed"
|
||||||
|
}
|
||||||
|
|
||||||
|
sha_sum() {
|
||||||
|
if [ "${RUNNER_OS}" = "FreeBSD" ] ; then
|
||||||
|
sha256 "$@"
|
||||||
|
else
|
||||||
|
sha256sum "$@"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
git_describe() {
|
||||||
|
git config --global --get-all safe.directory | grep '^\*$' || git config --global --add safe.directory "*"
|
||||||
|
git describe --always
|
||||||
|
}
|
||||||
|
|
||||||
|
install_ghcup() {
|
||||||
|
# find "$GHCUP_INSTALL_BASE_PREFIX"
|
||||||
|
mkdir -p "$GHCUP_BIN"
|
||||||
|
mkdir -p "$GHCUP_BIN"/../cache
|
||||||
|
|
||||||
|
if [ "${RUNNER_OS}" = "FreeBSD" ] ; then
|
||||||
|
curl -o ghcup https://downloads.haskell.org/ghcup/tmp/x86_64-portbld-freebsd-ghcup-0.1.18.1
|
||||||
|
chmod +x ghcup
|
||||||
|
mv ghcup "$HOME/.local/bin/ghcup"
|
||||||
|
else
|
||||||
|
curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | BOOTSTRAP_HASKELL_MINIMAL=1 sh
|
||||||
|
source "$(dirname "${GHCUP_BIN}")/env"
|
||||||
|
ghcup install cabal --set "${BOOTSTRAP_HASKELL_CABAL_VERSION}"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
strip_binary() {
|
||||||
|
(
|
||||||
|
set -e
|
||||||
|
local binary=$1
|
||||||
|
case "$(uname -s)" in
|
||||||
|
"Darwin"|"darwin")
|
||||||
|
;;
|
||||||
|
MSYS_*|MINGW*)
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
strip -s "${binary}"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
# GitLab Pipelines log section delimiters
|
||||||
|
# https://gitlab.com/gitlab-org/gitlab-foss/issues/14664
|
||||||
|
start_section() {
|
||||||
|
name="$1"
|
||||||
|
echo -e "section_start:$(date +%s):$name\015\033[0K"
|
||||||
|
}
|
||||||
|
|
||||||
|
end_section() {
|
||||||
|
name="$1"
|
||||||
|
echo -e "section_end:$(date +%s):$name\015\033[0K"
|
||||||
|
}
|
||||||
|
|
||||||
|
echo_color() {
|
||||||
|
local color="$1"
|
||||||
|
local msg="$2"
|
||||||
|
echo -e "\033[${color}m${msg}\033[0m"
|
||||||
|
}
|
||||||
|
|
||||||
|
error() { echo_color "${RED}" "$1"; }
|
||||||
|
warn() { echo_color "${LT_BROWN}" "$1"; }
|
||||||
|
info() { echo_color "${LT_BLUE}" "$1"; }
|
||||||
|
|
||||||
|
fail() { error "error: $1"; exit 1; }
|
||||||
|
|
||||||
|
run() {
|
||||||
|
info "Running $*..."
|
||||||
|
"$@" || ( error "$* failed"; return 1; )
|
||||||
|
}
|
||||||
|
|
||||||
|
emake() {
|
||||||
|
if command -v gmake >/dev/null 2>&1 ; then
|
||||||
|
gmake "$@"
|
||||||
|
else
|
||||||
|
make "$@"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
mktempdir() {
|
||||||
|
case "$(uname -s)" in
|
||||||
|
"Darwin"|"darwin")
|
||||||
|
mktemp -d -t cabal_ci.XXXXXXX
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
mktemp -d
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
}
|
||||||
38
.github/scripts/env.sh
vendored
Normal file
38
.github/scripts/env.sh
vendored
Normal file
@@ -0,0 +1,38 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
mkdir -p "$HOME"/.local/bin
|
||||||
|
|
||||||
|
if [ "${RUNNER_OS}" = "Windows" ] ; then
|
||||||
|
ext=".exe"
|
||||||
|
else
|
||||||
|
# shellcheck disable=SC2034
|
||||||
|
ext=''
|
||||||
|
fi
|
||||||
|
|
||||||
|
export PATH="$HOME/.local/bin:$PATH"
|
||||||
|
|
||||||
|
export BOOTSTRAP_HASKELL_NONINTERACTIVE=1
|
||||||
|
export BOOTSTRAP_HASKELL_CABAL_VERSION="${CABAL_VER:-3.6.2.0-p2}"
|
||||||
|
export BOOTSTRAP_HASKELL_ADJUST_CABAL_CONFIG=no
|
||||||
|
export BOOTSTRAP_HASKELL_INSTALL_NO_STACK=yes
|
||||||
|
export BOOTSTRAP_HASKELL_ADJUST_BASHRC=1
|
||||||
|
|
||||||
|
if [ "${RUNNER_OS}" = "Windows" ] ; then
|
||||||
|
# on windows use pwd to get unix style path
|
||||||
|
CI_PROJECT_DIR="$(pwd)"
|
||||||
|
export CI_PROJECT_DIR
|
||||||
|
export GHCUP_INSTALL_BASE_PREFIX="/c"
|
||||||
|
export GHCUP_BIN="$GHCUP_INSTALL_BASE_PREFIX/ghcup/bin"
|
||||||
|
export PATH="$GHCUP_BIN:$PATH"
|
||||||
|
export CABAL_DIR="C:\\Users\\runneradmin\\AppData\\Roaming\\cabal"
|
||||||
|
else
|
||||||
|
export CI_PROJECT_DIR="${GITHUB_WORKSPACE}"
|
||||||
|
export GHCUP_INSTALL_BASE_PREFIX="$CI_PROJECT_DIR"
|
||||||
|
export GHCUP_BIN="$GHCUP_INSTALL_BASE_PREFIX/.ghcup/bin"
|
||||||
|
export PATH="$GHCUP_BIN:$PATH"
|
||||||
|
export CABAL_DIR="$CI_PROJECT_DIR/cabal"
|
||||||
|
export CABAL_CACHE="$CI_PROJECT_DIR/cabal-cache"
|
||||||
|
fi
|
||||||
|
|
||||||
|
export DEBIAN_FRONTEND=noninteractive
|
||||||
|
export TZ=Asia/Singapore
|
||||||
98
.github/workflows/bindists.yaml
vendored
98
.github/workflows/bindists.yaml
vendored
@@ -16,7 +16,12 @@ on:
|
|||||||
metadataFile:
|
metadataFile:
|
||||||
description: Metadata file
|
description: Metadata file
|
||||||
required: true
|
required: true
|
||||||
default: ghcup-0.0.7.yaml
|
default: ghcup-0.0.8.yaml
|
||||||
|
type: string
|
||||||
|
channel:
|
||||||
|
description: Distribution channel (main|prerelease|nightly)
|
||||||
|
required: true
|
||||||
|
default: Main
|
||||||
type: string
|
type: string
|
||||||
env:
|
env:
|
||||||
BOOTSTRAP_HASKELL_NONINTERACTIVE: 1
|
BOOTSTRAP_HASKELL_NONINTERACTIVE: 1
|
||||||
@@ -25,6 +30,7 @@ env:
|
|||||||
TOOL: ${{ github.event.inputs.tool }}
|
TOOL: ${{ github.event.inputs.tool }}
|
||||||
VERSION: ${{ github.event.inputs.version }}
|
VERSION: ${{ github.event.inputs.version }}
|
||||||
METADATA_FILE: ${{ github.event.inputs.metadataFile }}
|
METADATA_FILE: ${{ github.event.inputs.metadataFile }}
|
||||||
|
CHANNEL: ${{ github.event.inputs.channel }}
|
||||||
jobs:
|
jobs:
|
||||||
bindist-install:
|
bindist-install:
|
||||||
name: linux-${{ matrix.image }}
|
name: linux-${{ matrix.image }}
|
||||||
@@ -36,15 +42,15 @@ jobs:
|
|||||||
- image: alpine:latest
|
- image: alpine:latest
|
||||||
installCmd: apk update && apk add
|
installCmd: apk update && apk add
|
||||||
toolRequirements: binutils-gold curl gcc g++ gmp-dev libc-dev libffi-dev make musl-dev ncurses-dev perl tar xz
|
toolRequirements: binutils-gold curl gcc g++ gmp-dev libc-dev libffi-dev make musl-dev ncurses-dev perl tar xz
|
||||||
- image: debian:9
|
|
||||||
installCmd: apt-get update && apt-get install -y
|
|
||||||
toolRequirements: build-essential curl libffi-dev libgmp-dev libgmp10 libncurses-dev libncurses5 libtinfo5
|
|
||||||
- image: debian:10
|
- image: debian:10
|
||||||
installCmd: apt-get update && apt-get install -y
|
installCmd: apt-get update && apt-get install -y
|
||||||
toolRequirements: build-essential curl libffi-dev libgmp-dev libgmp10 libncurses-dev libncurses5 libtinfo5 libnuma-dev
|
toolRequirements: build-essential curl libffi-dev libgmp-dev libgmp10 libncurses-dev libncurses5 libtinfo5 libnuma-dev
|
||||||
- image: debian:11
|
- image: debian:11
|
||||||
installCmd: apt-get update && apt-get install -y
|
installCmd: apt-get update && apt-get install -y
|
||||||
toolRequirements: build-essential curl libffi-dev libgmp-dev libgmp10 libncurses-dev libncurses5 libtinfo5 libnuma-dev
|
toolRequirements: build-essential curl libffi-dev libgmp-dev libgmp10 libncurses-dev libncurses5 libtinfo5 libnuma-dev
|
||||||
|
- image: debian:unstable
|
||||||
|
installCmd: apt-get update && apt-get install -y
|
||||||
|
toolRequirements: build-essential curl libffi-dev libgmp-dev libgmp10 libncurses-dev libncurses6 libtinfo6 libnuma-dev
|
||||||
- image: ubuntu:18.04
|
- image: ubuntu:18.04
|
||||||
installCmd: apt-get update && apt-get install -y
|
installCmd: apt-get update && apt-get install -y
|
||||||
toolRequirements: build-essential curl libffi-dev libffi6 libgmp-dev libgmp10 libncurses-dev libncurses5 libtinfo5
|
toolRequirements: build-essential curl libffi-dev libffi6 libgmp-dev libgmp10 libncurses-dev libncurses5 libtinfo5
|
||||||
@@ -60,7 +66,7 @@ jobs:
|
|||||||
- image: fedora:27
|
- image: fedora:27
|
||||||
installCmd: dnf install -y
|
installCmd: dnf install -y
|
||||||
toolRequirements: which findutils gcc gcc-c++ gmp gmp-devel make ncurses ncurses-compat-libs xz perl
|
toolRequirements: which findutils gcc gcc-c++ gmp gmp-devel make ncurses ncurses-compat-libs xz perl
|
||||||
- image: fedora:36
|
- image: fedora:37
|
||||||
installCmd: dnf install -y
|
installCmd: dnf install -y
|
||||||
toolRequirements: which gcc g++ gmp gmp-devel make ncurses ncurses-compat-libs xz perl
|
toolRequirements: which gcc g++ gmp gmp-devel make ncurses ncurses-compat-libs xz perl
|
||||||
- image: rockylinux:8
|
- image: rockylinux:8
|
||||||
@@ -117,7 +123,7 @@ jobs:
|
|||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- os: [self-hosted, Linux, ARM64, aarch32-linux]
|
- os: [self-hosted, Linux, ARM64]
|
||||||
ARCH: ARM
|
ARCH: ARM
|
||||||
- os: [self-hosted, Linux, ARM64]
|
- os: [self-hosted, Linux, ARM64]
|
||||||
ARCH: ARM64
|
ARCH: ARM64
|
||||||
@@ -145,3 +151,83 @@ jobs:
|
|||||||
name: Run build (aarch64 linux)
|
name: Run build (aarch64 linux)
|
||||||
with:
|
with:
|
||||||
args: sh -c '.github/workflows/install-bindist.sh'
|
args: sh -c '.github/workflows/install-bindist.sh'
|
||||||
|
|
||||||
|
bindist-install-freebsd:
|
||||||
|
name: Install FreeBSD binary
|
||||||
|
runs-on: [self-hosted, FreeBSD, X64]
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Run build
|
||||||
|
run: .github/workflows/install-bindist.sh
|
||||||
|
|
||||||
|
validate:
|
||||||
|
name: ghcup-gen check
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
env:
|
||||||
|
GHC: 9.2.8
|
||||||
|
CABAL: 3.10.1.0
|
||||||
|
steps:
|
||||||
|
- name: create ~/.local/bin
|
||||||
|
run: mkdir -p "$HOME/.local/bin"
|
||||||
|
shell: bash
|
||||||
|
|
||||||
|
- name: Add ~/.local/bin to PATH
|
||||||
|
run: echo "$HOME/.local/bin" >> $GITHUB_PATH
|
||||||
|
shell: bash
|
||||||
|
|
||||||
|
- name: install yamllint
|
||||||
|
run: pip install yamllint
|
||||||
|
|
||||||
|
- name: Update cabal cache
|
||||||
|
run: cabal update
|
||||||
|
shell: bash
|
||||||
|
|
||||||
|
- name: Install requirements
|
||||||
|
shell: sh
|
||||||
|
run: |
|
||||||
|
export DEBIAN_FRONTEND=noninteractive
|
||||||
|
export TZ=Asia/Singapore
|
||||||
|
sudo apt-get update && sudo apt-get install -y curl bash git gnupg libarchive-dev
|
||||||
|
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Cache Cabal
|
||||||
|
uses: actions/cache@v2
|
||||||
|
env:
|
||||||
|
cache-name: cache-cabal
|
||||||
|
with:
|
||||||
|
path: |
|
||||||
|
~/.cabal/store
|
||||||
|
~/.cabal/packages
|
||||||
|
key: v2-${{ runner.os }}-${{ env.GHC }}-${{ env.CABAL }}-build-${{ hashFiles('cabal.project') }}
|
||||||
|
restore-keys: |
|
||||||
|
v2-${{ runner.os }}-${{ env.GHC }}-${{ env.CABAL }}-build-${{ hashFiles('cabal.project') }}
|
||||||
|
v2-${{ runner.os }}-${{ env.GHC }}-${{ env.CABAL }}-build-
|
||||||
|
v2-${{ runner.os }}-${{ env.GHC }}
|
||||||
|
|
||||||
|
- name: Install ghcup-gen
|
||||||
|
run: |
|
||||||
|
ghcup run --cabal 3.10.1.0 --ghc 9.2.8 --install -- cabal install --installdir="$HOME/.local/bin" --overwrite-policy=always --install-method=copy ghcup-gen
|
||||||
|
shell: bash
|
||||||
|
|
||||||
|
- name: Check yaml
|
||||||
|
run: |
|
||||||
|
ghcup-gen -- check -f ${{ env.METADATA_FILE }} --channel ${{ env.CHANNEL }}
|
||||||
|
yamllint ${{ env.METADATA_FILE }}
|
||||||
|
python3 -c "import yaml ; stream = open('${{ env.METADATA_FILE }}', 'r') ; yaml.safe_load(stream)"
|
||||||
|
shell: bash
|
||||||
|
|
||||||
|
signature-test:
|
||||||
|
name: Test signatures
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Install requirements
|
||||||
|
shell: sh
|
||||||
|
run: |
|
||||||
|
sudo apt-get update && sudo apt-get install -y curl bash git gnupg
|
||||||
|
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Test signatures
|
||||||
|
run: .github/workflows/test-sigs.sh
|
||||||
|
|||||||
29
.github/workflows/install-bindist.sh
vendored
29
.github/workflows/install-bindist.sh
vendored
@@ -13,17 +13,24 @@ source "$GHCUP_INSTALL_BASE_PREFIX"/.ghcup/env || source "$HOME/.bashrc"
|
|||||||
ghcup --version
|
ghcup --version
|
||||||
which ghcup | grep foobarbaz
|
which ghcup | grep foobarbaz
|
||||||
|
|
||||||
|
ghcup_fun() {
|
||||||
|
ghcup -v --url-source="file:$METADATA_FILE" "$@"
|
||||||
|
}
|
||||||
|
|
||||||
case $TOOL in
|
case $TOOL in
|
||||||
ghcup)
|
ghcup)
|
||||||
ghcup -v --url-source=file:$METADATA_FILE upgrade --force
|
ghcup_fun upgrade --force
|
||||||
;;
|
;;
|
||||||
*) ghcup -v --url-source=file:$METADATA_FILE install $TOOL --set $VERSION
|
*) ghcup_fun install "$TOOL" --set "$VERSION"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
mkdir -p /tmp/install-bindist-ci
|
mkdir -p /tmp/install-bindist-ci
|
||||||
|
cp "$METADATA_FILE" /tmp/install-bindist-ci/
|
||||||
cd /tmp/install-bindist-ci
|
cd /tmp/install-bindist-ci
|
||||||
|
|
||||||
|
trap 'rm -rf -- /tmp/install-bindist-ci' EXIT
|
||||||
|
|
||||||
cat <<EOF > main.hs
|
cat <<EOF > main.hs
|
||||||
{- cabal:
|
{- cabal:
|
||||||
build-depends: base
|
build-depends: base
|
||||||
@@ -34,11 +41,11 @@ EOF
|
|||||||
|
|
||||||
case $TOOL in
|
case $TOOL in
|
||||||
ghcup)
|
ghcup)
|
||||||
ghcup --verbose list
|
ghcup_fun list
|
||||||
;;
|
;;
|
||||||
hls)
|
hls)
|
||||||
ghcup install cabal latest
|
ghcup_fun install cabal latest
|
||||||
ghcup install ghc --set recommended
|
ghcup_fun install ghc --set recommended
|
||||||
cabal update
|
cabal update
|
||||||
|
|
||||||
test_package="bytestring-0.11.1.0"
|
test_package="bytestring-0.11.1.0"
|
||||||
@@ -55,6 +62,7 @@ case $TOOL in
|
|||||||
cd "$tmp_dir"
|
cd "$tmp_dir"
|
||||||
cabal unpack "${test_package}"
|
cabal unpack "${test_package}"
|
||||||
cd "${test_package}"
|
cd "${test_package}"
|
||||||
|
cp "/tmp/install-bindist-ci/${METADATA_FILE}" .
|
||||||
}
|
}
|
||||||
|
|
||||||
# For all HLS GHC versions and the wrapper, run 'typecheck'
|
# For all HLS GHC versions and the wrapper, run 'typecheck'
|
||||||
@@ -70,12 +78,12 @@ case $TOOL in
|
|||||||
bin=${hls##*/}
|
bin=${hls##*/}
|
||||||
bin_noexe=${bin/.exe/}
|
bin_noexe=${bin/.exe/}
|
||||||
if ! [[ "${bin_noexe}" =~ "haskell-language-server-wrapper" ]] && ! [[ "${bin_noexe}" =~ "~" ]] && ! [[ "${bin_noexe}" =~ ".shim" ]] ; then
|
if ! [[ "${bin_noexe}" =~ "haskell-language-server-wrapper" ]] && ! [[ "${bin_noexe}" =~ "~" ]] && ! [[ "${bin_noexe}" =~ ".shim" ]] ; then
|
||||||
if ghcup install ghc --set "${bin_noexe/haskell-language-server-/}" ; then
|
if ghcup_fun install ghc --set "${bin_noexe/haskell-language-server-/}" ; then
|
||||||
"${hls}" typecheck "${test_module}" || fail "failed to typecheck with HLS for GHC ${bin_noexe/haskell-language-server-/}"
|
"${hls}" typecheck "${test_module}" || fail "failed to typecheck with HLS for GHC ${bin_noexe/haskell-language-server-/}"
|
||||||
else
|
else
|
||||||
fail "GHCup failed to install GHC ${bin_noexe/haskell-language-server-/}"
|
fail "GHCup failed to install GHC ${bin_noexe/haskell-language-server-/}"
|
||||||
fi
|
fi
|
||||||
ghcup rm ghc "${bin_noexe/haskell-language-server-/}"
|
ghcup_fun rm ghc "${bin_noexe/haskell-language-server-/}"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
"$bindir/haskell-language-server-wrapper${ext}" typecheck "${test_module}" || fail "failed to typecheck with HLS wrapper"
|
"$bindir/haskell-language-server-wrapper${ext}" typecheck "${test_module}" || fail "failed to typecheck with HLS wrapper"
|
||||||
@@ -97,8 +105,15 @@ case $TOOL in
|
|||||||
ghc --info
|
ghc --info
|
||||||
ghc -prof main.hs
|
ghc -prof main.hs
|
||||||
[[ $(./main +RTS -s) -eq 2 ]]
|
[[ $(./main +RTS -s) -eq 2 ]]
|
||||||
|
ghcup_fun install cabal recommended
|
||||||
|
cabal --version
|
||||||
|
cabal update
|
||||||
|
cabal install --lib --package-env=. clock
|
||||||
|
# https://github.com/haskell/ghcup-hs/issues/966
|
||||||
|
cabal install --lib --package-env=. hashable
|
||||||
;;
|
;;
|
||||||
cabal)
|
cabal)
|
||||||
|
ghcup_fun install ghc --set "$(ghcup_fun list -t ghc -r -c available | tail -1 | awk '{ print $2 }')"
|
||||||
cabal --version
|
cabal --version
|
||||||
cabal update
|
cabal update
|
||||||
[[ $(cabal --verbose=0 run --enable-profiling ./main.hs -- +RTS -s) -eq 2 ]]
|
[[ $(cabal --verbose=0 run --enable-profiling ./main.hs -- +RTS -s) -eq 2 ]]
|
||||||
|
|||||||
6
.github/workflows/sigs
vendored
Normal file
6
.github/workflows/sigs
vendored
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
keys=(
|
||||||
|
7D1E8AFD1D4A16D71FADA2F2CCC85C0E40C06A8C # Julian Ospald <maerwald@hasufell.de>
|
||||||
|
FFEB7CE81E16A36B3E2DED6F2DE04D4E97DB64AD # Ben Gamari <ben@well-typed.com>
|
||||||
|
88B57FCF7DB53B4DB3BFA4B1588764FBE22D19C4 # Zubin Duggal <zubin@well-typed.com>
|
||||||
|
EAF2A9A722C0C96F2B431CA511AAD8CEDEE0CAEF # Hécate <hecate@glitchbra.in>
|
||||||
|
)
|
||||||
27
.github/workflows/test-sigs.sh
vendored
Executable file
27
.github/workflows/test-sigs.sh
vendored
Executable file
@@ -0,0 +1,27 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
set -x
|
||||||
|
set -eo pipefail
|
||||||
|
|
||||||
|
. .github/workflows/common.sh
|
||||||
|
|
||||||
|
get_key() {
|
||||||
|
local key=$1
|
||||||
|
local server=$2
|
||||||
|
gpg --batch --keyserver "${server}" --recv-keys "${key}"
|
||||||
|
echo -e "${key}:6:" | gpg --import-ownertrust
|
||||||
|
}
|
||||||
|
|
||||||
|
# verify signature
|
||||||
|
. .github/workflows/sigs
|
||||||
|
|
||||||
|
for key in "${keys[@]}" ; do
|
||||||
|
get_key "${key}" keys.openpgp.org || get_key "${key}" keyserver.ubuntu.com
|
||||||
|
done
|
||||||
|
unset key
|
||||||
|
gpg --verify "${METADATA_FILE}.sig"
|
||||||
|
|
||||||
|
for f in ghcup-*.json ghcup-*.yaml hls-metadata-*.json ; do
|
||||||
|
gpg --verify "${f}.sig"
|
||||||
|
done
|
||||||
|
|
||||||
4
.gitignore
vendored
4
.gitignore
vendored
@@ -12,6 +12,6 @@ tags
|
|||||||
TAGS
|
TAGS
|
||||||
/tmp/
|
/tmp/
|
||||||
.entangled
|
.entangled
|
||||||
release/
|
/release/
|
||||||
releases/
|
/releases/
|
||||||
site/
|
site/
|
||||||
|
|||||||
51
README.md
51
README.md
@@ -1,6 +1,34 @@
|
|||||||
# GHCup metadata
|
# GHCup metadata
|
||||||
|
|
||||||
## Adding a new GHC version
|
## For end users
|
||||||
|
|
||||||
|
### Metadata variants (distribution channels)
|
||||||
|
|
||||||
|
* `ghcup-A.B.C.yaml`: this is the main metadata and what ghcup uses by default
|
||||||
|
* `ghcup-vanilla-A.B.C.yaml`: this is similar to `ghcup-A.B.C.yaml`, but only uses upstream bindists (no patches/fixes are applied, no missing platforms added)
|
||||||
|
* `ghcup-prereleases-A.B.C.yaml`: this contains pre-releases of all tools
|
||||||
|
* `ghcup-cross-A.B.C.yaml`: this contains experimental cross compilers. See https://www.haskell.org/ghcup/guide/#cross-support for details.
|
||||||
|
|
||||||
|
### Using the metadata
|
||||||
|
|
||||||
|
If you want access to both pre-releases and cross compilers, run:
|
||||||
|
|
||||||
|
```
|
||||||
|
ghcup config add-release-channel https://raw.githubusercontent.com/haskell/ghcup-metadata/master/ghcup-prereleases-0.0.7.yaml
|
||||||
|
ghcup config add-release-channel https://raw.githubusercontent.com/haskell/ghcup-metadata/master/ghcup-cross-0.0.8.yaml
|
||||||
|
```
|
||||||
|
|
||||||
|
If you want **only** vanilla upstream bindists and opt out of all unofficial stuff, you'd run:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
ghcup config set url-source https://raw.githubusercontent.com/haskell/ghcup-metadata/master/ghcup-vanilla-0.0.8.yaml
|
||||||
|
```
|
||||||
|
|
||||||
|
Also check the [config.yaml documentation](https://github.com/haskell/ghcup-hs/blob/master/data/config.yaml).
|
||||||
|
|
||||||
|
## For contributors
|
||||||
|
|
||||||
|
### Adding a new GHC version
|
||||||
|
|
||||||
1. open the latest `ghcup-<yaml-ver>.yaml`
|
1. open the latest `ghcup-<yaml-ver>.yaml`
|
||||||
2. find the latest ghc version (in yaml tree e.g. `ghcupDownloads -> GHC -> 8.10.7`)
|
2. find the latest ghc version (in yaml tree e.g. `ghcupDownloads -> GHC -> 8.10.7`)
|
||||||
@@ -11,3 +39,24 @@
|
|||||||
7. run `cabal run ghcup-gen -- check-tarballs -f ghcup-<yaml-ver>.yaml -u 'ghc-8\.10\.8'`
|
7. run `cabal run ghcup-gen -- check-tarballs -f ghcup-<yaml-ver>.yaml -u 'ghc-8\.10\.8'`
|
||||||
8. run `cabal run ghcup-gen -- generate-hls-ghcs -f ghcup-<yaml-ver>.yaml --format json -o hls-metadata-0.0.1.json`
|
8. run `cabal run ghcup-gen -- generate-hls-ghcs -f ghcup-<yaml-ver>.yaml --format json -o hls-metadata-0.0.1.json`
|
||||||
9. run `cabal run ghcup-gen -- generate-table -f ghcup-<yaml-ver>.yaml --stdout` and adjust [docs/install](https://gitlab.haskell.org/haskell/ghcup-hs/-/blob/master/docs/install.md) tables
|
9. run `cabal run ghcup-gen -- generate-table -f ghcup-<yaml-ver>.yaml --stdout` and adjust [docs/install](https://gitlab.haskell.org/haskell/ghcup-hs/-/blob/master/docs/install.md) tables
|
||||||
|
|
||||||
|
### During a pull request
|
||||||
|
|
||||||
|
* make sure to always add new versions to both `ghcup-A.B.C.yaml` and `ghcup-vanilla-A.B.C.yaml`
|
||||||
|
* make sure to run the bindist action to check tool installation on all platforms: https://github.com/haskell/ghcup-metadata/actions/workflows/bindists.yaml
|
||||||
|
- this is a manual pipeline
|
||||||
|
- set the appropriate parameters
|
||||||
|
* make sure to sign the yaml files you edited, e.g.: `gpg --detach-sign -u <your-email> ghcup-0.0.7.yaml` or ask a GHCup developer to sign
|
||||||
|
- PGP pubkeys need to be cross-signed by the GHCup team
|
||||||
|
- they need to be added to the CI: https://github.com/haskell/ghcup-metadata/blob/develop/.github/workflows/sigs
|
||||||
|
- and need to be documented on the homepage
|
||||||
|
* https://github.com/haskell/ghcup-hs/blob/master/docs/guide.md#gpg-verification
|
||||||
|
* https://github.com/haskell/ghcup-hs/blob/master/docs/install.md#unix
|
||||||
|
|
||||||
|
### Understanding tags
|
||||||
|
|
||||||
|
Tags are documented [here](https://github.com/haskell/ghcup-hs/blob/master/lib/GHCup/Types.hs). Search for `data Tag`.
|
||||||
|
Some tags are unique. Uniqueness is checked by `cabal run ghcup-gen -- check -f ghcup-<yaml-ver>.yaml`.
|
||||||
|
|
||||||
|
If you want to check prereleases, do: `cabal run ghcup-gen -- check -f ghcup-prereleases-<yaml-ver>.yaml --channel=prerelease`
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ package ghcup
|
|||||||
source-repository-package
|
source-repository-package
|
||||||
type: git
|
type: git
|
||||||
location: https://github.com/haskell/ghcup-hs.git
|
location: https://github.com/haskell/ghcup-hs.git
|
||||||
tag: v0.1.19.2
|
tag: b1106985ec1173a0122f2781719e9bb1a85de257
|
||||||
|
|
||||||
constraints: http-io-streams -brotli,
|
constraints: http-io-streams -brotli,
|
||||||
any.aeson >= 2.0.1.0
|
any.aeson >= 2.0.1.0
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
2507
ghcup-0.0.7.yaml
2507
ghcup-0.0.7.yaml
File diff suppressed because it is too large
Load Diff
Binary file not shown.
6864
ghcup-0.0.8.yaml
Normal file
6864
ghcup-0.0.8.yaml
Normal file
File diff suppressed because it is too large
Load Diff
BIN
ghcup-0.0.8.yaml.sig
Normal file
BIN
ghcup-0.0.8.yaml.sig
Normal file
Binary file not shown.
56
ghcup-cross-0.0.8.yaml
Normal file
56
ghcup-cross-0.0.8.yaml
Normal file
@@ -0,0 +1,56 @@
|
|||||||
|
---
|
||||||
|
globalTools:
|
||||||
|
ShimGen:
|
||||||
|
dlUri: https://downloads.haskell.org/~ghcup/shimgen/shim-2.exe
|
||||||
|
dlHash: 7c55e201f71860c5babea886007c8fa44b861abf50d1c07e5677eb0bda387a70
|
||||||
|
toolRequirements: {}
|
||||||
|
ghcupDownloads:
|
||||||
|
GHC:
|
||||||
|
javascript-unknown-ghcjs-9.6.2:
|
||||||
|
viTags:
|
||||||
|
- base-4.18.0.0
|
||||||
|
viArch:
|
||||||
|
A_64:
|
||||||
|
Linux_UnknownLinux:
|
||||||
|
unknown_versioning:
|
||||||
|
dlHash: 4e12b602869206830eef1aa6a17a5a00fa887d6c98c3a552269c418ee7f736f8
|
||||||
|
dlSubdir: ghc-9.6.2-javascript-unknown-ghcjs
|
||||||
|
dlUri: https://downloads.haskell.org/~ghcup/unofficial-bindists/ghc/javascript-unknown-ghcjs-9.6.2/ghc-javascript-unknown-ghcjs-9.6.2-x86_64-linux-unknown.tar.xz
|
||||||
|
Darwin:
|
||||||
|
unknown_versioning:
|
||||||
|
dlUri: https://downloads.haskell.org/~ghcup/unofficial-bindists/ghc/javascript-unknown-ghcjs-9.6.2/ghc-javascript-unknown-ghcjs-9.6.2-x86_64-apple-darwin.tar.xz
|
||||||
|
dlHash: dddb0ee68857a79e67a52c4ab9b7230023a8684a5e826e9afbb9c5820abf47e1
|
||||||
|
dlSubdir: ghc-9.6.2-javascript-unknown-ghcjs
|
||||||
|
A_ARM64:
|
||||||
|
Darwin:
|
||||||
|
unknown_versioning:
|
||||||
|
dlUri: https://downloads.haskell.org/~ghcup/unofficial-bindists/ghc/javascript-unknown-ghcjs-9.6.2/ghc-javascript-unknown-ghcjs-9.6.2-aarch64-apple-darwin.tar.xz
|
||||||
|
dlHash: 0d65bb3940a820d95b4b33ea0cd61bf39670d48c4d8f747153ded01a7ef34821
|
||||||
|
dlSubdir: ghc-9.6.2-javascript-unknown-ghcjs
|
||||||
|
wasm32-wasi-9.6.3.20230927:
|
||||||
|
viTags:
|
||||||
|
- base-4.18.1.0
|
||||||
|
viArch:
|
||||||
|
A_64:
|
||||||
|
Linux_UnknownLinux:
|
||||||
|
unknown_versioning: &ghc-wasm32-wasi-963-64-static
|
||||||
|
dlHash: 2e1d363320c03e35fd9048a252a0cfed8f7b87da76c063c7fc52122c390f42c3
|
||||||
|
dlSubdir: ghc-9.6.3.20230927-wasm32-wasi
|
||||||
|
dlUri: https://github.com/amesgen/ghc-wasm-bindists/releases/download/20231001T201511/wasm32-wasi-ghc-9.6.tar.xz
|
||||||
|
dlOutput: ghc-9.6.3.20230927-x86_64-linux-alpine3_12-cross_wasm32-wasi-release+fully_static.tar.xz
|
||||||
|
Linux_Alpine:
|
||||||
|
unknown_versioning: *ghc-wasm32-wasi-963-64-static
|
||||||
|
wasm32-wasi-9.8.0.20230927:
|
||||||
|
viTags:
|
||||||
|
- base-4.19.0.0
|
||||||
|
viArch:
|
||||||
|
A_64:
|
||||||
|
Linux_UnknownLinux:
|
||||||
|
unknown_versioning: &ghc-wasm32-wasi-980-64-static
|
||||||
|
dlHash: bad3393b6eba103230c62f050ffd9d458916c6238e5d5fa031d3eee5d995305a
|
||||||
|
dlSubdir: ghc-9.8.0.20230927-wasm32-wasi
|
||||||
|
dlUri: https://github.com/amesgen/ghc-wasm-bindists/releases/download/20231001T201511/wasm32-wasi-ghc-9.8.tar.xz
|
||||||
|
dlOutput: ghc-9.8.0.20230927-x86_64-linux-alpine3_12-cross_wasm32-wasi-release+fully_static.tar.xz
|
||||||
|
Linux_Alpine:
|
||||||
|
unknown_versioning: *ghc-wasm32-wasi-980-64-static
|
||||||
|
|
||||||
BIN
ghcup-cross-0.0.8.yaml.sig
Normal file
BIN
ghcup-cross-0.0.8.yaml.sig
Normal file
Binary file not shown.
@@ -6,6 +6,7 @@
|
|||||||
{-# LANGUAGE TypeApplications #-}
|
{-# LANGUAGE TypeApplications #-}
|
||||||
{-# LANGUAGE ViewPatterns #-}
|
{-# LANGUAGE ViewPatterns #-}
|
||||||
{-# LANGUAGE OverloadedStrings #-}
|
{-# LANGUAGE OverloadedStrings #-}
|
||||||
|
{-# LANGUAGE LambdaCase #-}
|
||||||
|
|
||||||
module Generate where
|
module Generate where
|
||||||
|
|
||||||
@@ -48,6 +49,12 @@ import qualified Data.Text as T
|
|||||||
import qualified Data.Yaml.Pretty as YAML
|
import qualified Data.Yaml.Pretty as YAML
|
||||||
import qualified Text.Megaparsec as MP
|
import qualified Text.Megaparsec as MP
|
||||||
|
|
||||||
|
import Data.Bifoldable (bifoldMap)
|
||||||
|
import Data.Foldable (traverse_)
|
||||||
|
import Data.Text (Text)
|
||||||
|
|
||||||
|
import Text.PrettyPrint.HughesPJClass (pPrint)
|
||||||
|
|
||||||
data Format = FormatJSON
|
data Format = FormatJSON
|
||||||
| FormatYAML
|
| FormatYAML
|
||||||
|
|
||||||
@@ -157,7 +164,7 @@ generateTable output = do
|
|||||||
liftIO $ hPutStrLn handle $ "<table>"
|
liftIO $ hPutStrLn handle $ "<table>"
|
||||||
liftIO $ hPutStrLn handle $ "<thead><tr><th>" <> show tool <> " Version</th><th>Tags</th></tr></thead>"
|
liftIO $ hPutStrLn handle $ "<thead><tr><th>" <> show tool <> " Version</th><th>Tags</th></tr></thead>"
|
||||||
liftIO $ hPutStrLn handle $ "<tbody>"
|
liftIO $ hPutStrLn handle $ "<tbody>"
|
||||||
vers <- reverse <$> listVersions (Just tool) Nothing
|
vers <- reverse <$> listVersions (Just tool) [] False False (Nothing, Nothing)
|
||||||
forM_ (filter (\ListResult{..} -> not lStray) vers) $ \ListResult{..} -> do
|
forM_ (filter (\ListResult{..} -> not lStray) vers) $ \ListResult{..} -> do
|
||||||
liftIO $ hPutStrLn handle $
|
liftIO $ hPutStrLn handle $
|
||||||
"<tr><td>"
|
"<tr><td>"
|
||||||
@@ -228,3 +235,53 @@ generateSystemInfo output = do
|
|||||||
prettyPlat (Linux UnknownLinux) = "Linux (generic)"
|
prettyPlat (Linux UnknownLinux) = "Linux (generic)"
|
||||||
prettyPlat p = show p
|
prettyPlat p = show p
|
||||||
|
|
||||||
|
|
||||||
|
generateSystemInfoWithDistroVersion :: ( 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
|
||||||
|
generateSystemInfoWithDistroVersion output = do
|
||||||
|
handle <- case output of
|
||||||
|
StdOut -> pure stdout
|
||||||
|
FileOutput fp -> liftIO $ openFile fp WriteMode
|
||||||
|
|
||||||
|
GHCupInfo { _toolRequirements = tr } <- getGHCupInfo
|
||||||
|
let ghcInfo = M.lookup Nothing <$> M.lookup GHC tr
|
||||||
|
liftIO $ traverse_ (\(key, value) -> do
|
||||||
|
liftIO $ hPutStrLn handle $ "### " <> prettyPlat key <> "\n"
|
||||||
|
liftIO $ hPutStrLn handle $ T.unpack $ versionsAndRequirements value <> T.pack "\n")
|
||||||
|
$ M.toList $ fromJust (fromJust ghcInfo)
|
||||||
|
pure ExitSuccess
|
||||||
|
|
||||||
|
where
|
||||||
|
pretty' Requirements {..} =
|
||||||
|
let d = if not . null $ _distroPKGs
|
||||||
|
then "The following distro packages are required: " <> "`" <> T.intercalate " " _distroPKGs <> "`" <> "\n"
|
||||||
|
else ""
|
||||||
|
n = if not . T.null $ _notes then _notes else ""
|
||||||
|
in if | T.null d -> n
|
||||||
|
| T.null n -> d
|
||||||
|
| otherwise -> d <> "\n" <> n
|
||||||
|
|
||||||
|
versionsAndRequirements :: PlatformReqVersionSpec -> Text
|
||||||
|
versionsAndRequirements =
|
||||||
|
bifoldMap
|
||||||
|
( \case
|
||||||
|
Nothing -> T.pack $ "#### Generic" <> "\n"
|
||||||
|
Just verz -> T.pack "#### Version " <> T.pack (show $ pPrint verz) <> "\n"
|
||||||
|
)
|
||||||
|
pretty'
|
||||||
|
|
||||||
|
prettyPlat (Linux UnknownLinux) = "Linux (generic)"
|
||||||
|
prettyPlat p = show p
|
||||||
|
|||||||
@@ -105,26 +105,43 @@ inputP :: Parser Input
|
|||||||
inputP = fileInput <|> stdInput
|
inputP = fileInput <|> stdInput
|
||||||
|
|
||||||
data ValidateYAMLOpts = ValidateYAMLOpts
|
data ValidateYAMLOpts = ValidateYAMLOpts
|
||||||
{ vInput :: Maybe Input
|
{ vChannel :: DistributionChannel
|
||||||
|
, vInput :: Maybe Input
|
||||||
}
|
}
|
||||||
|
|
||||||
validateYAMLOpts :: Parser ValidateYAMLOpts
|
validateYAMLOpts :: Parser ValidateYAMLOpts
|
||||||
validateYAMLOpts = ValidateYAMLOpts <$> optional inputP
|
validateYAMLOpts = ValidateYAMLOpts <$> channelParser <*> optional inputP
|
||||||
|
|
||||||
|
channelParser :: Parser DistributionChannel
|
||||||
|
channelParser =
|
||||||
|
option
|
||||||
|
(eitherReader chanP)
|
||||||
|
(long "channel" <> metavar "CHANNEL" <> help
|
||||||
|
"Signal which distribution channel the YAML denotes: (main | prerelease | nightly). Main is defaul."
|
||||||
|
<> value MainChan
|
||||||
|
)
|
||||||
|
where
|
||||||
|
chanP :: String -> Either String DistributionChannel
|
||||||
|
chanP s' | t == T.pack "main" = Right MainChan
|
||||||
|
| t == T.pack "prerelease" = Right PrereleaseChan
|
||||||
|
| t == T.pack "prereleases" = Right PrereleaseChan
|
||||||
|
| t == T.pack "nightly" = Right NightlyChan
|
||||||
|
| t == T.pack "nightlies" = Right NightlyChan
|
||||||
|
| otherwise = Left ("Unknown channel value: " <> s')
|
||||||
|
where t = T.toLower (T.pack s')
|
||||||
|
|
||||||
tarballFilterP :: Parser TarballFilter
|
tarballFilterP :: Parser TarballFilter
|
||||||
tarballFilterP = option readm $
|
tarballFilterP = option readm $
|
||||||
long "tarball-filter" <> short 'u' <> metavar "<tool>-<version>" <> value def
|
long "tarball-filter" <> short 'u' <> metavar "<tool>-<version>" <> value def
|
||||||
<> help "Only check certain tarballs (format: <tool>-<version>)"
|
<> help "Only check certain tarballs (format: <tool>-<version>)"
|
||||||
where
|
where
|
||||||
def = TarballFilter (Right Nothing) (makeRegex ("" :: String))
|
def = TarballFilter Nothing (makeRegex ("" :: String))
|
||||||
readm = do
|
readm = do
|
||||||
s <- str
|
s <- str
|
||||||
case span (/= '-') s of
|
case span (/= '-') s of
|
||||||
(_, []) -> fail "invalid format, missing '-' after the tool name"
|
(_, []) -> fail "invalid format, missing '-' after the tool name"
|
||||||
(t, v) | [tool] <- [ tool | tool <- [minBound..maxBound], low (show tool) == low t ] ->
|
(t, v) | [tool] <- [ tool | tool <- [minBound..maxBound], low (show tool) == low t ] ->
|
||||||
pure (TarballFilter $ Right $ Just tool) <*> makeRegexOptsM compIgnoreCase execBlank (drop 1 v)
|
pure (TarballFilter $ Just tool) <*> makeRegexOptsM compIgnoreCase execBlank (drop 1 v)
|
||||||
(t, v) | [tool] <- [ tool | tool <- [minBound..maxBound], low (show tool) == low t ] ->
|
|
||||||
pure (TarballFilter $ Left tool) <*> makeRegexOptsM compIgnoreCase execBlank (drop 1 v)
|
|
||||||
_ -> fail "invalid tool"
|
_ -> fail "invalid tool"
|
||||||
low = fmap toLower
|
low = fmap toLower
|
||||||
|
|
||||||
@@ -187,7 +204,7 @@ main = do
|
|||||||
flip runReaderT leanAppstate $ logError $ T.pack $ prettyShow e
|
flip runReaderT leanAppstate $ logError $ T.pack $ prettyShow e
|
||||||
liftIO $ exitWith (ExitFailure 2)
|
liftIO $ exitWith (ExitFailure 2)
|
||||||
|
|
||||||
let appstate = AppState (Settings True 0 Lax False Never Curl True GHCupURL False GPGNone True Nothing (DM mempty)) dirs defaultKeyBindings (GHCupInfo mempty mempty mempty) pfreq loggerConfig
|
let appstate = AppState (Settings True 0 Lax False Never Curl True GHCupURL False GPGNone True Nothing (DM mempty)) dirs defaultKeyBindings (GHCupInfo mempty mempty Nothing) pfreq loggerConfig
|
||||||
|
|
||||||
let withValidateYamlOpts vopts f = case vopts of
|
let withValidateYamlOpts vopts f = case vopts of
|
||||||
ValidateYAMLOpts { vInput = Nothing } ->
|
ValidateYAMLOpts { vInput = Nothing } ->
|
||||||
@@ -205,11 +222,11 @@ main = do
|
|||||||
|
|
||||||
_ <- customExecParser (prefs showHelpOnError) (info (opts <**> helper) idm)
|
_ <- customExecParser (prefs showHelpOnError) (info (opts <**> helper) idm)
|
||||||
>>= \Options {..} -> case optCommand of
|
>>= \Options {..} -> case optCommand of
|
||||||
ValidateYAML vopts -> withValidateYamlOpts vopts validate
|
ValidateYAML vopts@ValidateYAMLOpts{ .. } -> withValidateYamlOpts vopts (validate vChannel)
|
||||||
ValidateTarballs vopts tarballFilter -> withValidateYamlOpts vopts (validateTarballs tarballFilter)
|
ValidateTarballs vopts tarballFilter -> withValidateYamlOpts vopts (validateTarballs tarballFilter)
|
||||||
GenerateHlsGhc vopts format output -> withValidateYamlOpts vopts (generateHLSGhc format output)
|
GenerateHlsGhc vopts format output -> withValidateYamlOpts vopts (generateHLSGhc format output)
|
||||||
GenerateToolTable vopts output -> withValidateYamlOpts vopts (generateTable output)
|
GenerateToolTable vopts output -> withValidateYamlOpts vopts (generateTable output)
|
||||||
GenerateSystemDepsInfo vopts output -> withValidateYamlOpts vopts (generateSystemInfo output)
|
GenerateSystemDepsInfo vopts output -> withValidateYamlOpts vopts (generateSystemInfoWithDistroVersion output)
|
||||||
pure ()
|
pure ()
|
||||||
|
|
||||||
where
|
where
|
||||||
|
|||||||
@@ -51,6 +51,11 @@ data ValidationError = InternalError String
|
|||||||
|
|
||||||
instance Exception ValidationError
|
instance Exception ValidationError
|
||||||
|
|
||||||
|
data DistributionChannel = MainChan
|
||||||
|
| PrereleaseChan
|
||||||
|
| NightlyChan
|
||||||
|
deriving (Show, Eq)
|
||||||
|
|
||||||
|
|
||||||
addError :: (MonadReader (IORef Int) m, MonadIO m, Monad m) => m ()
|
addError :: (MonadReader (IORef Int) m, MonadIO m, Monad m) => m ()
|
||||||
addError = do
|
addError = do
|
||||||
@@ -66,8 +71,9 @@ validate :: ( Monad m
|
|||||||
, MonadUnliftIO m
|
, MonadUnliftIO m
|
||||||
, HasGHCupInfo env
|
, HasGHCupInfo env
|
||||||
)
|
)
|
||||||
=> m ExitCode
|
=> DistributionChannel
|
||||||
validate = do
|
-> m ExitCode
|
||||||
|
validate distroChannel = do
|
||||||
GHCupInfo { _ghcupDownloads = dls } <- getGHCupInfo
|
GHCupInfo { _ghcupDownloads = dls } <- getGHCupInfo
|
||||||
|
|
||||||
ref <- liftIO $ newIORef 0
|
ref <- liftIO $ newIORef 0
|
||||||
@@ -81,7 +87,7 @@ validate = do
|
|||||||
forM_ (M.toList dls) $ \(t, versions) ->
|
forM_ (M.toList dls) $ \(t, versions) ->
|
||||||
forM_ (M.toList versions) $ \(v, vi) ->
|
forM_ (M.toList versions) $ \(v, vi) ->
|
||||||
forM_ (M.toList $ _viArch vi) $ \(arch, pspecs) -> do
|
forM_ (M.toList $ _viArch vi) $ \(arch, pspecs) -> do
|
||||||
checkHasRequiredPlatforms t v (_viTags vi) arch (M.keys pspecs)
|
checkHasRequiredPlatforms t (_tvVersion v) (_viTags vi) arch (M.keys pspecs)
|
||||||
|
|
||||||
checkGHCVerIsValid
|
checkGHCVerIsValid
|
||||||
forM_ (M.toList dls) $ \(t, _) -> checkMandatoryTags t
|
forM_ (M.toList dls) $ \(t, _) -> checkMandatoryTags t
|
||||||
@@ -95,33 +101,36 @@ validate = do
|
|||||||
lift $ logInfo "All good"
|
lift $ logInfo "All good"
|
||||||
pure ExitSuccess
|
pure ExitSuccess
|
||||||
where
|
where
|
||||||
checkHasRequiredPlatforms t v tags arch pspecs = do
|
checkHasRequiredPlatforms t v tags arch pspecs
|
||||||
let v' = prettyVer v
|
-- relax requirements for prerelease and nightly channels
|
||||||
arch' = prettyShow arch
|
| distroChannel `elem` [PrereleaseChan, NightlyChan] = pure ()
|
||||||
when (Linux UnknownLinux `notElem` pspecs) $ do
|
| otherwise = do
|
||||||
lift $ logError $
|
let v' = prettyVer v
|
||||||
"Linux UnknownLinux missing for for " <> T.pack (prettyShow t) <> " " <> v' <> " " <> T.pack arch'
|
arch' = prettyShow arch
|
||||||
addError
|
when (Linux UnknownLinux `notElem` pspecs) $ do
|
||||||
when ((Darwin `notElem` pspecs) && arch == A_64) $ do
|
lift $ logError $
|
||||||
lift $ logError $ "Darwin missing for for " <> T.pack (prettyShow t) <> " " <> v' <> " " <> T.pack arch'
|
"Linux UnknownLinux missing for for " <> T.pack (prettyShow t) <> " " <> v' <> " " <> T.pack arch'
|
||||||
addError
|
addError
|
||||||
when ((FreeBSD `notElem` pspecs) && arch == A_64) $ lift $ logWarn $
|
when ((Darwin `notElem` pspecs) && arch == A_64) $ do
|
||||||
"FreeBSD missing for for " <> T.pack (prettyShow t) <> " " <> v' <> " " <> T.pack arch'
|
lift $ logError $ "Darwin missing for for " <> T.pack (prettyShow t) <> " " <> v' <> " " <> T.pack arch'
|
||||||
when (Windows `notElem` pspecs && arch == A_64) $ do
|
addError
|
||||||
lift $ logError $ "Windows missing for for " <> T.pack (prettyShow t) <> " " <> v' <> " " <> T.pack arch'
|
when ((FreeBSD `notElem` pspecs) && arch == A_64) $ lift $ logWarn $
|
||||||
addError
|
"FreeBSD missing for for " <> T.pack (prettyShow t) <> " " <> v' <> " " <> T.pack arch'
|
||||||
|
when (Windows `notElem` pspecs && arch == A_64) $ do
|
||||||
|
lift $ logError $ "Windows missing for for " <> T.pack (prettyShow t) <> " " <> v' <> " " <> T.pack arch'
|
||||||
|
addError
|
||||||
|
|
||||||
-- alpine needs to be set explicitly, because
|
-- alpine needs to be set explicitly, because
|
||||||
-- we cannot assume that "Linux UnknownLinux" runs on Alpine
|
-- we cannot assume that "Linux UnknownLinux" runs on Alpine
|
||||||
-- (although it could be static)
|
-- (although it could be static)
|
||||||
when (Linux Alpine `notElem` pspecs) $
|
when (Linux Alpine `notElem` pspecs) $
|
||||||
case t of
|
case t of
|
||||||
GHCup | arch `elem` [A_64, A_32] -> lift (logError $ "Linux Alpine missing for " <> T.pack (prettyShow t) <> " " <> v' <> " " <> T.pack (prettyShow arch)) >> addError
|
GHCup | arch `elem` [A_64, A_32] -> lift (logError $ "Linux Alpine missing for " <> T.pack (prettyShow t) <> " " <> v' <> " " <> T.pack (prettyShow arch)) >> addError
|
||||||
Cabal | v > [vver|2.4.1.0|]
|
Cabal | v > [vver|2.4.1.0|]
|
||||||
, arch `elem` [A_64, A_32] -> lift (logError $ "Linux Alpine missing for " <> T.pack (prettyShow t) <> " " <> v' <> " " <> T.pack (prettyShow arch)) >> addError
|
, arch `elem` [A_64, A_32] -> lift (logError $ "Linux Alpine missing for " <> T.pack (prettyShow t) <> " " <> v' <> " " <> T.pack (prettyShow arch)) >> addError
|
||||||
GHC | Latest `elem` tags || Recommended `elem` tags
|
GHC | Latest `elem` tags || Recommended `elem` tags
|
||||||
, arch `elem` [A_64, A_32] -> lift (logError $ "Linux Alpine missing for " <> T.pack (prettyShow t) <> " " <> v' <> " " <> T.pack (prettyShow arch))
|
, arch `elem` [A_64, A_32] -> lift (logError $ "Linux Alpine missing for " <> T.pack (prettyShow t) <> " " <> v' <> " " <> T.pack (prettyShow arch))
|
||||||
_ -> lift $ logWarn $ "Linux Alpine missing for " <> T.pack (prettyShow t) <> " " <> v' <> " " <> T.pack (prettyShow arch)
|
_ -> lift $ logWarn $ "Linux Alpine missing for " <> T.pack (prettyShow t) <> " " <> v' <> " " <> T.pack (prettyShow arch)
|
||||||
|
|
||||||
checkUniqueTags tool = do
|
checkUniqueTags tool = do
|
||||||
GHCupInfo { _ghcupDownloads = dls } <- lift getGHCupInfo
|
GHCupInfo { _ghcupDownloads = dls } <- lift getGHCupInfo
|
||||||
@@ -145,16 +154,19 @@ validate = do
|
|||||||
lift $ logError $ "Tags not unique for " <> T.pack (prettyShow tool) <> ": " <> T.pack (prettyShow xs)
|
lift $ logError $ "Tags not unique for " <> T.pack (prettyShow tool) <> ": " <> T.pack (prettyShow xs)
|
||||||
addError
|
addError
|
||||||
where
|
where
|
||||||
isUniqueTag Latest = True
|
isUniqueTag Latest = True
|
||||||
isUniqueTag Recommended = True
|
isUniqueTag Recommended = True
|
||||||
isUniqueTag Old = False
|
isUniqueTag Old = False
|
||||||
isUniqueTag Prerelease = False
|
isUniqueTag Prerelease = False
|
||||||
isUniqueTag (Base _) = False
|
isUniqueTag LatestPrerelease = True
|
||||||
isUniqueTag (UnknownTag _) = False
|
isUniqueTag Nightly = False
|
||||||
|
isUniqueTag LatestNightly = True
|
||||||
|
isUniqueTag (Base _) = False
|
||||||
|
isUniqueTag (UnknownTag _) = False
|
||||||
|
|
||||||
checkGHCVerIsValid = do
|
checkGHCVerIsValid = do
|
||||||
GHCupInfo { _ghcupDownloads = dls } <- lift getGHCupInfo
|
GHCupInfo { _ghcupDownloads = dls } <- lift getGHCupInfo
|
||||||
let ghcVers = toListOf (ix GHC % to M.keys % folded) dls
|
let ghcVers = toListOf (ix GHC % to M.keys % to (map _tvVersion) % folded) dls
|
||||||
forM_ ghcVers $ \v ->
|
forM_ ghcVers $ \v ->
|
||||||
case [ x | (x,"") <- readP_to_S V.parseVersion (T.unpack . prettyVer $ v) ] of
|
case [ x | (x,"") <- readP_to_S V.parseVersion (T.unpack . prettyVer $ v) ] of
|
||||||
[_] -> pure ()
|
[_] -> pure ()
|
||||||
@@ -166,19 +178,28 @@ validate = do
|
|||||||
checkMandatoryTags tool = do
|
checkMandatoryTags tool = do
|
||||||
GHCupInfo { _ghcupDownloads = dls } <- lift getGHCupInfo
|
GHCupInfo { _ghcupDownloads = dls } <- lift getGHCupInfo
|
||||||
let allTags = _viTags =<< M.elems (availableToolVersions dls tool)
|
let allTags = _viTags =<< M.elems (availableToolVersions dls tool)
|
||||||
forM_ [Latest, Recommended] $ \t -> case t `elem` allTags of
|
forM_ (mandatoryTags tool) $ \t -> case t `elem` allTags of
|
||||||
False -> do
|
False -> do
|
||||||
lift $ logError $ "Tag " <> T.pack (prettyShow t) <> " missing from " <> T.pack (prettyShow tool)
|
lift $ logError $ "Tag " <> T.pack (prettyShow t) <> " missing from " <> T.pack (prettyShow tool)
|
||||||
addError
|
addError
|
||||||
True -> pure ()
|
True -> pure ()
|
||||||
|
|
||||||
|
mandatoryTags tool
|
||||||
|
-- due to a quirk, even for ghcup prereleases we need the 'latest' tag
|
||||||
|
-- https://github.com/haskell/ghcup-hs/issues/891
|
||||||
|
| tool == GHCup = [Latest, Recommended]
|
||||||
|
| otherwise = case distroChannel of
|
||||||
|
MainChan -> [Latest, Recommended]
|
||||||
|
PrereleaseChan -> [LatestPrerelease]
|
||||||
|
NightlyChan -> [LatestNightly]
|
||||||
|
|
||||||
-- all GHC versions must have a base tag
|
-- all GHC versions must have a base tag
|
||||||
checkGHCHasBaseVersion = do
|
checkGHCHasBaseVersion = do
|
||||||
GHCupInfo { _ghcupDownloads = dls } <- lift getGHCupInfo
|
GHCupInfo { _ghcupDownloads = dls } <- lift getGHCupInfo
|
||||||
let allTags = M.toList $ availableToolVersions dls GHC
|
let allTags = M.toList $ availableToolVersions dls GHC
|
||||||
forM allTags $ \(ver, _viTags -> tags) -> case any isBase tags of
|
forM allTags $ \(ver, _viTags -> tags) -> case any isBase tags of
|
||||||
False -> do
|
False -> do
|
||||||
lift $ logError $ "Base tag missing from GHC ver " <> prettyVer ver
|
lift $ logError $ "Base tag missing from GHC ver " <> prettyVer (_tvVersion ver)
|
||||||
addError
|
addError
|
||||||
True -> pure ()
|
True -> pure ()
|
||||||
|
|
||||||
@@ -186,7 +207,7 @@ validate = do
|
|||||||
isBase _ = False
|
isBase _ = False
|
||||||
|
|
||||||
data TarballFilter = TarballFilter
|
data TarballFilter = TarballFilter
|
||||||
{ tfTool :: Either GlobalTool (Maybe Tool)
|
{ tfTool :: Maybe Tool
|
||||||
, tfVersion :: Regex
|
, tfVersion :: Regex
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -205,20 +226,16 @@ validateTarballs :: ( Monad m
|
|||||||
)
|
)
|
||||||
=> TarballFilter
|
=> TarballFilter
|
||||||
-> m ExitCode
|
-> m ExitCode
|
||||||
validateTarballs (TarballFilter etool versionRegex) = do
|
validateTarballs (TarballFilter mtool versionRegex) = do
|
||||||
GHCupInfo { _ghcupDownloads = dls, _globalTools = gt } <- getGHCupInfo
|
GHCupInfo { _ghcupDownloads = dls } <- getGHCupInfo
|
||||||
ref <- liftIO $ newIORef 0
|
ref <- liftIO $ newIORef 0
|
||||||
|
|
||||||
-- download/verify all tarballs
|
-- download/verify all tarballs
|
||||||
let dlis = either (const []) (\tool -> nubOrd $ dls ^.. each %& indices (maybe (const True) (==) tool)
|
let dlis = nubOrd $ dls ^.. each %& indices (maybe (const True) (==) mtool)
|
||||||
%> each %& indices (matchTest versionRegex . T.unpack . prettyVer)
|
%> each %& indices (matchTest versionRegex . T.unpack . prettyVer . _tvVersion)
|
||||||
% (viTestDL % _Just `summing` viSourceDL % _Just `summing` viArch % each % each % each)
|
% (viTestDL % _Just `summing` viSourceDL % _Just `summing` viArch % each % each % each)
|
||||||
)
|
when (null dlis) $ logError "no tarballs selected by filter" *> runReaderT addError ref
|
||||||
etool
|
forM_ dlis (downloadAll ref)
|
||||||
let gdlis = nubOrd $ gt ^.. each
|
|
||||||
let allDls = either (const gdlis) (const dlis) etool
|
|
||||||
when (null allDls) $ logError "no tarballs selected by filter" *> runReaderT addError ref
|
|
||||||
forM_ allDls (downloadAll ref)
|
|
||||||
|
|
||||||
-- exit
|
-- exit
|
||||||
e <- liftIO $ readIORef ref
|
e <- liftIO $ readIORef ref
|
||||||
@@ -252,20 +269,16 @@ validateTarballs (TarballFilter etool versionRegex) = do
|
|||||||
, ContentLengthError
|
, ContentLengthError
|
||||||
]
|
]
|
||||||
$ do
|
$ do
|
||||||
case etool of
|
case mtool of
|
||||||
Right (Just GHCup) -> do
|
(Just GHCup) -> do
|
||||||
tmpUnpack <- lift mkGhcupTmpDir
|
tmpUnpack <- lift mkGhcupTmpDir
|
||||||
_ <- liftE $ download (_dlUri dli) Nothing (Just (_dlHash dli)) Nothing (fromGHCupPath tmpUnpack) Nothing False
|
_ <- liftE $ download (_dlUri dli) Nothing (Just (_dlHash dli)) Nothing (fromGHCupPath tmpUnpack) Nothing False
|
||||||
pure Nothing
|
pure Nothing
|
||||||
Right _ -> do
|
_ -> do
|
||||||
p <- liftE $ downloadCached dli Nothing
|
p <- liftE $ downloadCached dli Nothing
|
||||||
fmap Just $ liftE
|
fmap Just $ liftE
|
||||||
. getArchiveFiles
|
. getArchiveFiles
|
||||||
$ p
|
$ p
|
||||||
Left ShimGen -> do
|
|
||||||
tmpUnpack <- lift mkGhcupTmpDir
|
|
||||||
_ <- liftE $ download (_dlUri dli) Nothing (Just (_dlHash dli)) Nothing (fromGHCupPath tmpUnpack) Nothing False
|
|
||||||
pure Nothing
|
|
||||||
case r of
|
case r of
|
||||||
VRight (Just entries) -> do
|
VRight (Just entries) -> do
|
||||||
case _dlSubdir dli of
|
case _dlSubdir dli of
|
||||||
|
|||||||
@@ -65,5 +65,5 @@ executable ghcup-gen
|
|||||||
, safe-exceptions ^>=0.1
|
, safe-exceptions ^>=0.1
|
||||||
, text ^>=2.0
|
, text ^>=2.0
|
||||||
, transformers ^>=0.5
|
, transformers ^>=0.5
|
||||||
, versions >=4.0.1 && <5.1
|
, versions >=6.0.0
|
||||||
, yaml-streamly ^>=0.12.0
|
, yaml-streamly ^>=0.12.0
|
||||||
|
|||||||
@@ -13,11 +13,11 @@ ghcupDownloads:
|
|||||||
viArch:
|
viArch:
|
||||||
A_64:
|
A_64:
|
||||||
Linux_UnknownLinux:
|
Linux_UnknownLinux:
|
||||||
unknown_versioning: &cabal-3720-32
|
unknown_versioning: &cabal-3720-64
|
||||||
dlUri: https://downloads.haskell.org/~ghcup/unofficial-bindists/cabal/3.7.0.0-pre20220407/cabal-install-3.7-x86_64-linux-alpine.tar.xz
|
dlUri: https://downloads.haskell.org/~ghcup/unofficial-bindists/cabal/3.7.0.0-pre20220407/cabal-install-3.7-x86_64-linux-alpine.tar.xz
|
||||||
dlHash: c9e28e1578dfb851918e523040cb0f913df747fe95e24d089bcf7cd821c21885
|
dlHash: c9e28e1578dfb851918e523040cb0f913df747fe95e24d089bcf7cd821c21885
|
||||||
Linux_Alpine:
|
Linux_Alpine:
|
||||||
unknown_versioning: *cabal-3720-32
|
unknown_versioning: *cabal-3720-64
|
||||||
Darwin:
|
Darwin:
|
||||||
unknown_versioning:
|
unknown_versioning:
|
||||||
dlUri: https://downloads.haskell.org/~ghcup/unofficial-bindists/cabal/3.7.0.0-pre20220407/cabal-install-3.7-x86_64-darwin.tar.xz
|
dlUri: https://downloads.haskell.org/~ghcup/unofficial-bindists/cabal/3.7.0.0-pre20220407/cabal-install-3.7-x86_64-darwin.tar.xz
|
||||||
@@ -59,11 +59,11 @@ ghcupDownloads:
|
|||||||
viArch:
|
viArch:
|
||||||
A_64:
|
A_64:
|
||||||
Linux_UnknownLinux:
|
Linux_UnknownLinux:
|
||||||
unknown_versioning: &cabal-3810-32
|
unknown_versioning: &cabal-3810-64
|
||||||
dlUri: https://downloads.haskell.org/~cabal/cabal-install-3.8.1.0-rc1/cabal-install-3.8.0.20220526-x86_64-linux-alpine.tar.xz
|
dlUri: https://downloads.haskell.org/~cabal/cabal-install-3.8.1.0-rc1/cabal-install-3.8.0.20220526-x86_64-linux-alpine.tar.xz
|
||||||
dlHash: a4e6cb7990d7150c4e64cbd3ebd0a62fb6b00f96f0f9bc3fb751ff6d1f898fdb
|
dlHash: a4e6cb7990d7150c4e64cbd3ebd0a62fb6b00f96f0f9bc3fb751ff6d1f898fdb
|
||||||
Linux_Alpine:
|
Linux_Alpine:
|
||||||
unknown_versioning: *cabal-3810-32
|
unknown_versioning: *cabal-3810-64
|
||||||
Darwin:
|
Darwin:
|
||||||
unknown_versioning:
|
unknown_versioning:
|
||||||
dlUri: https://downloads.haskell.org/~cabal/cabal-install-3.8.1.0-rc1/cabal-install-3.8.0.20220526-x86_64-darwin.tar.xz
|
dlUri: https://downloads.haskell.org/~cabal/cabal-install-3.8.1.0-rc1/cabal-install-3.8.0.20220526-x86_64-darwin.tar.xz
|
||||||
@@ -100,11 +100,11 @@ ghcupDownloads:
|
|||||||
viArch:
|
viArch:
|
||||||
A_64:
|
A_64:
|
||||||
Linux_UnknownLinux:
|
Linux_UnknownLinux:
|
||||||
unknown_versioning: &cabal-3900-32
|
unknown_versioning: &cabal-3900-64
|
||||||
dlUri: https://downloads.haskell.org/~cabal/cabal-install-3.9.0.0/cabal-install-3.9-x86_64-linux-alpine.tar.xz
|
dlUri: https://downloads.haskell.org/~cabal/cabal-install-3.9.0.0/cabal-install-3.9-x86_64-linux-alpine.tar.xz
|
||||||
dlHash: 0374716dc33f255e1fb9ec38d83fdd3a3dc81ecf38af0a94b8ab0e1ba1a1ac1c
|
dlHash: 0374716dc33f255e1fb9ec38d83fdd3a3dc81ecf38af0a94b8ab0e1ba1a1ac1c
|
||||||
Linux_Alpine:
|
Linux_Alpine:
|
||||||
unknown_versioning: *cabal-3900-32
|
unknown_versioning: *cabal-3900-64
|
||||||
Darwin:
|
Darwin:
|
||||||
unknown_versioning:
|
unknown_versioning:
|
||||||
dlUri: https://downloads.haskell.org/~cabal/cabal-install-3.9.0.0/cabal-install-3.9-x86_64-darwin.tar.xz
|
dlUri: https://downloads.haskell.org/~cabal/cabal-install-3.9.0.0/cabal-install-3.9-x86_64-darwin.tar.xz
|
||||||
@@ -210,7 +210,7 @@ ghcupDownloads:
|
|||||||
dlUri: https://downloads.haskell.org/~ghc/9.4.1-alpha2/ghc-9.4.0.20220523-src.tar.xz
|
dlUri: https://downloads.haskell.org/~ghc/9.4.1-alpha2/ghc-9.4.0.20220523-src.tar.xz
|
||||||
dlSubdir: ghc-9.4.0.20220523
|
dlSubdir: ghc-9.4.0.20220523
|
||||||
dlHash: 3bcac9a2043bbc99cd8113547d92fdcad7d7bb4c286a9222ccbcbd4b4a26b635
|
dlHash: 3bcac9a2043bbc99cd8113547d92fdcad7d7bb4c286a9222ccbcbd4b4a26b635
|
||||||
viPostRemove: &ghc-post-remove "After removing GHC you might also want to clean up your cabal store at: ~/.cabal/store/ghc-<ghcver>"
|
viPostRemove: *ghc-post-remove
|
||||||
viArch:
|
viArch:
|
||||||
A_64:
|
A_64:
|
||||||
Linux_Debian:
|
Linux_Debian:
|
||||||
@@ -549,11 +549,11 @@ ghcupDownloads:
|
|||||||
viArch:
|
viArch:
|
||||||
A_32:
|
A_32:
|
||||||
Linux_Debian:
|
Linux_Debian:
|
||||||
<10: &ghc-961alpha2-64-deb9
|
<10: &ghc-961alpha2-32-deb9
|
||||||
dlHash: e2f3e622f1aecfe0b6a305d0fb997e83453ecbc2949cb2b393549e35f2b062e1
|
dlHash: e2f3e622f1aecfe0b6a305d0fb997e83453ecbc2949cb2b393549e35f2b062e1
|
||||||
dlSubdir: ghc-9.6.0.20230128-i386-unknown-linux
|
dlSubdir: ghc-9.6.0.20230128-i386-unknown-linux
|
||||||
dlUri: https://downloads.haskell.org/~ghc/9.6.0.20230128/ghc-9.6.0.20230128-i386-deb9-linux.tar.xz
|
dlUri: https://downloads.haskell.org/~ghc/9.6.0.20230128/ghc-9.6.0.20230128-i386-deb9-linux.tar.xz
|
||||||
unknown_versioning: *ghc-961alpha2-64-deb9
|
unknown_versioning: *ghc-961alpha2-32-deb9
|
||||||
A_64:
|
A_64:
|
||||||
Darwin:
|
Darwin:
|
||||||
unknown_versioning:
|
unknown_versioning:
|
||||||
@@ -735,14 +735,690 @@ ghcupDownloads:
|
|||||||
dlSubdir: ghc-9.6.0.20230210
|
dlSubdir: ghc-9.6.0.20230210
|
||||||
dlUri: https://downloads.haskell.org/~ghc/9.6.0.20230210/ghc-9.6.0.20230210-testsuite.tar.xz
|
dlUri: https://downloads.haskell.org/~ghc/9.6.0.20230210/ghc-9.6.0.20230210-testsuite.tar.xz
|
||||||
viTags:
|
viTags:
|
||||||
- LatestPrerelease
|
- Prerelease
|
||||||
- base-4.18.0.0
|
- base-4.18.0.0
|
||||||
|
|
||||||
|
9.6.0.20230302:
|
||||||
|
viArch:
|
||||||
|
A_32:
|
||||||
|
Linux_Debian:
|
||||||
|
<10: &ghc-961rc1-32-debian10
|
||||||
|
dlHash: a4a0df9b980da59aaf4d121bddad20e750b17d45f90e8c5cdaa3fd94479087ea
|
||||||
|
dlSubdir: ghc-9.6.0.20230302-i386-unknown-linux
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.6.0.20230302/ghc-9.6.0.20230302-i386-deb9-linux.tar.xz
|
||||||
|
unknown_versioning: *ghc-961rc1-32-debian10
|
||||||
|
Linux_Mint:
|
||||||
|
unknown_versioning: *ghc-961rc1-32-debian10
|
||||||
|
Linux_Ubuntu:
|
||||||
|
unknown_versioning: *ghc-961rc1-32-debian10
|
||||||
|
Linux_UnknownLinux:
|
||||||
|
unknown_versioning: *ghc-961rc1-32-debian10
|
||||||
|
A_64:
|
||||||
|
Darwin:
|
||||||
|
unknown_versioning:
|
||||||
|
dlHash: 8a291d92b470d412ba531b485b8a7692780334ae7690a3257f666d04ca374733
|
||||||
|
dlSubdir: ghc-9.6.0.20230302-x86_64-apple-darwin
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.6.0.20230302/ghc-9.6.0.20230302-x86_64-apple-darwin.tar.xz
|
||||||
|
Linux_Alpine:
|
||||||
|
unknown_versioning:
|
||||||
|
dlHash: abb24cbd934333d660221ec872c3f11acbd295607c3b6183266fce9fe3158fb0
|
||||||
|
dlSubdir: ghc-9.6.0.20230302-x86_64-unknown-linux
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.6.0.20230302/ghc-9.6.0.20230302-x86_64-alpine3_12-linux-static-int_native.tar.xz
|
||||||
|
Linux_CentOS:
|
||||||
|
( >= 7 && < 8 ): &ghc-961rc1-64-centos7
|
||||||
|
dlHash: 76b0921881427e49fc0fe9460ca67b6df4236e33b1a64cca88b06f2f0510ffd1
|
||||||
|
dlSubdir: ghc-9.6.0.20230302-x86_64-unknown-linux
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.6.0.20230302/ghc-9.6.0.20230302-x86_64-centos7-linux.tar.xz
|
||||||
|
unknown_versioning: *ghc-961rc1-64-centos7
|
||||||
|
Linux_Debian:
|
||||||
|
(>= 10 && < 11):
|
||||||
|
dlHash: fd7834d8d2615be2620cf657ff3d37fd6d699aaa96175e3e984e50c84414ffa1
|
||||||
|
dlSubdir: ghc-9.6.0.20230302-x86_64-unknown-linux
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.6.0.20230302/ghc-9.6.0.20230302-x86_64-deb10-linux.tar.xz
|
||||||
|
< 10:
|
||||||
|
dlHash: 4aa4ba419265b790277acf8c6169e694d8b419077ed281e65d3461a2a2eafd00
|
||||||
|
dlSubdir: ghc-9.6.0.20230302-x86_64-unknown-linux
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.6.0.20230302/ghc-9.6.0.20230302-x86_64-deb9-linux.tar.xz
|
||||||
|
'>= 11': &ghc-961rc1-64-debian11
|
||||||
|
dlHash: 5137596a6956b779f2e1a9e05cde9dd00b9d68944d2f818f6a95d489dc62d248
|
||||||
|
dlSubdir: ghc-9.6.0.20230302-x86_64-unknown-linux
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.6.0.20230302/ghc-9.6.0.20230302-x86_64-deb11-linux.tar.xz
|
||||||
|
unknown_versioning: *ghc-961rc1-64-debian11
|
||||||
|
Linux_Fedora:
|
||||||
|
'>= 33':
|
||||||
|
dlHash: dd4b1eff940fb2e3b2203b1a6e3e32182fcff9f32c5dfaa9675d72665fac82b4
|
||||||
|
dlSubdir: ghc-9.6.0.20230302-x86_64-unknown-linux
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.6.0.20230302/ghc-9.6.0.20230302-x86_64-fedora33-linux.tar.xz
|
||||||
|
unknown_versioning: *ghc-961rc1-64-centos7
|
||||||
|
Linux_Mint:
|
||||||
|
< 20: &ghc-961rc1-64-ubuntu1804
|
||||||
|
dlHash: 5ea801852c74ecc41dda80f574eaa00f059adac502e6e8c611abc5f6606c7237
|
||||||
|
dlSubdir: ghc-9.6.0.20230302-x86_64-unknown-linux
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.6.0.20230302/ghc-9.6.0.20230302-x86_64-ubuntu18_04-linux.tar.xz
|
||||||
|
'>= 20': &ghc-961rc1-64-ubuntu2004
|
||||||
|
dlHash: 7004f93625c649eed1b44ede3530ccbab3baaaca5cd2f597cfd31051a2615510
|
||||||
|
dlSubdir: ghc-9.6.0.20230302-x86_64-unknown-linux
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.6.0.20230302/ghc-9.6.0.20230302-x86_64-ubuntu20_04-linux.tar.xz
|
||||||
|
Linux_RedHat:
|
||||||
|
unknown_versioning: *ghc-961rc1-64-centos7
|
||||||
|
Linux_Ubuntu:
|
||||||
|
( >= 16 && < 19 ): *ghc-961rc1-64-ubuntu1804
|
||||||
|
unknown_versioning: *ghc-961rc1-64-ubuntu2004
|
||||||
|
Linux_UnknownLinux:
|
||||||
|
unknown_versioning:
|
||||||
|
dlHash: 326397dfa23eee2698dd2491dd57ea5fc3de398cb979d7ed88058eb92d54c730
|
||||||
|
dlSubdir: ghc-9.6.0.20230302-x86_64-unknown-linux
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.6.0.20230302/ghc-9.6.0.20230302-x86_64-rocky8-linux.tar.xz
|
||||||
|
Windows:
|
||||||
|
unknown_versioning:
|
||||||
|
dlHash: 8b669a2ce7f36732aeedcaa9189f8aa9e57c61a0ecc59b3a96d7d4652e23e810
|
||||||
|
dlSubdir: ghc-9.6.0.20230302-x86_64-unknown-mingw32
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.6.0.20230302/ghc-9.6.0.20230302-x86_64-unknown-mingw32.tar.xz
|
||||||
|
A_ARM64:
|
||||||
|
Darwin:
|
||||||
|
unknown_versioning:
|
||||||
|
dlHash: ad1c63895bff6fd6e4c206271c481e388f417f086d22172c57b0514e104c2bbc
|
||||||
|
dlSubdir: ghc-9.6.0.20230302-aarch64-apple-darwin
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.6.0.20230302/ghc-9.6.0.20230302-aarch64-apple-darwin.tar.xz
|
||||||
|
Linux_UnknownLinux:
|
||||||
|
unknown_versioning:
|
||||||
|
dlHash: 45ad27a9d03cb364b9d55da1e96e3b5da8f1f6ad3b472f94df6ec9c9c8621099
|
||||||
|
dlSubdir: ghc-9.6.0.20230302-aarch64-unknown-linux
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.6.0.20230302/ghc-9.6.0.20230302-aarch64-deb10-linux.tar.xz
|
||||||
|
viChangeLog: https://downloads.haskell.org/~ghc/9.6.0.20230302/docs/users_guide/9.6.1-notes.html
|
||||||
|
viSourceDL:
|
||||||
|
dlHash: 5658ff1357a82ffecf52c602b1aade4c63d1184bcbcd8b633dcc6c61a4a636f3
|
||||||
|
dlSubdir: ghc-9.6.0.20230302
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.6.0.20230302/ghc-9.6.0.20230302-src.tar.xz
|
||||||
|
viTags:
|
||||||
|
- base-4.18.0.0
|
||||||
|
- Prerelease
|
||||||
|
viTestDL:
|
||||||
|
dlHash: 50950baf5bee33eb59c0d55913f283fd55d0c739a5bfed4badc42aa094e15f03
|
||||||
|
dlSubdir: ghc-9.6.0.20230302
|
||||||
|
dlUri: https://downloads.haskell.org/ghc/9.6.0.20230302/ghc-9.6.0.20230302-testsuite.tar.xz
|
||||||
|
9.8.1-alpha1:
|
||||||
|
viArch:
|
||||||
|
A_32:
|
||||||
|
Linux_Debian:
|
||||||
|
unknown_versioning: &ghc-981alpha1-deb10
|
||||||
|
dlHash: 7c2bf4f57e847b4cd432f86fd94e8bf0e438467e0b9e5a007edc095f0ee22311
|
||||||
|
dlOutput: ghc-9.8.0.20230727-i386-linux-deb10.tar.xz
|
||||||
|
dlSubdir: ghc-9.8.0.20230727-i386-unknown-linux
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.8.0.20230727/ghc-9.8.0.20230727-i386-deb10-linux.tar.xz
|
||||||
|
Linux_Mint:
|
||||||
|
unknown_versioning: *ghc-981alpha1-deb10
|
||||||
|
Linux_Ubuntu:
|
||||||
|
unknown_versioning: *ghc-981alpha1-deb10
|
||||||
|
Linux_UnknownLinux:
|
||||||
|
unknown_versioning: *ghc-981alpha1-deb10
|
||||||
|
A_64:
|
||||||
|
Darwin:
|
||||||
|
unknown_versioning:
|
||||||
|
dlHash: 54bfebe74a76cbec360cf0f8d84d8f7658b44af3f8df19fddd4fd0ade6f10909
|
||||||
|
dlOutput: ghc-9.8.0.20230727-x86_64-darwin.tar.xz
|
||||||
|
dlSubdir: ghc-9.8.0.20230727-x86_64-apple-darwin
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.8.0.20230727/ghc-9.8.0.20230727-x86_64-apple-darwin.tar.xz
|
||||||
|
Linux_Alpine:
|
||||||
|
unknown_versioning:
|
||||||
|
dlHash: 278c1e021474441c1c7182679e7649dc06b4be67bb367c7087726d90e8234c28
|
||||||
|
dlOutput: ghc-9.8.0.20230727-x86_64-linux-alpine3_12.tar.xz
|
||||||
|
dlSubdir: ghc-9.8.0.20230727-x86_64-unknown-linux
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.8.0.20230727/ghc-9.8.0.20230727-x86_64-alpine3_12-linux.tar.xz
|
||||||
|
Linux_CentOS:
|
||||||
|
( >= 7 && < 8 ): &ghc-981alpha1-centos7
|
||||||
|
dlHash: 9332fe38cc93efbc25aa75476d45a83c003a7487a3ccea586660664f2c587713
|
||||||
|
dlOutput: ghc-9.8.0.20230727-x86_64-linux-centos7.tar.xz
|
||||||
|
dlSubdir: ghc-9.8.0.20230727-x86_64-unknown-linux
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.8.0.20230727/ghc-9.8.0.20230727-x86_64-centos7-linux.tar.xz
|
||||||
|
unknown_versioning: *ghc-981alpha1-centos7
|
||||||
|
Linux_Debian:
|
||||||
|
(>= 10 && < 11):
|
||||||
|
dlHash: 0ee44334f1df5f0605ef6f99651625ed4c981312384805e89572bbf72eb3ea2c
|
||||||
|
dlOutput: ghc-9.8.0.20230727-x86_64-linux-deb10.tar.xz
|
||||||
|
dlSubdir: ghc-9.8.0.20230727-x86_64-unknown-linux
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.8.0.20230727/ghc-9.8.0.20230727-x86_64-deb10-linux.tar.xz
|
||||||
|
< 10:
|
||||||
|
dlHash: 6ffdac46ead78a8df5d41bb7922c51973e4bda94a522cdcae1d6c5a5dd739263
|
||||||
|
dlOutput: ghc-9.8.0.20230727-x86_64-linux-deb9.tar.xz
|
||||||
|
dlSubdir: ghc-9.8.0.20230727-x86_64-unknown-linux
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.8.0.20230727/ghc-9.8.0.20230727-x86_64-deb9-linux.tar.xz
|
||||||
|
'>= 11': &ghc-981alpha1-deb11
|
||||||
|
dlHash: c6283dbe96ff0998b9ee9862099efa66c901a5d049a7c58f8c24c09e54f1e911
|
||||||
|
dlOutput: ghc-9.8.0.20230727-x86_64-linux-deb11.tar.xz
|
||||||
|
dlSubdir: ghc-9.8.0.20230727-x86_64-unknown-linux
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.8.0.20230727/ghc-9.8.0.20230727-x86_64-deb11-linux.tar.xz
|
||||||
|
unknown_versioning: *ghc-981alpha1-deb11
|
||||||
|
Linux_Fedora:
|
||||||
|
'>= 33':
|
||||||
|
dlHash: bebc68811fdb8842a4f1e3b1bfeaea4944b6f591a3fcfd663125d342f1616553
|
||||||
|
dlOutput: ghc-9.8.0.20230727-x86_64-linux-fedora33.tar.xz
|
||||||
|
dlSubdir: ghc-9.8.0.20230727-x86_64-unknown-linux
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.8.0.20230727/ghc-9.8.0.20230727-x86_64-fedora33-linux.tar.xz
|
||||||
|
unknown_versioning: *ghc-981alpha1-centos7
|
||||||
|
Linux_Mint:
|
||||||
|
< 20: &ghc-981alpha1-ubuntu18_04
|
||||||
|
dlHash: c1ac2d98c45e3f5d72266c219cd934fde75863b2211a649f235aaba420dc0fc3
|
||||||
|
dlOutput: ghc-9.8.0.20230727-x86_64-linux-ubuntu18_04.tar.xz
|
||||||
|
dlSubdir: ghc-9.8.0.20230727-x86_64-unknown-linux
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.8.0.20230727/ghc-9.8.0.20230727-x86_64-ubuntu18_04-linux.tar.xz
|
||||||
|
'>= 20': &ghc-981alpha1-ubuntu20_04
|
||||||
|
dlHash: 85a19008f189aeeb43588ce53b8d4daa67878fc0cb8f8ba35fb6da03618df93b
|
||||||
|
dlOutput: ghc-9.8.0.20230727-x86_64-linux-ubuntu20_04.tar.xz
|
||||||
|
dlSubdir: ghc-9.8.0.20230727-x86_64-unknown-linux
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.8.0.20230727/ghc-9.8.0.20230727-x86_64-ubuntu20_04-linux.tar.xz
|
||||||
|
Linux_RedHat:
|
||||||
|
unknown_versioning: *ghc-981alpha1-centos7
|
||||||
|
Linux_Ubuntu:
|
||||||
|
( >= 16 && < 19 ): *ghc-981alpha1-ubuntu18_04
|
||||||
|
unknown_versioning: *ghc-981alpha1-ubuntu20_04
|
||||||
|
Linux_UnknownLinux:
|
||||||
|
unknown_versioning:
|
||||||
|
dlHash: 2826d7d7e2c27ee181247a39c47713be13927b13cbca8f8ddef195e7d4e3a420
|
||||||
|
dlOutput: ghc-9.8.0.20230727-x86_64-linux-rocky8.tar.xz
|
||||||
|
dlSubdir: ghc-9.8.0.20230727-x86_64-unknown-linux
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.8.0.20230727/ghc-9.8.0.20230727-x86_64-rocky8-linux.tar.xz
|
||||||
|
Windows:
|
||||||
|
unknown_versioning:
|
||||||
|
dlHash: 2d0ca3c379ea7fb993c216d5c5b1012fd7f1543ee1456cc26da0cc8d3f3e88d6
|
||||||
|
dlOutput: ghc-9.8.0.20230727-x86_64-windows.tar.xz
|
||||||
|
dlSubdir: ghc-9.8.0.20230727-x86_64-unknown-mingw32
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.8.0.20230727/ghc-9.8.0.20230727-x86_64-unknown-mingw32.tar.xz
|
||||||
|
A_ARM64:
|
||||||
|
Darwin:
|
||||||
|
unknown_versioning:
|
||||||
|
dlHash: 5237872cfe7b3dcd5c682364d2940417e953eb9de26a5a72b3035fec8071c970
|
||||||
|
dlOutput: ghc-9.8.0.20230727-aarch64-darwin.tar.xz
|
||||||
|
dlSubdir: ghc-9.8.0.20230727-aarch64-apple-darwin
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.8.0.20230727/ghc-9.8.0.20230727-aarch64-apple-darwin.tar.xz
|
||||||
|
Linux_UnknownLinux:
|
||||||
|
unknown_versioning:
|
||||||
|
dlHash: a4b4bd1673e30404ea7cd2ce82188ba8db9406c7ee0f89ead0a1ad92d410b9e8
|
||||||
|
dlOutput: ghc-9.8.0.20230727-aarch64-linux-deb10.tar.xz
|
||||||
|
dlSubdir: ghc-9.8.0.20230727-aarch64-unknown-linux
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.8.0.20230727/ghc-9.8.0.20230727-aarch64-deb10-linux.tar.xz
|
||||||
|
viChangeLog: https://downloads.haskell.org/~ghc/9.8.0.20230727/docs/users_guide/9.8.1-notes.html
|
||||||
|
viReleaseDay: '2023-07-28'
|
||||||
|
viSourceDL:
|
||||||
|
dlHash: b8681dfc48ad27b0098c9838b2fc08e5e7bdfc80b1562170c5c6fabb3abfb15c
|
||||||
|
dlOutput: ghc-9.8.0.20230727-src.tar.xz
|
||||||
|
dlSubdir: ghc-9.8.0.20230727
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.8.0.20230727/ghc-9.8.0.20230727-src.tar.xz
|
||||||
|
viTags:
|
||||||
|
- Prerelease
|
||||||
|
- base-4.19.0.0
|
||||||
|
viTestDL:
|
||||||
|
dlHash: 2d4f0aff6fb4c5b0bbab014e4efa1c1e66203c4c08c6805bfd9ac26a31e2891d
|
||||||
|
dlOutput: ghc-9.8.0.20230727-testsuite.tar.xz
|
||||||
|
dlSubdir: ghc-9.8.0.20230727
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.8.0.20230727/ghc-9.8.0.20230727-src.tar.xz
|
||||||
|
9.8.0.20230809:
|
||||||
|
viArch:
|
||||||
|
A_32:
|
||||||
|
Linux_Debian:
|
||||||
|
unknown_versioning: &ghc-981alpha2-deb10
|
||||||
|
dlHash: 5b2cd7f15cf29a06f7949848f6a5ef10416c09b46ce37f8880779b6d3b16c7c6
|
||||||
|
dlOutput: ghc-9.8.0.20230809-i386-linux-deb10.tar.xz
|
||||||
|
dlSubdir: ghc-9.8.0.20230809-i386-unknown-linux
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.8.0.20230809/ghc-9.8.0.20230809-i386-deb10-linux.tar.xz
|
||||||
|
Linux_Mint:
|
||||||
|
unknown_versioning: *ghc-981alpha2-deb10
|
||||||
|
Linux_Ubuntu:
|
||||||
|
unknown_versioning: *ghc-981alpha2-deb10
|
||||||
|
Linux_UnknownLinux:
|
||||||
|
unknown_versioning: *ghc-981alpha2-deb10
|
||||||
|
A_64:
|
||||||
|
Darwin:
|
||||||
|
unknown_versioning:
|
||||||
|
dlHash: a79be24458450fc0e086f19d00bced8aed6762461b49830db58803fa2becc0dd
|
||||||
|
dlOutput: ghc-9.8.0.20230809-x86_64-darwin.tar.xz
|
||||||
|
dlSubdir: ghc-9.8.0.20230809-x86_64-apple-darwin
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.8.0.20230809/ghc-9.8.0.20230809-x86_64-apple-darwin.tar.xz
|
||||||
|
Linux_Alpine:
|
||||||
|
unknown_versioning:
|
||||||
|
dlHash: 1d527af03de4d0a268704c8326e437c93e5314c84579023e493bcc91838dcc65
|
||||||
|
dlOutput: ghc-9.8.0.20230809-x86_64-linux-alpine3_12.tar.xz
|
||||||
|
dlSubdir: ghc-9.8.0.20230809-x86_64-unknown-linux
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.8.0.20230809/ghc-9.8.0.20230809-x86_64-alpine3_12-linux.tar.xz
|
||||||
|
Linux_CentOS:
|
||||||
|
( >= 7 && < 8 ): &ghc-981alpha2-centos7
|
||||||
|
dlHash: d4f440ec11082f94a4688f0f1546b8cb1098a08a65a8351de5a621411c8b4260
|
||||||
|
dlOutput: ghc-9.8.0.20230809-x86_64-linux-centos7.tar.xz
|
||||||
|
dlSubdir: ghc-9.8.0.20230809-x86_64-unknown-linux
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.8.0.20230809/ghc-9.8.0.20230809-x86_64-centos7-linux.tar.xz
|
||||||
|
unknown_versioning: *ghc-981alpha2-centos7
|
||||||
|
Linux_Debian:
|
||||||
|
(>= 10 && < 11):
|
||||||
|
dlHash: 320a36406ecd9603af6676589b97341cab136808c346294a43e5f5c3408b7074
|
||||||
|
dlOutput: ghc-9.8.0.20230809-x86_64-linux-deb10.tar.xz
|
||||||
|
dlSubdir: ghc-9.8.0.20230809-x86_64-unknown-linux
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.8.0.20230809/ghc-9.8.0.20230809-x86_64-deb10-linux.tar.xz
|
||||||
|
< 10:
|
||||||
|
dlHash: 05e237580ce0afa5a6fddc0800555fac9115eaaed825e3e7d7f8de8ac9f7470b
|
||||||
|
dlOutput: ghc-9.8.0.20230809-x86_64-linux-deb9.tar.xz
|
||||||
|
dlSubdir: ghc-9.8.0.20230809-x86_64-unknown-linux
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.8.0.20230809/ghc-9.8.0.20230809-x86_64-deb9-linux.tar.xz
|
||||||
|
'>= 11': &ghc-981alpha2-deb11
|
||||||
|
dlHash: 3b9b5c7b52803d4dba852f41ef250f95a017db9d03bc2aef6382e2f6e553cd11
|
||||||
|
dlOutput: ghc-9.8.0.20230809-x86_64-linux-deb11.tar.xz
|
||||||
|
dlSubdir: ghc-9.8.0.20230809-x86_64-unknown-linux
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.8.0.20230809/ghc-9.8.0.20230809-x86_64-deb11-linux.tar.xz
|
||||||
|
unknown_versioning: *ghc-981alpha2-deb11
|
||||||
|
Linux_Fedora:
|
||||||
|
'>= 33':
|
||||||
|
dlHash: 8888305ff7083708e1eb2bf221ce6bba81b1431440e875f698e39cde504a4973
|
||||||
|
dlOutput: ghc-9.8.0.20230809-x86_64-linux-fedora33.tar.xz
|
||||||
|
dlSubdir: ghc-9.8.0.20230809-x86_64-unknown-linux
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.8.0.20230809/ghc-9.8.0.20230809-x86_64-fedora33-linux.tar.xz
|
||||||
|
unknown_versioning: *ghc-981alpha2-centos7
|
||||||
|
Linux_Mint:
|
||||||
|
< 20: &ghc-981alpha2-ubuntu18_04
|
||||||
|
dlHash: b43d87d1dddd3ff9e5243d1bc8d6dbef7f13a1ac24face6b5e5576614b272e00
|
||||||
|
dlOutput: ghc-9.8.0.20230809-x86_64-linux-ubuntu18_04.tar.xz
|
||||||
|
dlSubdir: ghc-9.8.0.20230809-x86_64-unknown-linux
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.8.0.20230809/ghc-9.8.0.20230809-x86_64-ubuntu18_04-linux.tar.xz
|
||||||
|
'>= 20': &ghc-981alpha2-ubuntu20_04
|
||||||
|
dlHash: dad1796ddcec29b3bb090d8dd97fb4e95d29d4d1be0adbda1e1e55829eddb074
|
||||||
|
dlOutput: ghc-9.8.0.20230809-x86_64-linux-ubuntu20_04.tar.xz
|
||||||
|
dlSubdir: ghc-9.8.0.20230809-x86_64-unknown-linux
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.8.0.20230809/ghc-9.8.0.20230809-x86_64-ubuntu20_04-linux.tar.xz
|
||||||
|
Linux_RedHat:
|
||||||
|
unknown_versioning: *ghc-981alpha2-centos7
|
||||||
|
Linux_Ubuntu:
|
||||||
|
( >= 16 && < 19 ): *ghc-981alpha2-ubuntu18_04
|
||||||
|
unknown_versioning: *ghc-981alpha2-ubuntu20_04
|
||||||
|
Linux_UnknownLinux:
|
||||||
|
unknown_versioning:
|
||||||
|
dlHash: f49639a2a36e773e2293954b267f9e6d8cce0d8d800cd36863b0ad10ec6b9304
|
||||||
|
dlOutput: ghc-9.8.0.20230809-x86_64-linux-rocky8.tar.xz
|
||||||
|
dlSubdir: ghc-9.8.0.20230809-x86_64-unknown-linux
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.8.0.20230809/ghc-9.8.0.20230809-x86_64-rocky8-linux.tar.xz
|
||||||
|
Windows:
|
||||||
|
unknown_versioning:
|
||||||
|
dlHash: eadf5f37adf2ed127c896035908a1b25c0a9cd8d1b2706feb9cde44d453fe911
|
||||||
|
dlOutput: ghc-9.8.0.20230809-x86_64-windows.tar.xz
|
||||||
|
dlSubdir: ghc-9.8.0.20230809-x86_64-unknown-mingw32
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.8.0.20230809/ghc-9.8.0.20230809-x86_64-unknown-mingw32.tar.xz
|
||||||
|
A_ARM64:
|
||||||
|
Darwin:
|
||||||
|
unknown_versioning:
|
||||||
|
dlHash: dcd2c76c790e0933c695d19df262eed179719eb9369e40f704c17d83ad468bb0
|
||||||
|
dlOutput: ghc-9.8.0.20230809-aarch64-darwin.tar.xz
|
||||||
|
dlSubdir: ghc-9.8.0.20230809-aarch64-apple-darwin
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.8.0.20230809/ghc-9.8.0.20230809-aarch64-apple-darwin.tar.xz
|
||||||
|
Linux_UnknownLinux:
|
||||||
|
unknown_versioning:
|
||||||
|
dlHash: fed0c4372f0288d62e41b4af379a8c4d18ad2f9792973246f3650395911361e9
|
||||||
|
dlOutput: ghc-9.8.0.20230809-aarch64-linux-deb10.tar.xz
|
||||||
|
dlSubdir: ghc-9.8.0.20230809-aarch64-unknown-linux
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.8.0.20230809/ghc-9.8.0.20230809-aarch64-deb10-linux.tar.xz
|
||||||
|
viChangeLog: https://downloads.haskell.org/~ghc/9.8.0.20230809/docs/users_guide/9.8.1-notes.html
|
||||||
|
viReleaseDay: '2023-08-09'
|
||||||
|
viSourceDL:
|
||||||
|
dlHash: ecef10e9796082eaf3f18ece67fe5fcfedfd0baa77d34c1f772e37aabda3fa1c
|
||||||
|
dlOutput: ghc-9.8.0.20230809-src.tar.xz
|
||||||
|
dlSubdir: ghc-9.8.0.20230809
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.8.0.20230809/ghc-9.8.0.20230809-src.tar.xz
|
||||||
|
viTags:
|
||||||
|
- Prerelease
|
||||||
|
- base-4.19.0.0
|
||||||
|
viTestDL:
|
||||||
|
dlHash: 17dbba39e6a20c5e8d509b57cc5e8f044dc326b4f3ccb1c43c97e8bb1362a6b0
|
||||||
|
dlOutput: ghc-9.8.0.20230809-testsuite.tar.xz
|
||||||
|
dlSubdir: ghc-9.8.0.20230809
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.8.0.20230809/ghc-9.8.0.20230809-src.tar.xz
|
||||||
|
9.8.0.20230822:
|
||||||
|
viArch:
|
||||||
|
A_32:
|
||||||
|
Linux_Debian:
|
||||||
|
unknown_versioning: &ghc-981alpha3-i386-deb10
|
||||||
|
dlHash: 9fe28ff810451b70539c04f3c291329df95dd043c77d80b749aa96e0c5b55d3d
|
||||||
|
dlOutput: ghc-9.8.0.20230822-i386-linux-deb10.tar.xz
|
||||||
|
dlSubdir: ghc-9.8.0.20230822-i386-unknown-linux
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.8.0.20230822/ghc-9.8.0.20230822-i386-deb10-linux.tar.xz
|
||||||
|
Linux_Mint:
|
||||||
|
unknown_versioning: *ghc-981alpha3-i386-deb10
|
||||||
|
Linux_Ubuntu:
|
||||||
|
unknown_versioning: *ghc-981alpha3-i386-deb10
|
||||||
|
Linux_UnknownLinux:
|
||||||
|
unknown_versioning: *ghc-981alpha3-i386-deb10
|
||||||
|
A_64:
|
||||||
|
Darwin:
|
||||||
|
unknown_versioning:
|
||||||
|
dlHash: b2416c7f0379a95c10c15825d65bb7eea73061047fbd3c5a1fa0064d6befd90b
|
||||||
|
dlOutput: ghc-9.8.0.20230822-x86_64-darwin.tar.xz
|
||||||
|
dlSubdir: ghc-9.8.0.20230822-x86_64-apple-darwin
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.8.0.20230822/ghc-9.8.0.20230822-x86_64-apple-darwin.tar.xz
|
||||||
|
Linux_Alpine:
|
||||||
|
unknown_versioning:
|
||||||
|
dlHash: 7f040a364bf05c9b59e9a1bccdd07f41d0940185c1cda21e3448b94ed2eee712
|
||||||
|
dlOutput: ghc-9.8.0.20230822-x86_64-linux-alpine3_12.tar.xz
|
||||||
|
dlSubdir: ghc-9.8.0.20230822-x86_64-unknown-linux
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.8.0.20230822/ghc-9.8.0.20230822-x86_64-alpine3_12-linux.tar.xz
|
||||||
|
Linux_CentOS:
|
||||||
|
( >= 7 && < 8 ): &ghc-981alpha3-x86_64-centos7
|
||||||
|
dlHash: 93daa75fafa1a368c5670f87196c73cd1e0163959d364c2e09439ea51bca2eac
|
||||||
|
dlOutput: ghc-9.8.0.20230822-x86_64-linux-centos7.tar.xz
|
||||||
|
dlSubdir: ghc-9.8.0.20230822-x86_64-unknown-linux
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.8.0.20230822/ghc-9.8.0.20230822-x86_64-centos7-linux.tar.xz
|
||||||
|
unknown_versioning: *ghc-981alpha3-x86_64-centos7
|
||||||
|
Linux_Debian:
|
||||||
|
(>= 10 && < 11):
|
||||||
|
dlHash: 43476b66770d4dc2fbf965fb993698b2d584dd387dc8587c227c8438c57f6554
|
||||||
|
dlOutput: ghc-9.8.0.20230822-x86_64-linux-deb10.tar.xz
|
||||||
|
dlSubdir: ghc-9.8.0.20230822-x86_64-unknown-linux
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.8.0.20230822/ghc-9.8.0.20230822-x86_64-deb10-linux.tar.xz
|
||||||
|
< 10:
|
||||||
|
dlHash: 80af241b32ada812bda38a32ccf242d31ee44fd1299c9d6671901d212511df8d
|
||||||
|
dlOutput: ghc-9.8.0.20230822-x86_64-linux-deb9.tar.xz
|
||||||
|
dlSubdir: ghc-9.8.0.20230822-x86_64-unknown-linux
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.8.0.20230822/ghc-9.8.0.20230822-x86_64-deb9-linux.tar.xz
|
||||||
|
'>= 11': &ghc-981alpha3-x86_64-deb11
|
||||||
|
dlHash: 71af16bfff1eba0724b73e14b65aa884409e8e9bfc93420cf0ef6a2a1339333d
|
||||||
|
dlOutput: ghc-9.8.0.20230822-x86_64-linux-deb11.tar.xz
|
||||||
|
dlSubdir: ghc-9.8.0.20230822-x86_64-unknown-linux
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.8.0.20230822/ghc-9.8.0.20230822-x86_64-deb11-linux.tar.xz
|
||||||
|
unknown_versioning: *ghc-981alpha3-x86_64-deb11
|
||||||
|
Linux_Fedora:
|
||||||
|
'>= 33':
|
||||||
|
dlHash: 8fa498fd050bd1a69cc92a1a294feff7f8d538e7161a9b457a2db41e759bcd69
|
||||||
|
dlOutput: ghc-9.8.0.20230822-x86_64-linux-fedora33.tar.xz
|
||||||
|
dlSubdir: ghc-9.8.0.20230822-x86_64-unknown-linux
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.8.0.20230822/ghc-9.8.0.20230822-x86_64-fedora33-linux.tar.xz
|
||||||
|
unknown_versioning: *ghc-981alpha3-x86_64-centos7
|
||||||
|
Linux_Mint:
|
||||||
|
< 20: &ghc-981alpha3-x86_64-ubuntu18_04
|
||||||
|
dlHash: d813b051e5ec8c95bac500d69b292ddba1a3e8eb84d6b0f5df396948c9ecb932
|
||||||
|
dlOutput: ghc-9.8.0.20230822-x86_64-linux-ubuntu18_04.tar.xz
|
||||||
|
dlSubdir: ghc-9.8.0.20230822-x86_64-unknown-linux
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.8.0.20230822/ghc-9.8.0.20230822-x86_64-ubuntu18_04-linux.tar.xz
|
||||||
|
'>= 20': &ghc-981alpha3-x86_64-ubuntu20_04
|
||||||
|
dlHash: 85e1861fc6e27133bf546d1dbd07780fb4b93e6d8b4bac273ceeded4b88dbe3b
|
||||||
|
dlOutput: ghc-9.8.0.20230822-x86_64-linux-ubuntu20_04.tar.xz
|
||||||
|
dlSubdir: ghc-9.8.0.20230822-x86_64-unknown-linux
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.8.0.20230822/ghc-9.8.0.20230822-x86_64-ubuntu20_04-linux.tar.xz
|
||||||
|
Linux_RedHat:
|
||||||
|
unknown_versioning: *ghc-981alpha3-x86_64-centos7
|
||||||
|
Linux_Ubuntu:
|
||||||
|
( >= 16 && < 19 ): *ghc-981alpha3-x86_64-ubuntu18_04
|
||||||
|
unknown_versioning: *ghc-981alpha3-x86_64-ubuntu20_04
|
||||||
|
Linux_UnknownLinux:
|
||||||
|
unknown_versioning:
|
||||||
|
dlHash: 8f7ba76ddf96e342ef0f62040c5047c2c36b2a62f401b4b1f750e83451d37ace
|
||||||
|
dlOutput: ghc-9.8.0.20230822-x86_64-linux-rocky8.tar.xz
|
||||||
|
dlSubdir: ghc-9.8.0.20230822-x86_64-unknown-linux
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.8.0.20230822/ghc-9.8.0.20230822-x86_64-rocky8-linux.tar.xz
|
||||||
|
Windows:
|
||||||
|
unknown_versioning:
|
||||||
|
dlHash: bf0828caee2e2ba539bf65956844c56fd012ef5981e88a426f87ef0a5257314a
|
||||||
|
dlOutput: ghc-9.8.0.20230822-x86_64-windows.tar.xz
|
||||||
|
dlSubdir: ghc-9.8.0.20230822-x86_64-unknown-mingw32
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.8.0.20230822/ghc-9.8.0.20230822-x86_64-unknown-mingw32.tar.xz
|
||||||
|
A_ARM64:
|
||||||
|
Darwin:
|
||||||
|
unknown_versioning:
|
||||||
|
dlHash: 1ddd59dae0c03577521c15404f3e928cd906e840165ef4cebd3976ae5f06063d
|
||||||
|
dlOutput: ghc-9.8.0.20230822-aarch64-darwin.tar.xz
|
||||||
|
dlSubdir: ghc-9.8.0.20230822-aarch64-apple-darwin
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.8.0.20230822/ghc-9.8.0.20230822-aarch64-apple-darwin.tar.xz
|
||||||
|
Linux_UnknownLinux:
|
||||||
|
unknown_versioning:
|
||||||
|
dlHash: 4190475a930f0e85405095a34f2936d25af81b2e1a6efa5709eb52a82adc6014
|
||||||
|
dlOutput: ghc-9.8.0.20230822-aarch64-linux-deb10.tar.xz
|
||||||
|
dlSubdir: ghc-9.8.0.20230822-aarch64-unknown-linux
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.8.0.20230822/ghc-9.8.0.20230822-aarch64-deb10-linux.tar.xz
|
||||||
|
viChangeLog: https://downloads.haskell.org/~ghc/9.8.0.20230822/docs/users_guide/9.8.1-notes.html
|
||||||
|
viReleaseDay: '2023-08-23'
|
||||||
|
viSourceDL:
|
||||||
|
dlHash: 50d4d01b6f5f5a6689d176af7cdb521bfff50104576c153146bbcb40157bcb93
|
||||||
|
dlOutput: ghc-9.8.0.20230822-src.tar.xz
|
||||||
|
dlSubdir: ghc-9.8.0.20230822
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.8.0.20230822/ghc-9.8.0.20230822-src.tar.xz
|
||||||
|
viTags:
|
||||||
|
- Prerelease
|
||||||
|
- base-4.19.0.0
|
||||||
|
viTestDL:
|
||||||
|
dlHash: ec7da92a3a9c531bae1e392eb2ddc012463537c01b129ef4a040d6640ff3af1b
|
||||||
|
dlOutput: ghc-9.8.0.20230822-testsuite.tar.xz
|
||||||
|
dlSubdir: ghc-9.8.0.20230822
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.8.0.20230822/ghc-9.8.0.20230822-src.tar.xz
|
||||||
|
9.8.0.20230919:
|
||||||
|
viArch:
|
||||||
|
A_32:
|
||||||
|
Linux_Debian:
|
||||||
|
unknown_versioning: &ghc-981alpha4-i386-deb10
|
||||||
|
dlHash: 88f244968da87b233003b04790240f911fafce5a4281a0485e9ff73b4ee23c68
|
||||||
|
dlOutput: ghc-9.8.0.20230919-i386-linux-deb10.tar.xz
|
||||||
|
dlSubdir: ghc-9.8.0.20230919-i386-unknown-linux
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.8.0.20230919/ghc-9.8.0.20230919-i386-deb10-linux.tar.xz
|
||||||
|
Linux_Mint:
|
||||||
|
unknown_versioning: *ghc-981alpha4-i386-deb10
|
||||||
|
Linux_Ubuntu:
|
||||||
|
unknown_versioning: *ghc-981alpha4-i386-deb10
|
||||||
|
Linux_UnknownLinux:
|
||||||
|
unknown_versioning: *ghc-981alpha4-i386-deb10
|
||||||
|
A_64:
|
||||||
|
Darwin:
|
||||||
|
unknown_versioning:
|
||||||
|
dlHash: 6adc4644488ae6d9ae27a0efd94e766abe3dbb26699a66d09a29abd88b6d0cb2
|
||||||
|
dlOutput: ghc-9.8.0.20230919-x86_64-darwin.tar.xz
|
||||||
|
dlSubdir: ghc-9.8.0.20230919-x86_64-apple-darwin
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.8.0.20230919/ghc-9.8.0.20230919-x86_64-apple-darwin.tar.xz
|
||||||
|
Linux_Alpine:
|
||||||
|
unknown_versioning:
|
||||||
|
dlHash: 5f674d95454036d8b166ec45a4d3efd23ded75eb543838aaafff23a06f9316ba
|
||||||
|
dlOutput: ghc-9.8.0.20230919-x86_64-linux-alpine3_12.tar.xz
|
||||||
|
dlSubdir: ghc-9.8.0.20230919-x86_64-unknown-linux
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.8.0.20230919/ghc-9.8.0.20230919-x86_64-alpine3_12-linux.tar.xz
|
||||||
|
Linux_CentOS:
|
||||||
|
( >= 7 && < 8 ): &ghc-981alpha4-x86_64-centos7
|
||||||
|
dlHash: 1a65f5dcecd8412ab14bcc355a1e7d697df559d44141b5a32d37d72c5b1e2d02
|
||||||
|
dlOutput: ghc-9.8.0.20230919-x86_64-linux-centos7.tar.xz
|
||||||
|
dlSubdir: ghc-9.8.0.20230919-x86_64-unknown-linux
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.8.0.20230919/ghc-9.8.0.20230919-x86_64-centos7-linux.tar.xz
|
||||||
|
unknown_versioning: *ghc-981alpha4-x86_64-centos7
|
||||||
|
Linux_Debian:
|
||||||
|
(>= 10 && < 11):
|
||||||
|
dlHash: 419383fc8d1635afe465ebcfa671b42cc7a82c1fe3c483b6044e4b50b8614755
|
||||||
|
dlOutput: ghc-9.8.0.20230919-x86_64-linux-deb10.tar.xz
|
||||||
|
dlSubdir: ghc-9.8.0.20230919-x86_64-unknown-linux
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.8.0.20230919/ghc-9.8.0.20230919-x86_64-deb10-linux.tar.xz
|
||||||
|
< 10:
|
||||||
|
dlHash: 341b7e88009362a2d8b3eb81052ba6c260cb6d959c814faab25b41c328a4d87c
|
||||||
|
dlOutput: ghc-9.8.0.20230919-x86_64-linux-deb9.tar.xz
|
||||||
|
dlSubdir: ghc-9.8.0.20230919-x86_64-unknown-linux
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.8.0.20230919/ghc-9.8.0.20230919-x86_64-deb9-linux.tar.xz
|
||||||
|
'>= 11': &ghc-981alpha4-x86_64-deb11
|
||||||
|
dlHash: 50198d80873395079b24bdb0b31036b5b59f682808b7d20494afc5e4d2f2aaee
|
||||||
|
dlOutput: ghc-9.8.0.20230919-x86_64-linux-deb11.tar.xz
|
||||||
|
dlSubdir: ghc-9.8.0.20230919-x86_64-unknown-linux
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.8.0.20230919/ghc-9.8.0.20230919-x86_64-deb11-linux.tar.xz
|
||||||
|
unknown_versioning: *ghc-981alpha4-x86_64-deb11
|
||||||
|
Linux_Fedora:
|
||||||
|
'>= 33':
|
||||||
|
dlHash: d8402e08cc845e8d543716b317e2ed3797c003df928bdd71f2d8236742f14abf
|
||||||
|
dlOutput: ghc-9.8.0.20230919-x86_64-linux-fedora33.tar.xz
|
||||||
|
dlSubdir: ghc-9.8.0.20230919-x86_64-unknown-linux
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.8.0.20230919/ghc-9.8.0.20230919-x86_64-fedora33-linux.tar.xz
|
||||||
|
unknown_versioning: *ghc-981alpha4-x86_64-centos7
|
||||||
|
Linux_Mint:
|
||||||
|
< 20: &ghc-981alpha4-x86_64-ubuntu18_04
|
||||||
|
dlHash: 56243debd1a8f618650ec5ed786d7be9613a39bcc3a1ae77678f5fc21c6e532c
|
||||||
|
dlOutput: ghc-9.8.0.20230919-x86_64-linux-ubuntu18_04.tar.xz
|
||||||
|
dlSubdir: ghc-9.8.0.20230919-x86_64-unknown-linux
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.8.0.20230919/ghc-9.8.0.20230919-x86_64-ubuntu18_04-linux.tar.xz
|
||||||
|
'>= 20': &ghc-981alpha4-x86_64-ubuntu20_04
|
||||||
|
dlHash: b3abe2377561e8df7f49ec84d2d54b227d54c890b8173d2e7bb9b127472b7219
|
||||||
|
dlOutput: ghc-9.8.0.20230919-x86_64-linux-ubuntu20_04.tar.xz
|
||||||
|
dlSubdir: ghc-9.8.0.20230919-x86_64-unknown-linux
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.8.0.20230919/ghc-9.8.0.20230919-x86_64-ubuntu20_04-linux.tar.xz
|
||||||
|
Linux_RedHat:
|
||||||
|
unknown_versioning: *ghc-981alpha4-x86_64-centos7
|
||||||
|
Linux_Ubuntu:
|
||||||
|
( >= 16 && < 19 ): *ghc-981alpha4-x86_64-ubuntu18_04
|
||||||
|
unknown_versioning: *ghc-981alpha4-x86_64-ubuntu20_04
|
||||||
|
Linux_UnknownLinux:
|
||||||
|
unknown_versioning:
|
||||||
|
dlHash: 4d5056175fb85e587d8fa1d3c6b1aeda3b4a923c45a39f749cf4bf39bc2cb6bf
|
||||||
|
dlOutput: ghc-9.8.0.20230919-x86_64-linux-rocky8.tar.xz
|
||||||
|
dlSubdir: ghc-9.8.0.20230919-x86_64-unknown-linux
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.8.0.20230919/ghc-9.8.0.20230919-x86_64-rocky8-linux.tar.xz
|
||||||
|
Windows:
|
||||||
|
unknown_versioning:
|
||||||
|
dlHash: 1f5f09184a0514e51944268784f6fcf74d991441d9476ba64ae9eb4d001263af
|
||||||
|
dlOutput: ghc-9.8.0.20230919-x86_64-windows.tar.xz
|
||||||
|
dlSubdir: ghc-9.8.0.20230919-x86_64-unknown-mingw32
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.8.0.20230919/ghc-9.8.0.20230919-x86_64-unknown-mingw32.tar.xz
|
||||||
|
A_ARM64:
|
||||||
|
Darwin:
|
||||||
|
unknown_versioning:
|
||||||
|
dlHash: a63a1c3c9990bb82b3ff5e461320e26ad54ee625648cdb7dc6d08898bdc8a107
|
||||||
|
dlOutput: ghc-9.8.0.20230919-aarch64-darwin.tar.xz
|
||||||
|
dlSubdir: ghc-9.8.0.20230919-aarch64-apple-darwin
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.8.0.20230919/ghc-9.8.0.20230919-aarch64-apple-darwin.tar.xz
|
||||||
|
Linux_UnknownLinux:
|
||||||
|
unknown_versioning:
|
||||||
|
dlHash: 441c644b1b0cbb2b9a80facfd92f7ecda41a106a321c4e3a0042853259f7c149
|
||||||
|
dlOutput: ghc-9.8.0.20230919-aarch64-linux-deb10.tar.xz
|
||||||
|
dlSubdir: ghc-9.8.0.20230919-aarch64-unknown-linux
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.8.0.20230919/ghc-9.8.0.20230919-aarch64-deb10-linux.tar.xz
|
||||||
|
viChangeLog: https://downloads.haskell.org/~ghc/9.8.0.20230919/docs/users_guide/9.8.1-notes.html
|
||||||
|
viReleaseDay: '2023-09-19'
|
||||||
|
viSourceDL:
|
||||||
|
dlHash: bdfae30cb13704ddfde0ee9d2d3196a8e1bef945d6efada68c3819a02084839f
|
||||||
|
dlOutput: ghc-9.8.0.20230919-src.tar.xz
|
||||||
|
dlSubdir: ghc-9.8.0.20230919
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.8.0.20230919/ghc-9.8.0.20230919-src.tar.xz
|
||||||
|
viTags:
|
||||||
|
- Prerelease
|
||||||
|
- base-4.19.0.0
|
||||||
|
viTestDL:
|
||||||
|
dlHash: a586567b51ce856d15cc4bdde2316aa0aaf7381d80896d2fdcc4f13757b303e6
|
||||||
|
dlOutput: ghc-9.8.0.20230919-testsuite.tar.xz
|
||||||
|
dlSubdir: ghc-9.8.0.20230919
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.8.0.20230919/ghc-9.8.0.20230919-src.tar.xz
|
||||||
|
|
||||||
|
9.8.0.20230929:
|
||||||
|
viArch:
|
||||||
|
A_32:
|
||||||
|
Linux_Debian:
|
||||||
|
unknown_versioning: &ghc-981rc1-i386-deb10
|
||||||
|
dlHash: 972ecaadafff7d4a65fa5c328d4f9b5210001c75534f3ba123fe51039643ab09
|
||||||
|
dlOutput: ghc-9.8.0.20230929-i386-linux-deb10.tar.xz
|
||||||
|
dlSubdir: ghc-9.8.0.20230929-i386-unknown-linux
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.8.0.20230929/ghc-9.8.0.20230929-i386-deb10-linux.tar.xz
|
||||||
|
Linux_Mint:
|
||||||
|
unknown_versioning: *ghc-981rc1-i386-deb10
|
||||||
|
Linux_Ubuntu:
|
||||||
|
unknown_versioning: *ghc-981rc1-i386-deb10
|
||||||
|
Linux_UnknownLinux:
|
||||||
|
unknown_versioning: *ghc-981rc1-i386-deb10
|
||||||
|
A_64:
|
||||||
|
Darwin:
|
||||||
|
unknown_versioning:
|
||||||
|
dlHash: 95ff4a6fe3202e14311bfd22b2ef166d47e8cc8a848cf9cfd5d66734e4dac919
|
||||||
|
dlOutput: ghc-9.8.0.20230929-x86_64-darwin.tar.xz
|
||||||
|
dlSubdir: ghc-9.8.0.20230929-x86_64-apple-darwin
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.8.0.20230929/ghc-9.8.0.20230929-x86_64-apple-darwin.tar.xz
|
||||||
|
Linux_Alpine:
|
||||||
|
unknown_versioning:
|
||||||
|
dlHash: 4f73dbe0967d831252744d59a238d4a49aa474ea04b4cc8683fe06847f6b071d
|
||||||
|
dlOutput: ghc-9.8.0.20230929-x86_64-linux-alpine3_12.tar.xz
|
||||||
|
dlSubdir: ghc-9.8.0.20230929-x86_64-unknown-linux
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.8.0.20230929/ghc-9.8.0.20230929-x86_64-alpine3_12-linux.tar.xz
|
||||||
|
Linux_CentOS:
|
||||||
|
( >= 7 && < 8 ): &ghc-981rc1-x86_64-centos7
|
||||||
|
dlHash: ca3526b013b9889f4b43074dcdb0cc213facb55db9f0e6de9c2365bb0365b664
|
||||||
|
dlOutput: ghc-9.8.0.20230929-x86_64-linux-centos7.tar.xz
|
||||||
|
dlSubdir: ghc-9.8.0.20230929-x86_64-unknown-linux
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.8.0.20230929/ghc-9.8.0.20230929-x86_64-centos7-linux.tar.xz
|
||||||
|
unknown_versioning: *ghc-981rc1-x86_64-centos7
|
||||||
|
Linux_Debian:
|
||||||
|
(>= 10 && < 11):
|
||||||
|
dlHash: abd39667c4227614c3f2c6a58a911837eb08f2664ca8dcc06389f6e2fe88d576
|
||||||
|
dlOutput: ghc-9.8.0.20230929-x86_64-linux-deb10.tar.xz
|
||||||
|
dlSubdir: ghc-9.8.0.20230929-x86_64-unknown-linux
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.8.0.20230929/ghc-9.8.0.20230929-x86_64-deb10-linux.tar.xz
|
||||||
|
< 10:
|
||||||
|
dlHash: 9d5c85c58b4f35125c6ff62974e935d035ff42ef7e4bb366007982127f9b4312
|
||||||
|
dlOutput: ghc-9.8.0.20230929-x86_64-linux-deb9.tar.xz
|
||||||
|
dlSubdir: ghc-9.8.0.20230929-x86_64-unknown-linux
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.8.0.20230929/ghc-9.8.0.20230929-x86_64-deb9-linux.tar.xz
|
||||||
|
'>= 11': &ghc-981rc1-x86_64-deb11
|
||||||
|
dlHash: 4be779e74afb510de27f7d9ed3b2a63044e678d2bdf8356a42f2232dcd4bc332
|
||||||
|
dlOutput: ghc-9.8.0.20230929-x86_64-linux-deb11.tar.xz
|
||||||
|
dlSubdir: ghc-9.8.0.20230929-x86_64-unknown-linux
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.8.0.20230929/ghc-9.8.0.20230929-x86_64-deb11-linux.tar.xz
|
||||||
|
unknown_versioning: *ghc-981rc1-x86_64-deb11
|
||||||
|
Linux_Fedora:
|
||||||
|
'>= 33':
|
||||||
|
dlHash: a85cfaee4b3d3a9900282a01f473e5520e31c405cd3319a30a8ab06321cd90e0
|
||||||
|
dlOutput: ghc-9.8.0.20230929-x86_64-linux-fedora33.tar.xz
|
||||||
|
dlSubdir: ghc-9.8.0.20230929-x86_64-unknown-linux
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.8.0.20230929/ghc-9.8.0.20230929-x86_64-fedora33-linux.tar.xz
|
||||||
|
unknown_versioning: *ghc-981rc1-x86_64-centos7
|
||||||
|
Linux_Mint:
|
||||||
|
< 20: &ghc-981rc1-x86_64-ubuntu18_04
|
||||||
|
dlHash: d07a57858490dfa5ed1299939eacf068f52603b4ab55a5cc68b3fe19b0bb81da
|
||||||
|
dlOutput: ghc-9.8.0.20230929-x86_64-linux-ubuntu18_04.tar.xz
|
||||||
|
dlSubdir: ghc-9.8.0.20230929-x86_64-unknown-linux
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.8.0.20230929/ghc-9.8.0.20230929-x86_64-ubuntu18_04-linux.tar.xz
|
||||||
|
'>= 20': &ghc-981rc1-x86_64-ubuntu20_04
|
||||||
|
dlHash: 433e70733015c64fd967ee2f6c93ac519a0a72455463dac76030a8b2aa54c021
|
||||||
|
dlOutput: ghc-9.8.0.20230929-x86_64-linux-ubuntu20_04.tar.xz
|
||||||
|
dlSubdir: ghc-9.8.0.20230929-x86_64-unknown-linux
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.8.0.20230929/ghc-9.8.0.20230929-x86_64-ubuntu20_04-linux.tar.xz
|
||||||
|
Linux_RedHat:
|
||||||
|
unknown_versioning: *ghc-981rc1-x86_64-centos7
|
||||||
|
Linux_Ubuntu:
|
||||||
|
( >= 16 && < 19 ): *ghc-981rc1-x86_64-ubuntu18_04
|
||||||
|
unknown_versioning: *ghc-981rc1-x86_64-ubuntu20_04
|
||||||
|
Linux_UnknownLinux:
|
||||||
|
unknown_versioning:
|
||||||
|
dlHash: aaaeb2c1a0bc111676b240bb171e622532cafab2b8d9fb98da181d8df799cf32
|
||||||
|
dlOutput: ghc-9.8.0.20230929-x86_64-linux-rocky8.tar.xz
|
||||||
|
dlSubdir: ghc-9.8.0.20230929-x86_64-unknown-linux
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.8.0.20230929/ghc-9.8.0.20230929-x86_64-rocky8-linux.tar.xz
|
||||||
|
Windows:
|
||||||
|
unknown_versioning:
|
||||||
|
dlHash: 89960b8e52b21c455369025a6ba9f7445ad763cd8ea924771ef65052d3b0caf6
|
||||||
|
dlOutput: ghc-9.8.0.20230929-x86_64-windows.tar.xz
|
||||||
|
dlSubdir: ghc-9.8.0.20230929-x86_64-unknown-mingw32
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.8.0.20230929/ghc-9.8.0.20230929-x86_64-unknown-mingw32.tar.xz
|
||||||
|
A_ARM64:
|
||||||
|
Darwin:
|
||||||
|
unknown_versioning:
|
||||||
|
dlHash: 62f66aa167ff08e862549750511fe4c7a1b789ac82a1203e5154ddaa62e0a0e6
|
||||||
|
dlOutput: ghc-9.8.0.20230929-aarch64-darwin.tar.xz
|
||||||
|
dlSubdir: ghc-9.8.0.20230929-aarch64-apple-darwin
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.8.0.20230929/ghc-9.8.0.20230929-aarch64-apple-darwin.tar.xz
|
||||||
|
Linux_UnknownLinux:
|
||||||
|
unknown_versioning:
|
||||||
|
dlHash: cf212fc580fd881dbf80c8a2d7df355cc8728c94b8bab2217a3257247d4b459a
|
||||||
|
dlOutput: ghc-9.8.0.20230929-aarch64-linux-deb10.tar.xz
|
||||||
|
dlSubdir: ghc-9.8.0.20230929-aarch64-unknown-linux
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.8.0.20230929/ghc-9.8.0.20230929-aarch64-deb10-linux.tar.xz
|
||||||
|
viChangeLog: https://downloads.haskell.org/~ghc/9.8.0.20230929/docs/users_guide/9.8.1-notes.html
|
||||||
|
viReleaseDay: '2023-09-29'
|
||||||
|
viSourceDL:
|
||||||
|
dlHash: 93bda13ca9e612210147210c23c2d565b9a4cfafa0f4d8a033ec533a8d07fd4b
|
||||||
|
dlOutput: ghc-9.8.0.20230929-src.tar.xz
|
||||||
|
dlSubdir: ghc-9.8.0.20230929
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.8.0.20230929/ghc-9.8.0.20230929-src.tar.xz
|
||||||
|
viTags:
|
||||||
|
- LatestPrerelease
|
||||||
|
- base-4.19.0.0
|
||||||
|
viTestDL:
|
||||||
|
dlHash: b0afd2912ba91914519739907ede6008857871668a138829410d72948c3c359e
|
||||||
|
dlOutput: ghc-9.8.0.20230929-testsuite.tar.xz
|
||||||
|
dlSubdir: ghc-9.8.0.20230929
|
||||||
|
dlUri: https://downloads.haskell.org/~ghc/9.8.0.20230929/ghc-9.8.0.20230929-src.tar.xz
|
||||||
|
|
||||||
Stack:
|
Stack:
|
||||||
2.9.2.1:
|
2.9.2.1:
|
||||||
viTags:
|
viTags:
|
||||||
- LatestPrerelease
|
- Prerelease
|
||||||
viChangeLog: https://github.com/commercialhaskell/stack/blob/rc/v2.9/ChangeLog.md#v2921-release-candidate
|
- old
|
||||||
viArch:
|
viArch:
|
||||||
A_64:
|
A_64:
|
||||||
Linux_UnknownLinux:
|
Linux_UnknownLinux:
|
||||||
@@ -772,3 +1448,122 @@ ghcupDownloads:
|
|||||||
dlHash: 6e9f646ecd04892cf7edda11ff989abd885e29d05ad9f88d19e22afeb6e14275
|
dlHash: 6e9f646ecd04892cf7edda11ff989abd885e29d05ad9f88d19e22afeb6e14275
|
||||||
dlSubdir:
|
dlSubdir:
|
||||||
RegexDir: "stack-.*"
|
RegexDir: "stack-.*"
|
||||||
|
2.11.0.1:
|
||||||
|
viTags:
|
||||||
|
- Prerelease
|
||||||
|
- old
|
||||||
|
viChangeLog: https://github.com/commercialhaskell/stack/blob/rc/v2.11/ChangeLog.md#v21101-release-candidate
|
||||||
|
viArch:
|
||||||
|
A_64:
|
||||||
|
Linux_UnknownLinux:
|
||||||
|
unknown_versioning: &stack-21101-64
|
||||||
|
dlUri: https://github.com/commercialhaskell/stack/releases/download/rc/v2.11.0.1/stack-2.11.0.1-linux-x86_64-static.tar.gz
|
||||||
|
dlHash: 051bbb3333f2e235bbd9d1473d9a54ce73023a7899a0b03f954a1e2ced069df8
|
||||||
|
dlSubdir:
|
||||||
|
RegexDir: "stack-.*"
|
||||||
|
Darwin:
|
||||||
|
unknown_versioning:
|
||||||
|
dlUri: https://github.com/commercialhaskell/stack/releases/download/rc/v2.11.0.1/stack-2.11.0.1-osx-x86_64.tar.gz
|
||||||
|
dlHash: dfb7ae4f0efbd1e680701262f0c1e63cdaefdb2e21725669e690ef27c80fd185
|
||||||
|
dlSubdir:
|
||||||
|
RegexDir: "stack-.*"
|
||||||
|
Windows:
|
||||||
|
unknown_versioning:
|
||||||
|
dlUri: https://github.com/commercialhaskell/stack/releases/download/rc/v2.11.0.1/stack-2.11.0.1-windows-x86_64.tar.gz
|
||||||
|
dlHash: b22d747635aeab29aa2c194f34e05ddf2a770bc4790af62fc3c3175977ea4006
|
||||||
|
dlSubdir:
|
||||||
|
RegexDir: "stack-.*"
|
||||||
|
Linux_Alpine:
|
||||||
|
unknown_versioning: *stack-21101-64
|
||||||
|
A_ARM64:
|
||||||
|
Linux_UnknownLinux:
|
||||||
|
unknown_versioning:
|
||||||
|
dlUri: https://github.com/commercialhaskell/stack/releases/download/rc/v2.11.0.1/stack-2.11.0.1-linux-aarch64.tar.gz
|
||||||
|
dlHash: ca8c0032c572e54df1dda4ca8841ed55fea6735b445066888aac852612855688
|
||||||
|
dlSubdir:
|
||||||
|
RegexDir: "stack-.*"
|
||||||
|
Darwin:
|
||||||
|
unknown_versioning:
|
||||||
|
dlUri: https://downloads.haskell.org/~ghcup/unofficial-bindists/stack/2.11.0.1/stack-2.11.0.1-osx-aarch64.tar.gz
|
||||||
|
dlHash: 9c8f5bf26f768c5b0f7d44bd4617c2fd19ff278455d9fc5adc3384f57fdf4674
|
||||||
|
dlSubdir:
|
||||||
|
RegexDir: "stack-.*"
|
||||||
|
2.13.0.1:
|
||||||
|
viTags:
|
||||||
|
- Prerelease
|
||||||
|
- old
|
||||||
|
viChangeLog: https://github.com/commercialhaskell/stack/blob/rc/v2.13/ChangeLog.md#v21301-release-candidate
|
||||||
|
viArch:
|
||||||
|
A_64:
|
||||||
|
Linux_UnknownLinux:
|
||||||
|
unknown_versioning: &stack-21301-64
|
||||||
|
dlUri: https://github.com/commercialhaskell/stack/releases/download/rc/v2.13.0.1/stack-2.13.0.1-linux-x86_64.tar.gz
|
||||||
|
dlHash: 4be3b75468bf2679efde297d1030d1bf97769ea0bb726277ac3b0af6830805bf
|
||||||
|
dlSubdir:
|
||||||
|
RegexDir: "stack-.*"
|
||||||
|
Darwin:
|
||||||
|
unknown_versioning:
|
||||||
|
dlUri: https://github.com/commercialhaskell/stack/releases/download/rc/v2.13.0.1/stack-2.13.0.1-osx-x86_64.tar.gz
|
||||||
|
dlHash: 1e3a79b35b94cadf22e3c7bb44a06ed0776fb2fb11a06afef5bdad7e3dec6f1e
|
||||||
|
dlSubdir:
|
||||||
|
RegexDir: "stack-.*"
|
||||||
|
Windows:
|
||||||
|
unknown_versioning:
|
||||||
|
dlUri: https://github.com/commercialhaskell/stack/releases/download/rc/v2.13.0.1/stack-2.13.0.1-windows-x86_64.tar.gz
|
||||||
|
dlHash: d6710f3faeb7cc9ca05b71f1f98b0aad06835b0d04b5e82745afdc669b42446c
|
||||||
|
dlSubdir:
|
||||||
|
RegexDir: "stack-.*"
|
||||||
|
Linux_Alpine:
|
||||||
|
unknown_versioning: *stack-21301-64
|
||||||
|
A_ARM64:
|
||||||
|
Linux_UnknownLinux:
|
||||||
|
unknown_versioning:
|
||||||
|
dlUri: https://github.com/commercialhaskell/stack/releases/download/rc/v2.13.0.1/stack-2.13.0.1-linux-aarch64.tar.gz
|
||||||
|
dlHash: 67e6cea50dba52dbba39204605bf2c33154c88bee7f1494791a4f59589d64427
|
||||||
|
dlSubdir:
|
||||||
|
RegexDir: "stack-.*"
|
||||||
|
Darwin:
|
||||||
|
unknown_versioning:
|
||||||
|
dlUri: https://github.com/commercialhaskell/stack/releases/download/rc/v2.13.0.1/stack-2.13.0.1-osx-aarch64.tar.gz
|
||||||
|
dlHash: 9c3b957c7c8b1c5c09e0251907372563b48d5869c31e35be43916736f679535d
|
||||||
|
dlSubdir:
|
||||||
|
RegexDir: "stack-.*"
|
||||||
|
2.15.0.1:
|
||||||
|
viTags:
|
||||||
|
- LatestPrerelease
|
||||||
|
viChangeLog: https://github.com/commercialhaskell/stack/blob/rc/v2.15/ChangeLog.md#v21501-release-candidate---2024-01-27
|
||||||
|
viArch:
|
||||||
|
A_64:
|
||||||
|
Linux_UnknownLinux:
|
||||||
|
unknown_versioning: &stack-21501-64
|
||||||
|
dlUri: https://github.com/commercialhaskell/stack/releases/download/rc/v2.15.0.1/stack-2.15.0.1-linux-x86_64.tar.gz
|
||||||
|
dlHash: f59b41418b2c12f1ac643b1c8c8caa9e4936d2c5a35593e67d7243d97a1de948
|
||||||
|
dlSubdir:
|
||||||
|
RegexDir: "stack-.*"
|
||||||
|
Darwin:
|
||||||
|
unknown_versioning:
|
||||||
|
dlUri: https://github.com/commercialhaskell/stack/releases/download/rc/v2.15.0.1/stack-2.15.0.1-osx-x86_64.tar.gz
|
||||||
|
dlHash: 7cbdb14060f19eefeff56d7d4887db0a1c5ade6bcd1d05abff5e5d819e4945f0
|
||||||
|
dlSubdir:
|
||||||
|
RegexDir: "stack-.*"
|
||||||
|
Windows:
|
||||||
|
unknown_versioning:
|
||||||
|
dlUri: https://github.com/commercialhaskell/stack/releases/download/rc/v2.15.0.1/stack-2.15.0.1-windows-x86_64.tar.gz
|
||||||
|
dlHash: f23f45c47228f98df47da4613df87f2ee5b55edcf4e466a1d7b3aced2161a7d0
|
||||||
|
dlSubdir:
|
||||||
|
RegexDir: "stack-.*"
|
||||||
|
Linux_Alpine:
|
||||||
|
unknown_versioning: *stack-21501-64
|
||||||
|
A_ARM64:
|
||||||
|
Linux_UnknownLinux:
|
||||||
|
unknown_versioning:
|
||||||
|
dlUri: https://github.com/commercialhaskell/stack/releases/download/rc/v2.15.0.1/stack-2.15.0.1-linux-aarch64.tar.gz
|
||||||
|
dlHash: 087b9b02e318ba28cbbd13b512da0758e2522016e260e2b2a3d076148225972e
|
||||||
|
dlSubdir:
|
||||||
|
RegexDir: "stack-.*"
|
||||||
|
Darwin:
|
||||||
|
unknown_versioning:
|
||||||
|
dlUri: https://github.com/commercialhaskell/stack/releases/download/rc/v2.15.0.1/stack-2.15.0.1-osx-aarch64.tar.gz
|
||||||
|
dlHash: 2c5fb2efcf646287aa91d3a1d6f8d08129734bc3e0c50d6756aba81b9309d7c1
|
||||||
|
dlSubdir:
|
||||||
|
RegexDir: "stack-.*"
|
||||||
|
|||||||
Binary file not shown.
1569
ghcup-prereleases-0.0.8.yaml
Normal file
1569
ghcup-prereleases-0.0.8.yaml
Normal file
File diff suppressed because it is too large
Load Diff
BIN
ghcup-prereleases-0.0.8.yaml.sig
Normal file
BIN
ghcup-prereleases-0.0.8.yaml.sig
Normal file
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
6195
ghcup-vanilla-0.0.8.yaml
Normal file
6195
ghcup-vanilla-0.0.8.yaml
Normal file
File diff suppressed because it is too large
Load Diff
BIN
ghcup-vanilla-0.0.8.yaml.sig
Normal file
BIN
ghcup-vanilla-0.0.8.yaml.sig
Normal file
Binary file not shown.
@@ -772,5 +772,826 @@
|
|||||||
"9.4.4"
|
"9.4.4"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"1.10.0.0": {
|
||||||
|
"A_64": {
|
||||||
|
"Darwin": [
|
||||||
|
"8.10.7",
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.7",
|
||||||
|
"9.4.4",
|
||||||
|
"9.6.1"
|
||||||
|
],
|
||||||
|
"FreeBSD": [
|
||||||
|
"8.10.7",
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.5",
|
||||||
|
"9.2.7"
|
||||||
|
],
|
||||||
|
"Linux_CentOS": [
|
||||||
|
"8.10.7",
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.7",
|
||||||
|
"9.4.4",
|
||||||
|
"9.6.1"
|
||||||
|
],
|
||||||
|
"Linux_Debian": [
|
||||||
|
"8.10.7",
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.7",
|
||||||
|
"9.4.4",
|
||||||
|
"9.6.1"
|
||||||
|
],
|
||||||
|
"Linux_Fedora": [
|
||||||
|
"8.10.7",
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.7",
|
||||||
|
"9.4.4",
|
||||||
|
"9.6.1"
|
||||||
|
],
|
||||||
|
"Linux_Mint": [
|
||||||
|
"8.10.7",
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.7",
|
||||||
|
"9.4.4",
|
||||||
|
"9.6.1"
|
||||||
|
],
|
||||||
|
"Linux_RedHat": [
|
||||||
|
"8.10.7",
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.7",
|
||||||
|
"9.4.4",
|
||||||
|
"9.6.1"
|
||||||
|
],
|
||||||
|
"Linux_Ubuntu": [
|
||||||
|
"8.10.7",
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.7",
|
||||||
|
"9.4.4",
|
||||||
|
"9.6.1"
|
||||||
|
],
|
||||||
|
"Linux_UnknownLinux": [
|
||||||
|
"8.10.7",
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.7",
|
||||||
|
"9.4.4",
|
||||||
|
"9.6.1"
|
||||||
|
],
|
||||||
|
"Windows": [
|
||||||
|
"8.10.7",
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.7",
|
||||||
|
"9.4.4",
|
||||||
|
"9.6.1"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"A_ARM64": {
|
||||||
|
"Darwin": [
|
||||||
|
"8.10.7",
|
||||||
|
"9.2.7",
|
||||||
|
"9.4.4",
|
||||||
|
"9.6.1"
|
||||||
|
],
|
||||||
|
"Linux_UnknownLinux": [
|
||||||
|
"8.10.7",
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.7",
|
||||||
|
"9.4.4",
|
||||||
|
"9.6.1"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"2.0.0.0": {
|
||||||
|
"A_64": {
|
||||||
|
"Darwin": [
|
||||||
|
"8.10.7",
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.7",
|
||||||
|
"9.4.5",
|
||||||
|
"9.6.1"
|
||||||
|
],
|
||||||
|
"FreeBSD": [
|
||||||
|
"8.10.7",
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.5",
|
||||||
|
"9.2.7"
|
||||||
|
],
|
||||||
|
"Linux_CentOS": [
|
||||||
|
"8.10.7",
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.7",
|
||||||
|
"9.4.5",
|
||||||
|
"9.6.1"
|
||||||
|
],
|
||||||
|
"Linux_Debian": [
|
||||||
|
"8.10.7",
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.7",
|
||||||
|
"9.4.5",
|
||||||
|
"9.6.1"
|
||||||
|
],
|
||||||
|
"Linux_Fedora": [
|
||||||
|
"8.10.7",
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.7",
|
||||||
|
"9.4.5",
|
||||||
|
"9.6.1"
|
||||||
|
],
|
||||||
|
"Linux_Mint": [
|
||||||
|
"8.10.7",
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.7",
|
||||||
|
"9.4.5",
|
||||||
|
"9.6.1"
|
||||||
|
],
|
||||||
|
"Linux_RedHat": [
|
||||||
|
"8.10.7",
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.7",
|
||||||
|
"9.4.5",
|
||||||
|
"9.6.1"
|
||||||
|
],
|
||||||
|
"Linux_Ubuntu": [
|
||||||
|
"8.10.7",
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.7",
|
||||||
|
"9.4.5",
|
||||||
|
"9.6.1"
|
||||||
|
],
|
||||||
|
"Linux_UnknownLinux": [
|
||||||
|
"8.10.7",
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.7",
|
||||||
|
"9.4.5",
|
||||||
|
"9.6.1"
|
||||||
|
],
|
||||||
|
"Windows": [
|
||||||
|
"8.10.7",
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.7",
|
||||||
|
"9.4.5",
|
||||||
|
"9.6.1"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"A_ARM64": {
|
||||||
|
"Darwin": [
|
||||||
|
"8.10.7",
|
||||||
|
"9.2.7",
|
||||||
|
"9.4.5",
|
||||||
|
"9.6.1"
|
||||||
|
],
|
||||||
|
"Linux_UnknownLinux": [
|
||||||
|
"8.10.7",
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.7",
|
||||||
|
"9.4.5",
|
||||||
|
"9.6.1"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"2.0.0.1": {
|
||||||
|
"A_64": {
|
||||||
|
"Darwin": [
|
||||||
|
"8.10.7",
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.7",
|
||||||
|
"9.2.8",
|
||||||
|
"9.4.5",
|
||||||
|
"9.6.2"
|
||||||
|
],
|
||||||
|
"FreeBSD": [
|
||||||
|
"8.10.7",
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.5",
|
||||||
|
"9.2.7"
|
||||||
|
],
|
||||||
|
"Linux_CentOS": [
|
||||||
|
"8.10.7",
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.7",
|
||||||
|
"9.2.8",
|
||||||
|
"9.4.5",
|
||||||
|
"9.6.2"
|
||||||
|
],
|
||||||
|
"Linux_Debian": [
|
||||||
|
"8.10.7",
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.7",
|
||||||
|
"9.2.8",
|
||||||
|
"9.4.5",
|
||||||
|
"9.6.2"
|
||||||
|
],
|
||||||
|
"Linux_Fedora": [
|
||||||
|
"8.10.7",
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.7",
|
||||||
|
"9.2.8",
|
||||||
|
"9.4.5",
|
||||||
|
"9.6.2"
|
||||||
|
],
|
||||||
|
"Linux_Mint": [
|
||||||
|
"8.10.7",
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.7",
|
||||||
|
"9.2.8",
|
||||||
|
"9.4.5",
|
||||||
|
"9.6.2"
|
||||||
|
],
|
||||||
|
"Linux_RedHat": [
|
||||||
|
"8.10.7",
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.7",
|
||||||
|
"9.2.8",
|
||||||
|
"9.4.5",
|
||||||
|
"9.6.2"
|
||||||
|
],
|
||||||
|
"Linux_Ubuntu": [
|
||||||
|
"8.10.7",
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.7",
|
||||||
|
"9.2.8",
|
||||||
|
"9.4.5",
|
||||||
|
"9.6.2"
|
||||||
|
],
|
||||||
|
"Linux_UnknownLinux": [
|
||||||
|
"8.10.7",
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.7",
|
||||||
|
"9.2.8",
|
||||||
|
"9.4.5",
|
||||||
|
"9.6.2"
|
||||||
|
],
|
||||||
|
"Windows": [
|
||||||
|
"8.10.7",
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.7",
|
||||||
|
"9.2.8",
|
||||||
|
"9.4.5",
|
||||||
|
"9.6.2"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"A_ARM64": {
|
||||||
|
"Darwin": [
|
||||||
|
"8.10.7",
|
||||||
|
"9.2.7",
|
||||||
|
"9.2.8",
|
||||||
|
"9.4.5",
|
||||||
|
"9.6.2"
|
||||||
|
],
|
||||||
|
"Linux_UnknownLinux": [
|
||||||
|
"8.10.7",
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.7",
|
||||||
|
"9.2.8",
|
||||||
|
"9.6.2"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"2.1.0.0": {
|
||||||
|
"A_64": {
|
||||||
|
"Darwin": [
|
||||||
|
"8.10.7",
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.8",
|
||||||
|
"9.4.5",
|
||||||
|
"9.4.6",
|
||||||
|
"9.6.2"
|
||||||
|
],
|
||||||
|
"FreeBSD": [
|
||||||
|
"8.10.7",
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.5",
|
||||||
|
"9.2.7"
|
||||||
|
],
|
||||||
|
"Linux_CentOS": [
|
||||||
|
"8.10.7",
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.8",
|
||||||
|
"9.4.5",
|
||||||
|
"9.4.6",
|
||||||
|
"9.6.2"
|
||||||
|
],
|
||||||
|
"Linux_Debian": [
|
||||||
|
"8.10.7",
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.8",
|
||||||
|
"9.4.5",
|
||||||
|
"9.4.6",
|
||||||
|
"9.6.2"
|
||||||
|
],
|
||||||
|
"Linux_Fedora": [
|
||||||
|
"8.10.7",
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.8",
|
||||||
|
"9.4.5",
|
||||||
|
"9.4.6",
|
||||||
|
"9.6.2"
|
||||||
|
],
|
||||||
|
"Linux_Mint": [
|
||||||
|
"8.10.7",
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.8",
|
||||||
|
"9.4.5",
|
||||||
|
"9.4.6",
|
||||||
|
"9.6.2"
|
||||||
|
],
|
||||||
|
"Linux_RedHat": [
|
||||||
|
"8.10.7",
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.8",
|
||||||
|
"9.4.5",
|
||||||
|
"9.4.6",
|
||||||
|
"9.6.2"
|
||||||
|
],
|
||||||
|
"Linux_Ubuntu": [
|
||||||
|
"8.10.7",
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.8",
|
||||||
|
"9.4.5",
|
||||||
|
"9.4.6",
|
||||||
|
"9.6.2"
|
||||||
|
],
|
||||||
|
"Linux_UnknownLinux": [
|
||||||
|
"8.10.7",
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.8",
|
||||||
|
"9.4.5",
|
||||||
|
"9.4.6",
|
||||||
|
"9.6.2"
|
||||||
|
],
|
||||||
|
"Windows": [
|
||||||
|
"8.10.7",
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.8",
|
||||||
|
"9.4.5",
|
||||||
|
"9.4.6",
|
||||||
|
"9.6.2"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"A_ARM64": {
|
||||||
|
"Darwin": [
|
||||||
|
"8.10.7",
|
||||||
|
"9.2.8",
|
||||||
|
"9.4.5",
|
||||||
|
"9.4.6",
|
||||||
|
"9.6.2"
|
||||||
|
],
|
||||||
|
"Linux_UnknownLinux": [
|
||||||
|
"8.10.7",
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.8",
|
||||||
|
"9.4.5",
|
||||||
|
"9.4.6",
|
||||||
|
"9.6.2"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"2.2.0.0": {
|
||||||
|
"A_64": {
|
||||||
|
"Darwin": [
|
||||||
|
"8.10.7",
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.8",
|
||||||
|
"9.4.5",
|
||||||
|
"9.4.6",
|
||||||
|
"9.4.7",
|
||||||
|
"9.6.2"
|
||||||
|
],
|
||||||
|
"FreeBSD": [
|
||||||
|
"8.10.7",
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.5",
|
||||||
|
"9.2.7"
|
||||||
|
],
|
||||||
|
"Linux_CentOS": [
|
||||||
|
"8.10.7",
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.8",
|
||||||
|
"9.4.5",
|
||||||
|
"9.4.6",
|
||||||
|
"9.4.7",
|
||||||
|
"9.6.2"
|
||||||
|
],
|
||||||
|
"Linux_Debian": [
|
||||||
|
"8.10.7",
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.8",
|
||||||
|
"9.4.5",
|
||||||
|
"9.4.6",
|
||||||
|
"9.4.7",
|
||||||
|
"9.6.2"
|
||||||
|
],
|
||||||
|
"Linux_Fedora": [
|
||||||
|
"8.10.7",
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.8",
|
||||||
|
"9.4.5",
|
||||||
|
"9.4.6",
|
||||||
|
"9.4.7",
|
||||||
|
"9.6.2"
|
||||||
|
],
|
||||||
|
"Linux_Mint": [
|
||||||
|
"8.10.7",
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.8",
|
||||||
|
"9.4.5",
|
||||||
|
"9.4.6",
|
||||||
|
"9.4.7",
|
||||||
|
"9.6.2"
|
||||||
|
],
|
||||||
|
"Linux_RedHat": [
|
||||||
|
"8.10.7",
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.8",
|
||||||
|
"9.4.5",
|
||||||
|
"9.4.6",
|
||||||
|
"9.4.7",
|
||||||
|
"9.6.2"
|
||||||
|
],
|
||||||
|
"Linux_Ubuntu": [
|
||||||
|
"8.10.7",
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.8",
|
||||||
|
"9.4.5",
|
||||||
|
"9.4.6",
|
||||||
|
"9.4.7",
|
||||||
|
"9.6.2"
|
||||||
|
],
|
||||||
|
"Linux_UnknownLinux": [
|
||||||
|
"8.10.7",
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.8",
|
||||||
|
"9.4.5",
|
||||||
|
"9.4.6",
|
||||||
|
"9.4.7",
|
||||||
|
"9.6.2"
|
||||||
|
],
|
||||||
|
"Windows": [
|
||||||
|
"8.10.7",
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.8",
|
||||||
|
"9.4.5",
|
||||||
|
"9.4.6",
|
||||||
|
"9.4.7",
|
||||||
|
"9.6.2"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"A_ARM64": {
|
||||||
|
"Darwin": [
|
||||||
|
"8.10.7",
|
||||||
|
"9.2.8",
|
||||||
|
"9.4.5",
|
||||||
|
"9.4.6",
|
||||||
|
"9.4.7",
|
||||||
|
"9.6.2"
|
||||||
|
],
|
||||||
|
"Linux_UnknownLinux": [
|
||||||
|
"8.10.7",
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.8",
|
||||||
|
"9.4.5",
|
||||||
|
"9.4.6",
|
||||||
|
"9.4.7",
|
||||||
|
"9.6.2"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"2.3.0.0": {
|
||||||
|
"A_64": {
|
||||||
|
"Darwin": [
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.8",
|
||||||
|
"9.4.7",
|
||||||
|
"9.6.2",
|
||||||
|
"9.6.3"
|
||||||
|
],
|
||||||
|
"FreeBSD": [
|
||||||
|
"8.10.7",
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.5",
|
||||||
|
"9.2.7"
|
||||||
|
],
|
||||||
|
"Linux_CentOS": [
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.8",
|
||||||
|
"9.4.7",
|
||||||
|
"9.6.2",
|
||||||
|
"9.6.3"
|
||||||
|
],
|
||||||
|
"Linux_Debian": [
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.8",
|
||||||
|
"9.4.7",
|
||||||
|
"9.6.2",
|
||||||
|
"9.6.3"
|
||||||
|
],
|
||||||
|
"Linux_Fedora": [
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.8",
|
||||||
|
"9.4.7",
|
||||||
|
"9.6.2",
|
||||||
|
"9.6.3"
|
||||||
|
],
|
||||||
|
"Linux_Mint": [
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.8",
|
||||||
|
"9.4.7",
|
||||||
|
"9.6.2",
|
||||||
|
"9.6.3"
|
||||||
|
],
|
||||||
|
"Linux_RedHat": [
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.8",
|
||||||
|
"9.4.7",
|
||||||
|
"9.6.2",
|
||||||
|
"9.6.3"
|
||||||
|
],
|
||||||
|
"Linux_Ubuntu": [
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.8",
|
||||||
|
"9.4.7",
|
||||||
|
"9.6.2",
|
||||||
|
"9.6.3"
|
||||||
|
],
|
||||||
|
"Linux_UnknownLinux": [
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.8",
|
||||||
|
"9.4.7",
|
||||||
|
"9.6.2",
|
||||||
|
"9.6.3"
|
||||||
|
],
|
||||||
|
"Windows": [
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.8",
|
||||||
|
"9.4.7",
|
||||||
|
"9.6.2",
|
||||||
|
"9.6.3"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"A_ARM64": {
|
||||||
|
"Darwin": [
|
||||||
|
"9.2.8",
|
||||||
|
"9.4.7",
|
||||||
|
"9.6.2",
|
||||||
|
"9.6.3"
|
||||||
|
],
|
||||||
|
"Linux_UnknownLinux": [
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.8",
|
||||||
|
"9.4.7",
|
||||||
|
"9.6.2",
|
||||||
|
"9.6.3"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"2.4.0.0": {
|
||||||
|
"A_64": {
|
||||||
|
"Darwin": [
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.8",
|
||||||
|
"9.4.7",
|
||||||
|
"9.6.3",
|
||||||
|
"9.8.1"
|
||||||
|
],
|
||||||
|
"FreeBSD": [
|
||||||
|
"8.10.7",
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.5",
|
||||||
|
"9.2.7"
|
||||||
|
],
|
||||||
|
"Linux_CentOS": [
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.8",
|
||||||
|
"9.4.7",
|
||||||
|
"9.6.3",
|
||||||
|
"9.8.1"
|
||||||
|
],
|
||||||
|
"Linux_Debian": [
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.8",
|
||||||
|
"9.4.7",
|
||||||
|
"9.6.3",
|
||||||
|
"9.8.1"
|
||||||
|
],
|
||||||
|
"Linux_Fedora": [
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.8",
|
||||||
|
"9.4.7",
|
||||||
|
"9.6.3",
|
||||||
|
"9.8.1"
|
||||||
|
],
|
||||||
|
"Linux_Mint": [
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.8",
|
||||||
|
"9.4.7",
|
||||||
|
"9.6.3",
|
||||||
|
"9.8.1"
|
||||||
|
],
|
||||||
|
"Linux_RedHat": [
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.8",
|
||||||
|
"9.4.7",
|
||||||
|
"9.6.3",
|
||||||
|
"9.8.1"
|
||||||
|
],
|
||||||
|
"Linux_Ubuntu": [
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.8",
|
||||||
|
"9.4.7",
|
||||||
|
"9.6.3",
|
||||||
|
"9.8.1"
|
||||||
|
],
|
||||||
|
"Linux_UnknownLinux": [
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.8",
|
||||||
|
"9.4.7",
|
||||||
|
"9.6.3",
|
||||||
|
"9.8.1"
|
||||||
|
],
|
||||||
|
"Windows": [
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.8",
|
||||||
|
"9.4.7",
|
||||||
|
"9.6.3",
|
||||||
|
"9.8.1"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"A_ARM64": {
|
||||||
|
"Darwin": [
|
||||||
|
"9.2.8",
|
||||||
|
"9.4.7",
|
||||||
|
"9.6.3",
|
||||||
|
"9.8.1"
|
||||||
|
],
|
||||||
|
"Linux_UnknownLinux": [
|
||||||
|
"9.0.2",
|
||||||
|
"9.2.8",
|
||||||
|
"9.4.7",
|
||||||
|
"9.6.3",
|
||||||
|
"9.8.1"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"2.5.0.0": {
|
||||||
|
"A_64": {
|
||||||
|
"Darwin": [
|
||||||
|
"9.2.8",
|
||||||
|
"9.4.8",
|
||||||
|
"9.6.3",
|
||||||
|
"9.8.1"
|
||||||
|
],
|
||||||
|
"FreeBSD": [
|
||||||
|
"9.2.8",
|
||||||
|
"9.4.8",
|
||||||
|
"9.6.3",
|
||||||
|
"9.8.1"
|
||||||
|
],
|
||||||
|
"Linux_CentOS": [
|
||||||
|
"9.2.8",
|
||||||
|
"9.4.8",
|
||||||
|
"9.6.3",
|
||||||
|
"9.8.1"
|
||||||
|
],
|
||||||
|
"Linux_Debian": [
|
||||||
|
"9.2.8",
|
||||||
|
"9.4.8",
|
||||||
|
"9.6.3",
|
||||||
|
"9.8.1"
|
||||||
|
],
|
||||||
|
"Linux_Fedora": [
|
||||||
|
"9.2.8",
|
||||||
|
"9.4.8",
|
||||||
|
"9.6.3",
|
||||||
|
"9.8.1"
|
||||||
|
],
|
||||||
|
"Linux_Mint": [
|
||||||
|
"9.2.8",
|
||||||
|
"9.4.8",
|
||||||
|
"9.6.3",
|
||||||
|
"9.8.1"
|
||||||
|
],
|
||||||
|
"Linux_RedHat": [
|
||||||
|
"9.2.8",
|
||||||
|
"9.4.8",
|
||||||
|
"9.6.3",
|
||||||
|
"9.8.1"
|
||||||
|
],
|
||||||
|
"Linux_Ubuntu": [
|
||||||
|
"9.2.8",
|
||||||
|
"9.4.8",
|
||||||
|
"9.6.3",
|
||||||
|
"9.8.1"
|
||||||
|
],
|
||||||
|
"Linux_UnknownLinux": [
|
||||||
|
"9.2.8",
|
||||||
|
"9.4.8",
|
||||||
|
"9.6.3",
|
||||||
|
"9.8.1"
|
||||||
|
],
|
||||||
|
"Windows": [
|
||||||
|
"9.2.8",
|
||||||
|
"9.4.8",
|
||||||
|
"9.6.3",
|
||||||
|
"9.8.1"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"A_ARM64": {
|
||||||
|
"Darwin": [
|
||||||
|
"9.2.8",
|
||||||
|
"9.4.8",
|
||||||
|
"9.6.3",
|
||||||
|
"9.8.1"
|
||||||
|
],
|
||||||
|
"Linux_UnknownLinux": [
|
||||||
|
"9.2.8",
|
||||||
|
"9.4.8",
|
||||||
|
"9.6.3",
|
||||||
|
"9.8.1"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"2.6.0.0": {
|
||||||
|
"A_64": {
|
||||||
|
"Darwin": [
|
||||||
|
"9.2.8",
|
||||||
|
"9.4.8",
|
||||||
|
"9.6.4",
|
||||||
|
"9.8.1"
|
||||||
|
],
|
||||||
|
"FreeBSD": [
|
||||||
|
"9.2.8",
|
||||||
|
"9.4.8",
|
||||||
|
"9.6.4",
|
||||||
|
"9.8.1"
|
||||||
|
],
|
||||||
|
"Linux_Alpine": [
|
||||||
|
"9.2.8",
|
||||||
|
"9.4.8",
|
||||||
|
"9.6.4",
|
||||||
|
"9.8.1"
|
||||||
|
],
|
||||||
|
"Linux_CentOS": [
|
||||||
|
"9.2.8",
|
||||||
|
"9.4.8",
|
||||||
|
"9.6.4",
|
||||||
|
"9.8.1"
|
||||||
|
],
|
||||||
|
"Linux_Debian": [
|
||||||
|
"9.2.8",
|
||||||
|
"9.4.8",
|
||||||
|
"9.6.4",
|
||||||
|
"9.8.1"
|
||||||
|
],
|
||||||
|
"Linux_Fedora": [
|
||||||
|
"9.2.8",
|
||||||
|
"9.4.8",
|
||||||
|
"9.6.4",
|
||||||
|
"9.8.1"
|
||||||
|
],
|
||||||
|
"Linux_Mint": [
|
||||||
|
"9.2.8",
|
||||||
|
"9.4.8",
|
||||||
|
"9.6.4",
|
||||||
|
"9.8.1"
|
||||||
|
],
|
||||||
|
"Linux_RedHat": [
|
||||||
|
"9.2.8",
|
||||||
|
"9.4.8",
|
||||||
|
"9.6.4",
|
||||||
|
"9.8.1"
|
||||||
|
],
|
||||||
|
"Linux_Ubuntu": [
|
||||||
|
"9.2.8",
|
||||||
|
"9.4.8",
|
||||||
|
"9.6.4",
|
||||||
|
"9.8.1"
|
||||||
|
],
|
||||||
|
"Linux_UnknownLinux": [
|
||||||
|
"9.2.8",
|
||||||
|
"9.4.8",
|
||||||
|
"9.6.4",
|
||||||
|
"9.8.1"
|
||||||
|
],
|
||||||
|
"Windows": [
|
||||||
|
"9.2.8",
|
||||||
|
"9.4.8",
|
||||||
|
"9.6.4",
|
||||||
|
"9.8.1"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"A_ARM64": {
|
||||||
|
"Darwin": [
|
||||||
|
"9.2.8",
|
||||||
|
"9.4.8",
|
||||||
|
"9.6.4",
|
||||||
|
"9.8.1"
|
||||||
|
],
|
||||||
|
"Linux_UnknownLinux": [
|
||||||
|
"9.2.8",
|
||||||
|
"9.4.8",
|
||||||
|
"9.6.4",
|
||||||
|
"9.8.1"
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Binary file not shown.
105
scripts/release/cabal/create-yaml-snippet.sh
Executable file
105
scripts/release/cabal/create-yaml-snippet.sh
Executable file
@@ -0,0 +1,105 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -eu
|
||||||
|
set -o pipefail
|
||||||
|
|
||||||
|
RELEASE=$1
|
||||||
|
VERSION=${RELEASE#cabal-install-v}
|
||||||
|
|
||||||
|
cd "gh-release-artifacts/cabal-${VERSION}"
|
||||||
|
|
||||||
|
cat <<EOF > /dev/stdout
|
||||||
|
$VERSION:
|
||||||
|
viTags:
|
||||||
|
- Latest
|
||||||
|
viChangeLog: https://github.com/haskell/cabal/blob/master/release-notes/cabal-install-$VERSION.md
|
||||||
|
viArch:
|
||||||
|
A_64:
|
||||||
|
Linux_Debian:
|
||||||
|
'< 10': &cabal-${VERSION//./}-64-deb9
|
||||||
|
dlUri: https://downloads.haskell.org/~ghcup/unofficial-bindists/cabal/$VERSION/cabal-install-$VERSION-x86_64-linux-deb9.tar.xz
|
||||||
|
dlHash: $(sha256sum "cabal-install-$VERSION-x86_64-linux-deb9.tar.xz" | awk '{ print $1 }')
|
||||||
|
'(>= 10 && < 11)': &cabal-${VERSION//./}-64-deb10
|
||||||
|
dlUri: https://downloads.haskell.org/~ghcup/unofficial-bindists/cabal/$VERSION/cabal-install-$VERSION-x86_64-linux-deb10.tar.xz
|
||||||
|
dlHash: $(sha256sum "cabal-install-$VERSION-x86_64-linux-deb10.tar.xz" | awk '{ print $1 }')
|
||||||
|
unknown_versioning: &cabal-${VERSION//./}-64-deb11
|
||||||
|
dlUri: https://downloads.haskell.org/~ghcup/unofficial-bindists/cabal/$VERSION/cabal-install-$VERSION-x86_64-linux-deb11.tar.xz
|
||||||
|
dlHash: $(sha256sum "cabal-install-$VERSION-x86_64-linux-deb11.tar.xz" | awk '{ print $1 }')
|
||||||
|
Linux_Ubuntu:
|
||||||
|
'( >= 16 && < 19 )': &cabal-${VERSION//./}-64-ubuntu18
|
||||||
|
dlUri: https://downloads.haskell.org/~ghcup/unofficial-bindists/cabal/$VERSION/cabal-install-$VERSION-x86_64-linux-ubuntu18.04.tar.xz
|
||||||
|
dlHash: $(sha256sum "cabal-install-$VERSION-x86_64-linux-ubuntu18.04.tar.xz" | awk '{ print $1 }')
|
||||||
|
'( >= 20 && < 22 )': &cabal-${VERSION//./}-64-ubuntu20
|
||||||
|
dlUri: https://downloads.haskell.org/~ghcup/unofficial-bindists/cabal/$VERSION/cabal-install-$VERSION-x86_64-linux-ubuntu20.04.tar.xz
|
||||||
|
dlHash: $(sha256sum "cabal-install-$VERSION-x86_64-linux-ubuntu20.04.tar.xz" | awk '{ print $1 }')
|
||||||
|
unknown_versioning: &cabal-${VERSION//./}-64-ubuntu22
|
||||||
|
dlUri: https://downloads.haskell.org/~ghcup/unofficial-bindists/cabal/$VERSION/cabal-install-$VERSION-x86_64-linux-ubuntu22.04.tar.xz
|
||||||
|
dlHash: $(sha256sum "cabal-install-$VERSION-x86_64-linux-ubuntu22.04.tar.xz" | awk '{ print $1 }')
|
||||||
|
Linux_Mint:
|
||||||
|
'< 20':
|
||||||
|
dlUri: https://downloads.haskell.org/~ghcup/unofficial-bindists/cabal/$VERSION/cabal-install-$VERSION-x86_64-linux-mint19.3.tar.xz
|
||||||
|
dlHash: $(sha256sum "cabal-install-$VERSION-x86_64-linux-mint19.3.tar.xz" | awk '{ print $1 }')
|
||||||
|
'(>= 20 && < 21)':
|
||||||
|
dlUri: https://downloads.haskell.org/~ghcup/unofficial-bindists/cabal/$VERSION/cabal-install-$VERSION-x86_64-linux-mint20.2.tar.xz
|
||||||
|
dlHash: $(sha256sum "cabal-install-$VERSION-x86_64-linux-mint20.2.tar.xz" | awk '{ print $1 }')
|
||||||
|
'>= 21': *cabal-${VERSION//./}-64-ubuntu22
|
||||||
|
Linux_Fedora:
|
||||||
|
'< 33': &cabal-${VERSION//./}-64-fedora27
|
||||||
|
dlUri: https://downloads.haskell.org/~ghcup/unofficial-bindists/cabal/$VERSION/cabal-install-$VERSION-x86_64-linux-fedora27.tar.xz
|
||||||
|
dlHash: $(sha256sum "cabal-install-$VERSION-x86_64-linux-fedora27.tar.xz" | awk '{ print $1 }')
|
||||||
|
'>= 33': &cabal-${VERSION//./}-64-fedora33
|
||||||
|
dlUri: https://downloads.haskell.org/~ghcup/unofficial-bindists/cabal/$VERSION/cabal-install-$VERSION-x86_64-linux-fedora33.tar.xz
|
||||||
|
dlHash: $(sha256sum "cabal-install-$VERSION-x86_64-linux-fedora33.tar.xz" | awk '{ print $1 }')
|
||||||
|
unknown_versioning: *cabal-${VERSION//./}-64-fedora27
|
||||||
|
Linux_CentOS:
|
||||||
|
'( >= 7 && < 8 )': &cabal-${VERSION//./}-64-centos
|
||||||
|
dlUri: https://downloads.haskell.org/~ghcup/unofficial-bindists/cabal/$VERSION/cabal-install-$VERSION-x86_64-linux-centos7.tar.xz
|
||||||
|
dlHash: $(sha256sum "cabal-install-$VERSION-x86_64-linux-centos7.tar.xz" | awk '{ print $1 }')
|
||||||
|
unknown_versioning: *cabal-${VERSION//./}-64-centos
|
||||||
|
Linux_RedHat:
|
||||||
|
unknown_versioning: *cabal-${VERSION//./}-64-centos
|
||||||
|
Linux_UnknownLinux:
|
||||||
|
unknown_versioning: &cabal-${VERSION//./}-64-unknown
|
||||||
|
dlUri: https://downloads.haskell.org/~ghcup/unofficial-bindists/cabal/$VERSION/cabal-install-$VERSION-x86_64-linux-unknown.tar.xz
|
||||||
|
dlHash: $(sha256sum "cabal-install-$VERSION-x86_64-linux-unknown.tar.xz" | awk '{ print $1 }')
|
||||||
|
Linux_Rocky:
|
||||||
|
unknown_versioning:
|
||||||
|
dlUri: https://downloads.haskell.org/~ghcup/unofficial-bindists/cabal/$VERSION/cabal-install-$VERSION-x86_64-linux-rocky8.tar.xz
|
||||||
|
dlHash: $(sha256sum "cabal-install-$VERSION-x86_64-linux-rocky8.tar.xz" | awk '{ print $1 }')
|
||||||
|
Linux_Alpine:
|
||||||
|
unknown_versioning: *cabal-${VERSION//./}-64-unknown
|
||||||
|
Darwin:
|
||||||
|
unknown_versioning:
|
||||||
|
dlUri: https://downloads.haskell.org/~ghcup/unofficial-bindists/cabal/$VERSION/cabal-install-$VERSION-x86_64-apple-darwin.tar.xz
|
||||||
|
dlHash: $(sha256sum "cabal-install-$VERSION-x86_64-apple-darwin.tar.xz" | awk '{ print $1 }')
|
||||||
|
Windows:
|
||||||
|
unknown_versioning:
|
||||||
|
dlUri: https://downloads.haskell.org/~ghcup/unofficial-bindists/cabal/$VERSION/cabal-install-$VERSION-x86_64-mingw64.zip
|
||||||
|
dlHash: $(sha256sum "cabal-install-$VERSION-x86_64-mingw64.zip" | awk '{ print $1 }')
|
||||||
|
FreeBSD:
|
||||||
|
unknown_versioning:
|
||||||
|
dlUri: https://downloads.haskell.org/~ghcup/unofficial-bindists/cabal/$VERSION/cabal-install-$VERSION-x86_64-portbld-freebsd.tar.xz
|
||||||
|
dlHash: $(sha256sum "cabal-install-$VERSION-x86_64-portbld-freebsd.tar.xz" | awk '{ print $1 }')
|
||||||
|
A_32:
|
||||||
|
Linux_UnknownLinux:
|
||||||
|
unknown_versioning: &cabal-${VERSION//./}-32-unknown
|
||||||
|
dlUri: https://downloads.haskell.org/~ghcup/unofficial-bindists/cabal/$VERSION/cabal-install-$VERSION-i386-linux-unknown.tar.xz
|
||||||
|
dlHash: $(sha256sum "cabal-install-$VERSION-i386-linux-unknown.tar.xz" | awk '{ print $1 }')
|
||||||
|
Linux_Alpine:
|
||||||
|
unknown_versioning: *cabal-${VERSION//./}-32-unknown
|
||||||
|
A_ARM64:
|
||||||
|
Linux_UnknownLinux:
|
||||||
|
unknown_versioning:
|
||||||
|
dlUri: https://downloads.haskell.org/~ghcup/unofficial-bindists/cabal/$VERSION/cabal-install-$VERSION-aarch64-linux-deb10.tar.xz
|
||||||
|
dlHash: $(sha256sum "cabal-install-$VERSION-aarch64-linux-deb10.tar.xz" | awk '{ print $1 }')
|
||||||
|
Darwin:
|
||||||
|
unknown_versioning:
|
||||||
|
dlUri: https://downloads.haskell.org/~ghcup/unofficial-bindists/cabal/$VERSION/cabal-install-$VERSION-aarch64-apple-darwin.tar.xz
|
||||||
|
dlHash: $(sha256sum "cabal-install-$VERSION-aarch64-apple-darwin.tar.xz" | awk '{ print $1 }')
|
||||||
|
A_ARM:
|
||||||
|
Linux_UnknownLinux:
|
||||||
|
unknown_versioning:
|
||||||
|
dlUri: https://downloads.haskell.org/~ghcup/unofficial-bindists/cabal/$VERSION/cabal-install-$VERSION-armv7-linux-deb10.tar.xz
|
||||||
|
dlHash: $(sha256sum "cabal-install-$VERSION-armv7-linux-deb10.tar.xz" | awk '{ print $1 }')
|
||||||
|
EOF
|
||||||
|
|
||||||
35
scripts/release/cabal/download-gh-artifacts.sh
Executable file
35
scripts/release/cabal/download-gh-artifacts.sh
Executable file
@@ -0,0 +1,35 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -eu
|
||||||
|
set -o pipefail
|
||||||
|
|
||||||
|
RELEASE=$1
|
||||||
|
VERSION=${RELEASE#cabal-install-v}
|
||||||
|
SIGNER=$2
|
||||||
|
|
||||||
|
echo "RELEASE: $RELEASE"
|
||||||
|
echo "SIGNER: $SIGNER"
|
||||||
|
|
||||||
|
for com in gh gpg curl sha256sum ; do
|
||||||
|
command -V ${com} >/dev/null 2>&1
|
||||||
|
done
|
||||||
|
|
||||||
|
[ ! -e "gh-release-artifacts/cabal-${VERSION}" ]
|
||||||
|
|
||||||
|
mkdir -p "gh-release-artifacts/cabal-${VERSION}"
|
||||||
|
|
||||||
|
cd "gh-release-artifacts/cabal-${VERSION}"
|
||||||
|
|
||||||
|
# github
|
||||||
|
gh release download "$RELEASE"
|
||||||
|
|
||||||
|
# cirrus
|
||||||
|
curl --fail -L -o "cabal-install-${VERSION}-x86_64-portbld-freebsd.tar.xz" \
|
||||||
|
"https://api.cirrus-ci.com/v1/artifact/github/haskell/ghcup-metadata/build/binaries/out/cabal-install-${VERSION}-x86_64-portbld-freebsd.tar.xz?branch=develop"
|
||||||
|
|
||||||
|
|
||||||
|
sha256sum ./* > SHA256SUMS
|
||||||
|
gpg --detach-sign -u "${SIGNER}" SHA256SUMS
|
||||||
|
|
||||||
|
gh release upload "$RELEASE" "cabal-install-${VERSION}-x86_64-portbld-freebsd.tar.xz" SHA256SUMS SHA256SUMS.sig
|
||||||
|
|
||||||
Reference in New Issue
Block a user