Skip to content
Snippets Groups Projects
  1. Feb 01, 2023
  2. Jan 10, 2023
  3. Jan 06, 2023
  4. Dec 21, 2022
  5. Nov 11, 2022
  6. Aug 26, 2022
  7. Aug 07, 2022
    • Ben Gamari's avatar
      hadrian: Don't use mk/config.mk.in · afa584a3
      Ben Gamari authored
      Ultimately we want to drop mk/config.mk so here I extract the bits
      needed by the Hadrian bindist installation logic into a Hadrian-specific
      file. While doing this I fixed binary distribution installation, #21901.
      afa584a3
    • Ben Gamari's avatar
      hadrian: Fix binary distribution install attributes · 09bca1de
      Ben Gamari authored and Marge Bot's avatar Marge Bot committed
      Previously we would use plain `cp` to install various parts of the
      binary distribution. However, `cp`'s behavior w.r.t. file attributes is
      quite unclear; for this reason it is much better to rather use
      `install`.
      
      Fixes #21965.
      09bca1de
  8. Jul 18, 2022
  9. Jul 04, 2022
    • Matthew Pickering's avatar
      hadrian: Add --haddock-base-url option for specifying base-url when generating docs · d002c6e0
      Matthew Pickering authored and Marge Bot's avatar Marge Bot committed
      The motiviation for this flag is to be able to produce documentation
      which is suitable for uploading for hackage, ie, the cross-package links
      work correctly.
      
      There are basically three values you want to set this to:
      
      * off - default, base_url = ../%pkg% which works for local browsing
      * on - no argument , base_url = https:://hackage.haskell.org/package/%pkg%/docs - for hackage docs upload
      * on - argument, for example, base_url = http://localhost:8080/package/%pkg%/docs for testing the documentation.
      
      The `%pkg%` string is a template variable which is replaced with the
      package identifier for the relevant package.
      
      This is one step towards fixing #21749
      d002c6e0
  10. May 26, 2022
  11. May 19, 2022
    • Ben Gamari's avatar
      configure: Check CC_STAGE0 for --target support · 35bdab1c
      Ben Gamari authored and Marge Bot's avatar Marge Bot committed
      We previously only checked the stage 1/2 compiler
      for --target support. We got away with this for quite a while but it
      eventually caught up with us in #21579, where `bytestring`'s new NEON
      implementation was unbuildable on Darwin due to Rosetta's seemingly
      random logic for determining which executable image to execute. This
      lead to a confusing failure to build `bytestring`'s cbits, when `clang`
      tried to compile NEON builtins while targetting x86-64.
      
      Fix this by checking CC_STAGE0 for --target support.
      
      Fixes #21579.
      35bdab1c
  12. May 17, 2022
    • Ben Gamari's avatar
      Introduce package to capture dependency on C++ stdlib · 0ef249aa
      Ben Gamari authored and Marge Bot's avatar Marge Bot committed
      Here we introduce a new "virtual" package into the initial package
      database, `system-cxx-std-lib`. This gives users a convenient, platform
      agnostic way to link against C++ libraries, addressing #20010.
      
      Fixes #20010.
      0ef249aa
    • Ben Gamari's avatar
      driver: Introduce pgmcxx · fb579e15
      Ben Gamari authored and Marge Bot's avatar Marge Bot committed
      Here we introduce proper support for compilation of C++ objects. This
      includes:
      
       * logic in `configure` to detect the C++ toolchain and propagating this
         information into the `settings` file
       * logic in the driver to use the C++ toolchain when compiling C++
         sources
      fb579e15
  13. May 11, 2022
  14. Apr 06, 2022
  15. Mar 07, 2022
  16. Nov 27, 2021
  17. Oct 31, 2021
  18. Oct 20, 2021
  19. Oct 13, 2021
  20. Sep 23, 2021
  21. Sep 22, 2021
  22. Sep 11, 2021
  23. Jul 27, 2021
  24. Mar 17, 2021
    • Ben Gamari's avatar
      llvmGen: Accept range of LLVM versions · 84927818
      Ben Gamari authored and Marge Bot's avatar Marge Bot committed
      Previously we would support only one LLVM major version. Here we
      generalize this to accept a range, taking this range to be LLVM 10 to 11,
      as 11 is necessary for Apple M1 support. We also accept 12, as that is
      what apple ships with BigSur on the M1.
      84927818
  25. Dec 23, 2020
  26. Dec 12, 2020
  27. Aug 05, 2020
    • Ben Gamari's avatar
      Refactor handling of object merging · 53ce0db5
      Ben Gamari authored and Marge Bot's avatar Marge Bot committed
      Previously to merge a set of object files we would invoke the linker as
      usual, adding -r to the command-line. However, this can result in
      non-sensical command-lines which causes lld to balk (#17962).
      
      To avoid this we introduce a new tool setting into GHC, -pgmlm, which is
      the linker which we use to merge object files.
      53ce0db5
  28. Jul 23, 2020
    • Sylvain Henry's avatar
      Replace ghcWithNativeCodeGen with a proper Backend datatype · 735f9d6b
      Sylvain Henry authored and Marge Bot's avatar Marge Bot committed
      * Represent backends with a `Backend` datatype in GHC.Driver.Backend
      
      * Don't detect the default backend to use for the target platform at
        compile time in Hadrian/make but at runtime. It makes "Settings"
        simpler and it is a step toward making GHC multi-target.
      
      * The latter change also fixes hadrian which has not been updated to
        take into account that the NCG now supports AIX and PPC64 (cf
        df26b955 and
        d3c1dda6)
      
      * Also we don't treat iOS specifically anymore (cf
        cb4878ff)
      735f9d6b
  29. Apr 01, 2020
  30. Feb 14, 2020
  31. Jan 07, 2020
  32. Jan 04, 2020
  33. Nov 06, 2019
  34. Oct 30, 2019
  35. Sep 05, 2019
Loading