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

clash-dev needs clash-lib to be compiled #486

Open
leonschoorl opened this issue Jan 29, 2019 · 0 comments
Open

clash-dev needs clash-lib to be compiled #486

leonschoorl opened this issue Jan 29, 2019 · 0 comments
Labels
papercut Small quality-of-life issues

Comments

@leonschoorl
Copy link
Member

When using the clash-dev script I occasionally run into:

*** Exception: Encountered compilation errors while compiling blackbox template function "BBFN<Clash.Primitives.Intel.ClockGen.altpllTF>" for function "Clash.Intel.ClockGen.altpll". Compilation reported: 

<no location info>: error:
    module ‘Clash.Primitives.Intel.ClockGen’ cannot be found locally
CallStack (from HasCallStack):
  error, called at clash-lib/src/Clash/Driver.hs:470:5 in main:Clash.Driver

This can be fixed with a cabal new-build clash-lib.
But it's kind of frustrating because the point of clash-dev is to not have to do the whole cabal build.
And also I'm not even using the ClockGen primitives.

Maybe we could lazily compile primitives?

@martijnbastiaan martijnbastiaan added the papercut Small quality-of-life issues label Feb 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
papercut Small quality-of-life issues
Projects
None yet
Development

No branches or pull requests

2 participants