Skip to content
Snippets Groups Projects
  1. Feb 01, 2023
  2. Jan 27, 2023
  3. Jan 26, 2023
  4. Jan 25, 2023
  5. Jan 06, 2023
  6. Dec 21, 2022
  7. Dec 15, 2022
  8. Dec 10, 2022
  9. Dec 09, 2022
  10. Dec 08, 2022
    • Cheng Shao's avatar
      hadrian: don't add debug info to non-debug ways of rts · 9ec76f61
      Cheng Shao authored and Marge Bot's avatar Marge Bot committed
      Hadrian used to pass -g when building all ways of rts. It makes output
      binaries larger (especially so for wasm backend), and isn't needed by
      most users out there, so this patch removes that flag. In case the
      debug info is desired, we still pass -g3 when building the debug way,
      and there's also the debug_info flavour transformer which ensures -g3
      is passed for all rts ways.
      9ec76f61
  11. Dec 06, 2022
    • sheaf's avatar
      Hadrian: fix ghcDebugAssertions off-by-one error · cd31acad
      sheaf authored and Marge Bot's avatar Marge Bot committed
      Commit 6b2f7ffe changed the logic that decided whether to enable debug
      assertions. However, it had an off-by-one error, as the stage parameter
      to the function inconsistently referred to the stage of the compiler
      being used to build or the stage of the compiler we are building.
      
      This patch makes it consistent. Now the parameter always refers to the
      the compiler which is being built.
      
      In particular, this patch re-enables
      assertions in the stage 2 compiler when building with devel2 flavour,
      and disables assertions in the stage 2 compiler when building with
      validate flavour.
      
      Some extra performance tests are now run in the "validate" jobs because
      the stage2 compiler no longer contains assertions.
      
      -------------------------
      Metric Decrease:
          CoOpt_Singletons
          MultiComponentModules
          MultiComponentModulesRecomp
          MultiLayerModulesTH_OneShot
          T11374
          T12227
          T12234
          T13253-spj
          T13701
          T14683
          T14697
          T15703
          T17096
          T17516
          T18304
          T18478
          T18923
          T5030
          T9872b
          TcPlugin_RewritePerf
      Metric Increase:
          MultiComponentModules
          MultiComponentModulesRecomp
          MultiLayerModules
          MultiLayerModulesRecomp
          MultiLayerModulesTH_Make
          T13386
          T13719
          T3294
          T9233
          T9675
          parsing001
      -------------------------
      cd31acad
  12. Nov 29, 2022
  13. Nov 23, 2022
    • Sylvain Henry's avatar
      Don't let configure perform trivial substitutions (#21846) · b5c71454
      Sylvain Henry authored and Marge Bot's avatar Marge Bot committed
      Hadrian now performs substitutions, especially to generate .cabal files
      from .cabal.in files. Two benefits:
      
      1. We won't have to re-configure when we modify thing.cabal.in. Hadrian
         will take care of this for us.
      
      2. It paves the way to allow the same package to be configured
         differently by Hadrian in the same session. This will be useful to
         fix #19174: we want to build a stage2 cross-compiler for the host
         platform and a stage1 compiler for the cross target platform in the
         same Hadrian session.
      b5c71454
  14. Nov 22, 2022
  15. Nov 16, 2022
    • Krzysztof Gogolewski's avatar
      Misc cleanup · 37cfe3c0
      Krzysztof Gogolewski authored and Marge Bot's avatar Marge Bot committed
      * Replace catMaybes . map f with mapMaybe f
      * Use concatFS to concatenate multiple FastStrings
      * Fix documentation of -exclude-module
      * Cleanup getIgnoreCount in GHCi.UI
      37cfe3c0
  16. Nov 11, 2022
    • Cheng Shao's avatar
      Add support for the wasm32-wasi target tuple · df7bfef8
      Cheng Shao authored and Marge Bot's avatar Marge Bot committed
      This patch adds the wasm32-wasi tuple support to various places in the
      tree: autoconf, hadrian, ghc-boot and also the compiler. The codegen
      logic will come in subsequent commits.
      df7bfef8
    • Cheng Shao's avatar
      hadrian: add targetSupportsThreadedRts flag · 2e6ab453
      Cheng Shao authored and Marge Bot's avatar Marge Bot committed
      This patch adds a targetSupportsThreadedRts flag to indicate whether
      the target supports the threaded rts at all, different from existing
      targetSupportsSMP that checks whether -N is supported by the RTS. All
      existing flavours have also been updated accordingly to respect this
      flags.
      
      Some targets (e.g. wasm32-wasi) does not support the threaded rts,
      therefore this flag is needed for the default flavours to work. It
      makes more sense to have proper autoconf logic to check for threading
      support, but for the time being, we just set the flag to False iff the
      target is wasm32.
      2e6ab453
    • Cheng Shao's avatar
      hadrian: add -Wwarn only for cross-compiling unix · f5dfd1b4
      Cheng Shao authored and Marge Bot's avatar Marge Bot committed
      f5dfd1b4
  17. Nov 05, 2022
    • Matthew Pickering's avatar
      Bump unix submodule to 2.8.0.0 · e41b2f55
      Matthew Pickering authored and Cheng Shao's avatar Cheng Shao committed
      Also bumps process and ghc-boot bounds on unix.
      
      For hadrian, when cross-compiling, we add -Wwarn=unused-imports
      -Wwarn=unused-top-binds to validation flavour. Further fixes in unix
      and/or hsc2hs is needed to make it completely free of warnings; for
      the time being, this change is needed to unblock other
      cross-compilation related work.
      e41b2f55
  18. Nov 04, 2022
  19. Oct 28, 2022
  20. Oct 22, 2022
Loading