You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm struggling to build this with old-style cabal:
alex@stanage:~/src/tidal$ cabal configure --enable-benchmarks
Warning: The configure command is a part of the legacy v1 style of cabal
usage.
Please switch to using either the new project style and the new-configure
command or the legacy v1-configure alias as new-style projects will become the
default in the next version of cabal-install. Please file a bug if you cannot
replicate a working v1- use case with the new-style commands.
For more information, see: https://wiki.haskell.org/Cabal/NewBuild
Resolving dependencies...
Warning: solver failed to find a solution:
Could not resolve dependencies:
[__0] trying: tidal-1.0.15 (user goal)
[__1] rejecting: tidal:!bench (constraint from config file, command line flag,
or user target requires opposite flag selection)
[__1] trying: tidal:*bench
[__2] unknown package: weigh (dependency of tidal *bench)
[__2] fail (backjumping, conflict set: tidal, weigh, tidal:bench)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: tidal, tidal:bench, weigh
Trying configure anyway.
Configuring tidal-1.0.15...
cabal: Encountered missing dependencies:
criterion -any, weigh -any
I haven't looked closely, but this seems to be related to this long-standing bug: haskell/cabal#1575
oh, I didn't actually run into that issue. I used the usual cabal install, and then the 'cabal configure --enable-benchmarks' which you tried, and that worked ok for me. I think at one point, after adding the weigh library it asked me to reinstall criterion but other than that there was nothing strange.
I just checked again now, and it's working ok for me, I attach a couple of screenshots of what I see when I run the benchmarks.
This works fine for me with vanilla cabal instructions now so much have been some problem with the particular versions I had. So closing for now, thanks !
I'm struggling to build this with old-style cabal:
I haven't looked closely, but this seems to be related to this long-standing bug: haskell/cabal#1575
@nini-faroux any ideas?
It does work with v2-bench though, e.g.
cabal v2-bench bench-speed
I didn't manage to work out how to add the
--time-limit=25
option though..The text was updated successfully, but these errors were encountered: