Skip to content

`Module not found` output in testsuite from checking for profiling libs looks missleadingly like an error message.

When running the testsuite for a validate build I got this output while building testsuite dependencies:

    Could not find module ‘Prelude’
    Perhaps you haven't installed the profiling libraries for package ‘base-4.16.0.0’?
    Use -v (or `:set -v` in ghci) to see a list of the files searched for.
  |
2 | module Main where
  |        ^^^^

The validate flavour includes profiling libs so not sure why this happens. It also doesn't seem to affect anything.

I've built the branch using hadrian/build --flavour=validate -o_validate -j7 test

Edit: It seems we actually don't have prof libs in the validate flavour. So it's merely a missleading message as it looks like an error but works as intended.

Edited by Andreas Klebinger
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information