Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/haskell/Cabal. Pull mirroring updated .
  1. Sep 24, 2019
    • Oleg Grenrus's avatar
      Merge pull request #6252 from haskell/cpp-options-only-d-or-u · 550849fe
      Oleg Grenrus authored
      cabal check: cpp-options allows only -D and -U options
    • Oleg Grenrus's avatar
      cabal check: cpp-options allows only -D and -U options · a2f43f3e
      Oleg Grenrus authored
      Before:
      
      130113 files processed
      7304 have lexer/parser warnings
      332 build impossible
      9742 build warning
      49779 build dist suspicious
      38666 build dist suspicious warning
      11834 build dist inexcusable
      
      After:
      
      130113 files processed
      7304 have lexer/parser warnings
      332 build impossible
      10063 build warning
      49779 build dist suspicious
      38666 build dist suspicious warning
      11834 build dist inexcusable
      
      i.e. 321 build warnings on all Hackage
      
      Examples:
      
      NO_DEBUG_MODE                       -- forgotten -D?
      -traditional                        -- doesn't work, nor needed
      -fallow-undecidable-instances       -- wrong -options?
      -fno-exceptions
      -Wall
      -Werror
      --include=include/config.h          -- doesn't work
      -maes                               -- cpp is not C++ ?
      -mpclmul
      -mssse3
      a2f43f3e
  2. Sep 23, 2019
    • Toon Nolten's avatar
      Improve hs-source-dirs documentation (#6225) · 12a49040
      Toon Nolten authored and Daniel Gröber (dxld)'s avatar Daniel Gröber (dxld) committed
      * Add deprecated hs-source-dir
      
      I replaced the note about `hs-source-dir` being deprecated in the
      description of `hs-source-dirs` by a field of its own to include the
      `deprecated` and `removed` fields because it's no longer in 3.0.
      
      * Add note to hs-source-dirs about multiple components
      
      Source directories can be shared among components but there's a
      non-obvious caveat which I've tried to clarify with a note.
      
      * Clarify shared source dir note
      
      Modules in a shared source directory can inadvertently end up getting
      compiled multiple times.
      
      [ci skip]
      12a49040
  3. Sep 15, 2019
  4. Sep 08, 2019
  5. Sep 01, 2019
  6. Aug 31, 2019
  7. Aug 28, 2019
  8. Aug 27, 2019
  9. Aug 22, 2019
  10. Aug 20, 2019
  11. Aug 19, 2019
  12. Aug 15, 2019
  13. Aug 14, 2019
  14. Aug 09, 2019
  15. Aug 04, 2019
  16. Aug 03, 2019
  17. Aug 02, 2019
    • Ben Gamari's avatar
      parser: Clearly state that invalid fields are ignored · 438db945
      Ben Gamari authored and Oleg Grenrus's avatar Oleg Grenrus committed
      Previously we would issue a warning of the following form when
      we encountered a field that isn't supported by the cabal-version
      declared in the cabal file:
      
          Warning: ghc-heap.cabal:30:3: The field "cmm-sources" is available
          only since the Cabal specification version 3.0.
      
      The message, however, doesn't tell the user the consequence of this
      warning. Consequently a user could easily be confused when the build
      subsequently fail.
      
      Avoid this possibility by clearly stating that the field value will be
      ignored.
      438db945
    • Oleg Grenrus's avatar
      Merge pull request #6171 from haskell/spdx-3.6 · 3f15b324
      Oleg Grenrus authored
      Update to SPDX License List 3.6 2019-07-10
  18. Aug 01, 2019
  19. Jul 30, 2019
Loading