Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/haskell/Cabal. Pull mirroring updated .
  1. Jul 18, 2023
    • Matthew Pickering's avatar
      Add support for using GHC's -jsem option · 0a1c167a
      Matthew Pickering authored and Ben Gamari's avatar Ben Gamari committed
      * The top-level user interface to enable the use of the semaphore is the
        `--semaphore` flag. If you pass `-j4 --semaphore` then cabal will
        create a semaphore with 4 slots which is passed to ghc using the
        `-jsem` option so that all GHC processes coordinate to use 4
        capabilities.
      
        - The semaphore logic is provided by a new package `semaphore-compat`
          which provides a cross-platform abstraction for semaphores.
      
      * The low level `./Setup.hs build` interface accepts the `--semaphore
        <SEMAPHORE>` option, which can be used to directly pass the semaphore
        you require to the Setup script.
      0a1c167a
    • Hécate Moonlight's avatar
      Fix tests · 249374d1
      Hécate Moonlight authored and Artem Pelenitsyn's avatar Artem Pelenitsyn committed
      249374d1
    • Ben Gamari's avatar
      cabal-install: Fix non-reinstallable package set · 2e32a44f
      Ben Gamari authored and Artem Pelenitsyn's avatar Artem Pelenitsyn committed
      In #9064 we discovered that `ghc-boot` was added to the
      non-reinstallable package set due to #8051 despite there being no
      reason why it can't be built from its source distribution. This
      revealed the fact that there is quite some ambiguity around what
      constitutes a non-reinstallable package.
      
      In #9064 we worked out a hopefully-more-clear picture of
      non-reinstallability. Here we update the commentary to describe this
      concept and update the lists to reflect the new definition.
      
      Closes #9064.
      2e32a44f
    • Artem Pelenitsyn's avatar
      Mergify: add no-rebase rule · 6af0c085
      Artem Pelenitsyn authored
      If a pull request gets the "merge+no rebase" label, it' will be merged directly to master without a rebase/squash or queue. This can be useful in cases when contributors don't allow updating their branches.
      6af0c085
    • Phil de Joux's avatar
      Follow hlint suggestion: redundant where · 20c480a6
      Phil de Joux authored and Artem Pelenitsyn's avatar Artem Pelenitsyn committed
      20c480a6
  2. Jul 16, 2023
  3. Jul 14, 2023
  4. Jul 13, 2023
  5. Jul 12, 2023
  6. Jul 11, 2023
  7. Jul 10, 2023
    • Phil de Joux's avatar
      Create default hlint configuration (with tidy up) · 31ae312d
      Phil de Joux authored and Artem Pelenitsyn's avatar Artem Pelenitsyn committed
      * hlint --default -j . > .hlint.yaml
      
      * Ignore modules that #include "MachDeps.h"
      
        Warning: Can't find file "MachDeps.h" in directories
      	./cabal-testsuite/PackageTests/CmmSources/src
      	.
        Asked for by: ./cabal-testsuite/PackageTests/CmmSources/src/Demo.hs  at line 8 col 1
      
        Warning: Can't find file "MachDeps.h" in directories
      	./cabal-testsuite/PackageTests/CmmSourcesDyn/src
      	.
        Asked for by: ./cabal-testsuite/PackageTests/CmmSourcesDyn/src/Demo.hs  at line 8 col 1
      
      * Ignore the manually generated Lexer.hs
      
      	templates/Lexer.x:10:1-20: Warning: Use fewer LANGUAGE pragmas
      	Found:
      	  {-# LANGUAGE CPP #-}
      	  {-# LANGUAGE CPP #-}
      
      	Perhaps:
      	  {-# LANGUAGE CPP #-}
      
      	1 hint
      
      * Ignore templates/Paths_pkg.template.hs for its parse error
      
      * Ignore templates/SPDX*.hs for their parse errors
      
      * Add a linting workflow and rename the formatting one
      
      * Redo default configuration with hlint-3.5
      
      	I had mistakenly used a development build before:
      
      	$ hlint --version
      	HLint v3.6.20230213, (C) Neil Mitchell 2006-2022
      
      * Shorten github workflow
      31ae312d
  8. Jul 09, 2023
  9. Jul 08, 2023
  10. Jul 06, 2023
  11. Jul 05, 2023
  12. Jul 03, 2023
Loading