Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/haskell/Cabal. Pull mirroring updated .
  1. Oct 13, 2020
    • Oleg Grenrus's avatar
      Move tests from Cabal to Cabal-tests package · 579bff0c
      Oleg Grenrus authored
      The are various motivation points:
      - I'm not aware anyone third party running Cabal tests (maybe nixpkgs?)
      - No need to do gen-extra-source-files, as Cabal-tests is not distributed
      - No multiple rebuilds of Cabal-QuickCheck, Cabal-tree-diff
      - Slightly smaller Cabal sdist (which is quite big still)
      579bff0c
  2. Sep 24, 2019
    • 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
Loading