Skip to content

hadrian: prof flavour is broken

Running ./hadrian/build.sh -j --flavour=prof fails because hadrian doesn't build the profiledDynamic way.

For instance, you get an error like the following:

  Error when running Shake build system:

    at action, called at src/Rules.hs:68:19 in main:Rules

    at need, called at src/Rules.hs:85:5 in main:Rules

  * Depends on: _build/stage1/bin/ghc

    at need, called at src/Utilities.hs:71:18 in main:Utilities

  * Depends on: _build/stage1/libraries/ghc-prim/build/libHSghc-prim-0.6.1_p-ghc8.9.20190408.so

    at need, called at src/Rules/Library.hs:121:5 in main:Rules.Library

  * Depends on: _build/stage1/libraries/ghc-prim/build/GHC/IntWord64.p_dyn_o

    at error, called at src/Hadrian/Oracles/TextFile.hs:65:20 in main:Hadrian.Oracles.TextFile

  * Raised the exception:

  No dependencies found for file '_build/stage1/libraries/ghc-prim/build/GHC/IntWord64.p_dyn_o'

This was probably broken by @DavidEichmann's work on the dynamic way.

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