Skip to content
  • Matthew Pickering's avatar
    851772e1
    Cabal: Take into account compilerBuildWay when computing final library ways · 851772e1
    Matthew Pickering authored
    In the profiling dynamic patch I made a mistake when computing the
    needed ways for a build.
    
    When building an executable, the Haskell modules need to be built
    
    * For the final link way
    * For the build way of the compiler if TH is enabled
    
    Before this patch, the modules were being built for all the configured
    library ways, which built modules in more configurations than the
    previous version of Cabal.
    
    Fixes #10418
    
    (cherry picked from commit 27c26688)
    851772e1
    Cabal: Take into account compilerBuildWay when computing final library ways
    Matthew Pickering authored
    In the profiling dynamic patch I made a mistake when computing the
    needed ways for a build.
    
    When building an executable, the Haskell modules need to be built
    
    * For the final link way
    * For the build way of the compiler if TH is enabled
    
    Before this patch, the modules were being built for all the configured
    library ways, which built modules in more configurations than the
    previous version of Cabal.
    
    Fixes #10418
    
    (cherry picked from commit 27c26688)
Loading