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

[feature request] Something like Make's --dry #92

Open
osa1 opened this issue May 19, 2015 · 1 comment
Open

[feature request] Something like Make's --dry #92

osa1 opened this issue May 19, 2015 · 1 comment

Comments

@osa1
Copy link
Member

osa1 commented May 19, 2015

It seems like current hsbencher doesn't have something like this(also confirmed in a private communication).

It's useful for scenarios like this:

  • I have a hsbencher project with lots of sub-projects.
  • Project is old, so none of the sub-projects build by default. I need to tweak .cabal files. (normally I just use --allow-newer but there's no way to tell hsbencher that)
  • Since I can't know which projects hsbencher will be building, I need to run it and see how it's failing.
  • After fixing that project, I need to loop and see how hsbencher is failing now.

With --dry, I'd just run ./benchmark --dry and see what it's going to build, and fix all of them at once.

@rrnewton
Copy link
Member

FYI there should be some way to add "--allow-newer" to COMPILE_FLAGS so that it gets passed thrugh to the cabal install command for a cabal-built benchmark. Feel free to make this better documented or more discoverable if you see how.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants