Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to GHC 9.6.6 #328

Merged
merged 3 commits into from
Nov 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ on:
workflow_dispatch: # allow manual trigger

env:
RUST: 1.73
GHC: 9.6.4
RUST: 1.82
GHC: 9.6.6

jobs:
fourmolu:
Expand Down
1 change: 1 addition & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
- Add command `consensus detailed-status` for getting detailed consensus status (from protocol
version 6).
- Add `raw GetConsensusDetailedStatus` that presents the detailed consensus status as JSON.
- Update GHC version to 9.6.6 (lts-22.39).

## 7.0.1

Expand Down
2 changes: 1 addition & 1 deletion deps/concordium-base
Submodule concordium-base updated 1 files
+1 −1 Setup.hs
2 changes: 1 addition & 1 deletion scripts/distributables/linux-concordium-client.Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
pipeline {
agent any
environment {
GHC_VERSION = '9.6.4'
GHC_VERSION = '9.6.6'
VERSION = sh(
returnStdout: true,
script: '''\
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ COPY . /build

RUN apk add perl g++ make protoc ncurses ncurses-dev zlib zlib-static zlib-dev git wget postgresql-dev gmp-dev gmp xz

ARG RUST_VERSION=1.73
ARG RUST_VERSION=1.82
RUN wget -qO - https://sh.rustup.rs | sh -s -- --profile minimal --default-toolchain ${RUST_VERSION} -y

ARG GHC_VERSION=9.6.4
ARG GHC_VERSION=9.6.6
RUN wget -q https://s3-eu-west-1.amazonaws.com/static-libraries.concordium.com/ghc-${GHC_VERSION}-x86_64-unknown-linux-integer-gmp.tar.xz && \
tar -xf ghc-${GHC_VERSION}-x86_64-unknown-linux-integer-gmp.tar.xz && \
cd ghc-${GHC_VERSION}-x86_64-unknown-linux && \
Expand Down
4 changes: 2 additions & 2 deletions scripts/distributables/macos-concordium-client.Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
pipeline {
agent { label 'jenkins-worker' }
environment {
GHC_VERSION = '9.6.4'
RUST_VERSION = '1.73'
GHC_VERSION = '9.6.6'
RUST_VERSION = '1.82'
VERSION = sh(
returnStdout: true,
script: '''\
Expand Down
4 changes: 2 additions & 2 deletions scripts/distributables/windows-concordium-client.Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ pipeline {
stages {
stage('build') {
environment {
GHC_VERSION = '9.6.4'
GHC_VERSION = '9.6.6'
BASE_OUTFILE = 's3://distribution.concordium.software/tools/windows/concordium-client'
}
steps {
Expand All @@ -22,7 +22,7 @@ pipeline {
fi

# Ensure correct rust env
rustup default 1.73-x86_64-pc-windows-gnu
rustup default 1.82-x86_64-pc-windows-gnu

# Build project
stack build --force-dirty
Expand Down
6 changes: 5 additions & 1 deletion stack.linux-static.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
resolver: lts-22.9
resolver: lts-22.39

packages:
- .
Expand All @@ -18,6 +18,10 @@ extra-deps:
- proto-lens-setup-0.4.0.7@sha256:acca0b04e033ea0a017f809d91a7dbc942e025ec6bc275fa21647352722c74cc,3122
- proto-lens-protoc-0.8.0.0@sha256:a146ee8c9af9e445ab05651e688deb0ff849357d320657d6cea5be33cb54b960,2235
- ghc-source-gen-0.4.4.0@sha256:8499f23c5989c295f3b002ad92784ca5fed5260fd4891dc816f17d30c5ba9cd9,4236
# Cabal-3.10.3.0 (from the lts-22.39 snapshot) breaks linking on Windows, but this should be
# fixed in newer versions. This should be removed once we update to an lts that uses a new
# enough version of Cabal.
- Cabal-3.10.1.0

- ./deps/concordium-base

Expand Down
6 changes: 5 additions & 1 deletion stack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#
# resolver: ./custom-snapshot.yaml
# resolver: https://example.com/snapshots/2018-01-01.yaml
resolver: lts-22.9
resolver: lts-22.39

# User packages to be built.
# Various formats can be used as shown in the example below.
Expand Down Expand Up @@ -54,6 +54,10 @@ extra-deps:
- proto-lens-setup-0.4.0.7@sha256:acca0b04e033ea0a017f809d91a7dbc942e025ec6bc275fa21647352722c74cc,3122
- proto-lens-protoc-0.8.0.0@sha256:a146ee8c9af9e445ab05651e688deb0ff849357d320657d6cea5be33cb54b960,2235
- ghc-source-gen-0.4.4.0@sha256:8499f23c5989c295f3b002ad92784ca5fed5260fd4891dc816f17d30c5ba9cd9,4236
# Cabal-3.10.3.0 (from the lts-22.39 snapshot) breaks linking on Windows, but this should be
# fixed in newer versions. This should be removed once we update to an lts that uses a new
# enough version of Cabal.
- Cabal-3.10.1.0

- ./deps/concordium-base

Expand Down
Loading