Open
Description
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?