-
-
Notifications
You must be signed in to change notification settings - Fork 256
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
Build fixes #1022
Build fixes #1022
Conversation
The main change is dropping most of the Arc benchmarks in PatternB.hs, as those functions no longer exist. SequenceTest is changed to avoid comparing metadata now that sequences carry metadata, and SignalBaseTest was missing some imports.
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.
Thanks a lot for this, it would be great to get this building again. I've identified the missing functions if you fancy fixing those.
Thanks! I'm also going to try to understand these linking failures on the ci. |
Ok -- the ci check is green! The linker issue was because |
The nix failures seem to be from cachix/install-nix-action#183, and the windows build ones from haskell/actions#264. Both seem like they just need version bumps... I'll see if I can try that. |
Well, now the nix build is failing because
|
@mitchmindtree, I'm not sure if you're still maintaining this nix flake, but it appears (to my uneducated eye) that we need a version of |
Thanks @exitmouse Yes looks like tidal is still on 1.9.2 in nixpkgs with the older hosc dependency. It seems it just grabs packages from stackage which does have the latest versions. Not sure how to get these versions bumped.. |
@polymorphicengine do the changes to the windows build here look good to you? |
yeah, compiling with |
Just to clarify, the version of tidal used in the Nix flake is the copy local to this repo. It looks like the reason the build is failing is that the latest pinned It looks like we can update
but this updates the whole set of packages to their latest versions, so might take some time to review. Edit: It looks like there's a WIP update to hackage and stackage here, but even this doesn't yet update There's almost certainly a way to override |
This resolves the nix build issue encountered at tidalcycles#1022, mentioned in tidalcycles#1022 (comment). Namely, as Tidal 2.0 requires `hosc` `0.20` but nixpkgs currently only provides `0.19.1`, we temporarily include `hosc` `0.20` directly from its source. This commit also updates the nixpkgs pin to the latest version while we're at it.
I've opened a PR against this branch that resolves the |
Out of curiosity, should E.g. it looks like tidal-listener> [1 of 5] Compiling Sound.Tidal.Listener.Config ( src/Sound/Tidal/Listener/Config.hs, dist/build/Sound/Tidal/Listener/Config.p_o, dist/build/Sound/Tidal/Listener/Config.dyn_o )
tidal-listener> <no location info>: error:
tidal-listener> ghc: panic! (the 'impossible' happened)
tidal-listener> (GHC version 9.2.8:
tidal-listener> lookupGlobal
tidal-listener> Failed to load interface for ‘GHC.Num.BigNat’
tidal-listener> Perhaps you haven't installed the "p_dyn" libraries for package ‘ghc-bignum’?
tidal-listener> Use -v (or `:set -v` in ghci) to see a list of the files searched for.
tidal-listener> Call stack:
tidal-listener> CallStack (from HasCallStack):
tidal-listener> callStackDoc, called at compiler/GHC/Utils/Panic.hs:181:37 in ghc:GHC.Utils.Panic
tidal-listener> pprPanic, called at compiler/GHC/Tc/Utils/Env.hs:153:32 in ghc:GHC.Tc.Utils.Env
tidal-listener> Please report this as a GHC bug: https://www.haskell.org/ghc/reportabug
tidal-listener>
tidal-listener> [3 of 5] Compiling Sound.Tidal.Listener.Parse ( src/Sound/Tidal/Listener/Parse.hs, dist/build/Sound/Tidal/Listener/Parse.p_o, dist/build/Sound/Tidal/Listener/Parse.dyn_o )
tidal-listener> <no location info>: error:
tidal-listener> ghc: panic! (the 'impossible' happened)
tidal-listener> (GHC version 9.2.8:
tidal-listener> lookupGlobal
tidal-listener> Failed to load interface for ‘GHC.Num.BigNat’
tidal-listener> Perhaps you haven't installed the "p_dyn" libraries for package ‘ghc-bignum’?
tidal-listener> Use -v (or `:set -v` in ghci) to see a list of the files searched for.
tidal-listener> Call stack:
tidal-listener> CallStack (from HasCallStack):
tidal-listener> callStackDoc, called at compiler/GHC/Utils/Panic.hs:181:37 in ghc:GHC.Utils.Panic
tidal-listener> pprPanic, called at compiler/GHC/Tc/Utils/Env.hs:153:32 in ghc:GHC.Tc.Utils.Env
tidal-listener> Please report this as a GHC bug: https://www.haskell.org/ghc/reportabug |
Fix nix build for Tidal 2.0 (include hosc 0.20). Update nixpkgs input.
@mitchmindtree yep it'll take a some time to update tidal-parse. @polymorphicengine is working on fixing up tidal-listener builds, there's been some long running issues with the |
Hi, just checking in. Would you like me to add a commit to this PR to remove tidal-listener from the builds, so that the checks all pass? Or do you want to leave it in until it's fixed? |
yes, you can remove them for now! thanks! |
Alright! Sorry about the scope creep on this PR, and thanks @mitchmindtree for the nix changes! |
Thanks all, is this ready to merge @exitmouse ? |
All good on my end. 👍 |
Thanks again! |
This resolves the nix build issue encountered at tidalcycles#1022, mentioned in tidalcycles#1022 (comment). Namely, as Tidal 2.0 requires `hosc` `0.20` but nixpkgs currently only provides `0.19.1`, we temporarily include `hosc` `0.20` directly from its source. This commit also updates the nixpkgs pin to the latest version while we're at it.
I gather that
main
is unstable right now, and also it seems like most of the dev work is incycseq
. But...I was trying to get Tidal to build anyway, so I figured I'd attempt to send a minimal PR that makes the build commands work. With these changes, on my local machine I can run
and then both
cabal v2-test
andcabal v2-bench
run successfully. Hopefully that also means the CI will work.I'm not totally sure that the Arc benchmarks I deleted should be deleted, but I couldn't find 2.0.0 equivalents for those functions. Let me know if I should replace them.