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
Switch CI to GHC 8.10.2 #2540
Switch CI to GHC 8.10.2 #2540
Conversation
8d76e57
to
14cc11d
Compare
370d09b
to
ec7ad6a
Compare
Is this pr stale? |
ec7ad6a
to
19c69f8
Compare
I have updated this PR. It currently contains #2652 until that is merged. |
bc02d39
to
ad3fb7b
Compare
ouroboros-consensus-test/test-consensus/Test/Consensus/HardFork/Combinator/A.hs
Show resolved
Hide resolved
|
Feel free to push a fix to this PR 🙂 |
We need to either wait for |
b511a57
to
427082f
Compare
I have rebased the PR against master. |
427082f
to
720478f
Compare
This will include the patch that was added in input-output-hk/haskell.nix#870 to fix this issue: ``` remote-iserv.exe: | /nix/store/kiljkg0bh7kc5cp5a0cqkshnabnfh73c-mingw-w64-6.0.0-x86_64-w64-mingw32/lib/libmingw32.a: unknown symbol `__acrt_iob_func' remote-iserv.exe: | /nix/store/kiljkg0bh7kc5cp5a0cqkshnabnfh73c-mingw-w64-6.0.0-x86_64-w64-mingw32/lib/libmingwex.a: unknown symbol `__mingw_raise_matherr' remote-iserv.exe: | /nix/store/bkfn9c3pn25n3kf4s1x0bw14v5f0dm1r-x86_64-w64-mingw32-ghc-8.10.2/lib/x86_64-w64-mingw32-ghc-8.10.2/ghc-prim-0.6.1/HSghc-prim-0.6.1.o: unknown symbol `exp' ```
This will include the patch that was added in input-output-hk/haskell.nix#874 to fix this issue: ``` Setup: The program 'pkg-config' version >=0.9.0 is required but it could not be found. builder for '/nix/store/16bf6j2f1fig368pi1yfv70x5njs8d6y-cardano-crypto-class-lib-cardano-crypto-class-2.0.0-x86_64-w64-mingw32.drv' failed with exit code 1 ```
GHC-8.10.2 comes with the wrong path for `ld.exe`: https://gitlab.haskell.org/ghc/ghc/-/issues/18550#note_293049
fb0a031
to
ffb4bc3
Compare
If CI turns green, we will finally be ready to switch to GHC 8.10.2 🎉 Many thanks again to @hamishmack and @coot for making this possible. |
Many thanks to you @mrBliss for pushing this forward! |
There is one testsuite that's taking forever in CI: Cardano:ouroboros-network-pr-2540:x86_64-w64-mingw32.haskellPackages.ouroboros-network-framework.coverageReport.x86_64-linux
and then it hangs. The next property to test is This same test has timed out before: https://hydra.iohk.io/build/4447199/nixlog/2 (same branch). @coot Do you know what could be wrong? BTW, this test is not mandatory for CI. It is mingw32, but it passes in the native Windows CI, so we could merge this PR regardless. |
bors merge |
👎 Rejected by too few approved reviews |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, though majority of changes are in consensus (or nix).
bors merge |
Build succeeded: |
Congratulations guys! @mrBliss and @coot for your patience, I hope me and @mimi1vx will be able to contribute more and more... especially if DC fund approves #dCloud forward, I have already spoke with Alex from Ergo about incirporating Ergo NIPoPoW from Ergo to Cardano... then the other way around Ouroboros Praos -> Ergo... Our goal currently is to make Daedalus available as RPM package in openSUSE and CentOS, possibly also Ubuntu later... + add a ton of integration testing in this new repo... https://github.com/2nd-Layer/cardano-core-integration-testing @CharlesHoskinson as we are such a "friends", are there people at IOG I could use as point of contacts as we move forward? If you read the (sadly Czech) article, our partner / competitor, Invictus Mining has 330M CZK (14M USD) budget (incl. HW capex) to build either a dCloud or an altrnative to dCloud on other main chain, either way if dCloud won't get funded I would be joining their team do build the storage piece... We both know Decentralized Software Updates & Voltaire will need a storage solution, can we start the conversation about that over here? |
The main change this brings in is IntersectMBO/ouroboros-network#2540, which makes ouroboros-network fully compatible with GHC 8.10.2. Other noticeable changes: * `nodeBlockFetchSize` was renamed to `estimateBlockSize` (and is part of a different type class). * New `ClientTerminating` constructor of `TraceFetchClientState`. * New `TraceControlMessage` constructor of `TraceTxSubmissionOutbound`. * Added missing `COMPLETE` pragma for `CardanoLedgerState`.
The main change this brings in is IntersectMBO/ouroboros-network#2540, which makes ouroboros-network fully compatible with GHC 8.10.2. Other noticeable changes: * `nodeBlockFetchSize` was renamed to `estimateBlockSize` (and is part of a different type class). * New `ClientTerminating` constructor of `TraceFetchClientState`. * New `TraceControlMessage` constructor of `TraceTxSubmissionOutbound`. * Added missing `COMPLETE` pragma for `CardanoLedgerState`.
The main change this brings in is IntersectMBO/ouroboros-network#2540, which makes ouroboros-network fully compatible with GHC 8.10.2. Other noticeable changes: * `nodeBlockFetchSize` was renamed to `estimateBlockSize` (and is part of a different type class). * New `ClientTerminating` constructor of `TraceFetchClientState`. * New `TraceControlMessage` constructor of `TraceTxSubmissionOutbound`. * Added missing `COMPLETE` pragma for `CardanoLedgerState`.
The main change this brings in is IntersectMBO/ouroboros-network#2540, which makes ouroboros-network fully compatible with GHC 8.10.2. Other noticeable changes: * `nodeBlockFetchSize` was renamed to `estimateBlockSize` (and is part of a different type class). * New `ClientTerminating` constructor of `TraceFetchClientState`. * New `TraceControlMessage` constructor of `TraceTxSubmissionOutbound`. * Added missing `COMPLETE` pragma for `CardanoLedgerState`.
The main change this brings in is IntersectMBO/ouroboros-network#2540, which makes ouroboros-network fully compatible with GHC 8.10.2. Other noticeable changes: * `nodeBlockFetchSize` was renamed to `estimateBlockSize` (and is part of a different type class). * New `ClientTerminating` constructor of `TraceFetchClientState`. * New `TraceControlMessage` constructor of `TraceTxSubmissionOutbound`. * Added missing `COMPLETE` pragma for `CardanoLedgerState`.
The main change this brings in is IntersectMBO/ouroboros-network#2540, which makes ouroboros-network fully compatible with GHC 8.10.2. Other noticeable changes: * `nodeBlockFetchSize` was renamed to `estimateBlockSize` (and is part of a different type class). * New `ClientTerminating` constructor of `TraceFetchClientState`. * New `TraceControlMessage` constructor of `TraceTxSubmissionOutbound`. * Added missing `COMPLETE` pragma for `CardanoLedgerState`.
The main change this brings in is IntersectMBO/ouroboros-network#2540, which makes ouroboros-network fully compatible with GHC 8.10.2. Other noticeable changes: * `nodeBlockFetchSize` was renamed to `estimateBlockSize` (and is part of a different type class). * New `ClientTerminating` constructor of `TraceFetchClientState`. * New `TraceControlMessage` constructor of `TraceTxSubmissionOutbound`. * Added missing `COMPLETE` pragma for `CardanoLedgerState`.
The main change this brings in is IntersectMBO/ouroboros-network#2540, which makes ouroboros-network fully compatible with GHC 8.10.2. Other noticeable changes: * `nodeBlockFetchSize` was renamed to `estimateBlockSize` (and is part of a different type class). * New `ClientTerminating` constructor of `TraceFetchClientState`. * New `TraceControlMessage` constructor of `TraceTxSubmissionOutbound`. * Added missing `COMPLETE` pragma for `CardanoLedgerState`.
The main change this brings in is IntersectMBO/ouroboros-network#2540, which makes ouroboros-network fully compatible with GHC 8.10.2. Other noticeable changes: * `nodeBlockFetchSize` was renamed to `estimateBlockSize` (and is part of a different type class). * New `ClientTerminating` constructor of `TraceFetchClientState`. * New `TraceControlMessage` constructor of `TraceTxSubmissionOutbound`. * Added missing `COMPLETE` pragma for `CardanoLedgerState`.
2540: Switch CI to GHC 8.10.2 r=mrBliss a=mrBliss Update the dependencies to versions compatible with GHC 8.10.2. Switch over CI to GHC 8.10.2. Co-authored-by: Thomas Winant <thomas@well-typed.com> Co-authored-by: Hamish Mackenzie <Hamish.K.Mackenzie@gmail.com> Co-authored-by: Marcin Szamotulski <profunctor@pm.me>
Update the dependencies to versions compatible with GHC 8.10.2.
Switch over CI to GHC 8.10.2.