-
Notifications
You must be signed in to change notification settings - Fork 86
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
Compiling ouroboros-consensus on Windows #1082
Comments
@coot do you have OpenSSL for Windows? I downloaded mine from here http://slproweb.com/products/Win32OpenSSL.html. |
@dcoutts did we get rid of the dependency on |
See #285. 1.1.0 because the exchanges are not using Windows. |
The @kderme @coot Can you check again whether |
On my machine it fails with:
Let me check if I can get them with |
@vincenthz building |
The agreed way forward is to remove dependency on |
That's good news, especially since a cabal issue haskell/cabal#2997 didn't allow to easily include the external openssl libraries. Appart from that, I get an error because in windows a very old unix-compat version is picked.
Adding a constraint EDIT: The above is actually not a real issue. |
A subscription worker which works over ClientSnocket. It is integrated into data diffusion `Ouroboros.Network.Diffusion`. * `ouroboros-network` - compiler and runs all its tests on Windows. * `ouroboros-consensus` - windows support is tracked in #1082
A subscription worker which works over ClientSnocket. It is integrated into data diffusion `Ouroboros.Network.Diffusion`. * `ouroboros-network` - compiler and runs all its tests on Windows. * `ouroboros-consensus` - windows support is tracked in #1082
A subscription worker which works over ClientSnocket. It is integrated into data diffusion `Ouroboros.Network.Diffusion`. * `ouroboros-network` - compiler and runs all its tests on Windows. * `ouroboros-consensus` - windows support is tracked in #1082
A subscription worker which works over ClientSnocket. It is integrated into data diffusion `Ouroboros.Network.Diffusion`. * `ouroboros-network` - compiler and runs all its tests on Windows. * `ouroboros-consensus` - windows support is tracked in #1082
Thanks @vhulchenko-iohk! @kderme and/or @coot can you propagate this change? |
That's great, I can take care of towards end of the week. After propagating it and merging #1499 whole |
I did had time yet to look do it. We first need to finish the byron tickets and then I'll return to work |
cardano-ledger has another dependency to openssl https://github.com/input-output-hk/cardano-ledger/blob/master/crypto/cardano-crypto-wrapper.cabal. I'll see if we can drop it. |
1774: Drop openssl dep r=mrBliss a=kderme With this pr, ouroboros-consensus no longer needs openssl to build. This significantly simplifies building on windows. Related #1082 WIP: TODO nix Co-authored-by: kderme <[email protected]>
There is this in |
Lets also make windows required for the CI in this repo, just like in IntersectMBO/cardano-node#669. |
@coot are there any known issues for |
When #1808 is merged, we should try to get consensus included in there too. |
So we know it works overall, but we need CI to stop regressions. This should be enough once it passes and is merged. |
1789: Fix stack for windows r=mrBliss a=kderme Related #1082 Continuation of #1774, which makes use of IntersectMBO/cardano-prelude#100 Co-authored-by: kderme <[email protected]>
1789: Fix stack for windows r=mrBliss a=kderme Related #1082 Continuation of #1774, which makes use of IntersectMBO/cardano-prelude#100 Co-authored-by: kderme <[email protected]>
1789: Fix stack for windows r=mrBliss a=kderme Related #1082 Continuation of #1774, which makes use of IntersectMBO/cardano-prelude#100 Co-authored-by: kderme <[email protected]>
I tried to build
|
Related thread on Slack: https://input-output-rnd.slack.com/archives/C819S481Y/p1584555182036500 |
The problem @oneEdoubleD encountered is only a problem in Moreover, as of #1835, CI builds and tests on Windows using Wine (mingw32), which gives us some confidence consensus works on Windows. I think the only thing left to do is: let CI build and test on Windows (real Windows, not using Wine). @coot has a PR open for this (#1808), when that's merged, we can simply add the consensus tests to it. At that point we'll notice any remaining Windows problems and it will also make sure we don't regress. |
Can we move discussion of this additional requirement "test on real windows as part of CI" into a new ticket please. This ticket is "Compiling ouroboros-consensus on Windows". We are already doing that. As of PR #1835 it is also now a required build target in CI. We even run most tests on wine (a bonus). |
Closing, remaining CI work moved to IntersectMBO/ouroboros-consensus#697. |
"test on real windows as part of CI" is fixed by #1808 now right? |
This might be just specific to my setup (I am using git-bash command line on Windows10)
The text was updated successfully, but these errors were encountered: