Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/haskell/Cabal. Pull mirroring updated .
  1. Jul 07, 2024
    • Rodrigo Mesquita's avatar
      Lookup main-is C sources in hs-source-dirs · e817c2fe
      Rodrigo Mesquita authored
      
      In the 2decb0e7 refactor we stopped
      looking for non-Haskell `main-is` files in the hs-source-dirs and other
      appropriate directories. This commit fixes that oversight.
      
      Even if it is not intuitive that main-is-C-sources are searched in the
      hs-source-dirs, we don't wish to break users relying on this behaviour
      as there does not exist that strong of a motivation to do so.
      
      Fixes #10168
      
      Co-authored-by: sheaf's avatarsheaf <sam.derbyshire@gmail.com>
      e817c2fe
  2. Jul 06, 2024
  3. Jul 04, 2024
  4. Jul 03, 2024
  5. Jul 01, 2024
  6. Jun 30, 2024
  7. Jun 28, 2024
  8. Jun 27, 2024
  9. Jun 26, 2024
  10. Jun 25, 2024
    • mergify[bot]'s avatar
      Merge pull request #10114 from jasagredo/js/io-manager-lib-suite-windows · bf6f26dc
      mergify[bot] authored
      Use `--io-manager=native` in `lib-suite` on Windows
    • Javier Sagredo's avatar
      a562b57d
    • mergify[bot]'s avatar
      Changelogs for 3.12.1.0 (backport #10124) (#10132) · ffcadaa3
      mergify[bot] authored
      
      * Changelogs for 3.12.1.0 (#10124)
      
      * changelog for 3.12.1.0
      
      * fixup! changelog for 3.12.1.0
      
      * fixup! Changelogs for 3.12.1.0
      
      Co-authored-by: default avatarArtem Pelenitsyn <a.pelenitsyn@gmail.com>
      
      * fixup! changelog for 3.12.1.0
      
      * fixup! changelog for 3.12.1.0
      
      * fixup! Changelogs for 3.12.1.0
      
      Co-authored-by: default avatarffaf1 <fa-ml@ariis.it>
      
      * fixup! Changelogs for 3.12.1.0
      
      * fixup! Changelogs for 3.12.1.0
      
      * fixup! Changelogs for 3.12.1.0
      
      ---------
      
      Co-authored-by: default avatarArtem Pelenitsyn <a.pelenitsyn@gmail.com>
      Co-authored-by: default avatarffaf1 <fa-ml@ariis.it>
      (cherry picked from commit 2067ed19)
      
      # Conflicts:
      #	release-notes/Cabal-3.12.0.0.md
      
      * fixup! Changelogs for 3.12.1.0 (backport #10124)
      
      ---------
      
      Co-authored-by: Brandon S. Allbery's avatarbrandon s allbery kf8nh <allbery.b@gmail.com>
      Co-authored-by: default avatarmergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
    • mergify[bot]'s avatar
      Merge pull request #9900 from mpickering/wip/prof_dyn · 06f4155e
      mergify[bot] authored
      Add support for building profiled dynamic way
    • Matthew Pickering's avatar
      Add support for profiled dynamic way · 497a220e
      Matthew Pickering authored
      New options for cabal.project and ./Setup interface:
      
      * `profiling-shared`: Enable building profiling dynamic way
      * Passing `--enable-profiling` and `--enable-executable-dynamic` builds
        profiled dynamic executables.
      
      Support for using `profiling-shared` is guarded behind a constraint
      which ensures you are using `Cabal >= 3.13`.
      
      In the cabal file:
      
      * `ghc-prof-shared-options`, for passing options when building in
        profiling dynamic way
      
      Other miscellenious fixes and improvements
      
      * Some refactoring around ways so that which
        ways we should build for a library, foreign library and executable is
        computed by the `buildWays` function (rather than ad-hoc in three
        different places).
      
      * Improved logic for detecting whether a compiler supports compiling
        a specific way. See functions `profilingVanillaSupported`,
        `dynamicSupported`, `profilingDynamicSupported` etc
        These functions report accurate infomation after ghc-9.10.1.
      
      * Fixed logic for determining whether to build shared libraries. (see
        #10050)
        Now, if you explicitly enable `--*-shared`, then that will always take
        effect. If it's not specified then `--enable-executable-dynamic` will
        turn on shared libraries IF `--enable-profiling` is not enabled.
      
      * Remove assumption that dynamically linked compilers can build dynamic
        libraries (they might be cross compilers.
      
      * Query the build compiler to determine which library way is necessary
        to be built for TH support to work.
        (rather than assume all compilers are dynamically linked)
      
      * An extensive test which checks how options for `./Setup` and
        `cabal-install` are translated into build ways.
      
      Fixes #4816, #10049, #10050
      497a220e
  11. Jun 24, 2024
  12. Jun 23, 2024
  13. Jun 20, 2024
  14. Jun 19, 2024
  15. Jun 18, 2024
Loading