- Jun 09, 2017
-
-
GHC 8.2.1 appears to take significantly longer to compile the code and pushes us over the Travis job time limit.
-
-
Mikhail Glushenkov authored
[ci skip]
-
Mikhail Glushenkov authored
Fix test suite wobbliness on GHC 8.2.
-
Edward Z. Yang authored
-
- Jun 06, 2017
-
-
Edward Z. Yang authored
Here were the root causes: - Some tests involving Custom setpu showed MORE output (UseLocalPackageForSetup) when run on GHC 8.2. This is because GHC 8.2 ships a recent enough version of Cabal to know how to emit markers, which means we have started picking up the output. I hacked up these tests to not accept this output, but a more correct thing to do is figure out how to NOT request marking of a Setup script which is not the inplace install. This was a little tricky so I bailed. - GHC 8.2 no longer emits "It is a member of the hidden package". This broke CustomWithoutCabalDefaultMain. Not sure if this is a GHC regression but it's pretty harmless. - While I was at it, I fixed an inexhaustive pattern match in cabal-testsuite (though perhaps poorly; I couldn't figure out what the new constructor does.) Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
- Jun 05, 2017
-
-
Mikhail Glushenkov authored
Make new-haddock --haddock-for-hackage generate doc tarball
-
- Jun 04, 2017
-
-
Moritz Kiefer authored
fixes #4521
-
- May 29, 2017
-
-
kristenk authored
Add constraints and preferences to the solver QuickCheck tests, and add a new test.
-
Mikhail Glushenkov authored
[ci skip]
-
Mikhail Glushenkov authored
Workaround invalid .cabal files with Main modules in other-extensions
-
kristenk authored
-
kristenk authored
-
kristenk authored
The value was always Modular.
-
- May 25, 2017
-
-
Herbert Valerio Riedel authored
`other-modules` is intended for non-main modules (which is also stated in the cabal manual). Unfortunately, a few packages, such as `happy` do incorrectly specify `other-modules: Main` for their executables, thereby causing GHC to complain about duplicate Main modules. The workaround implemented here is to filter out the main module name (while taking into account `ghc-options: -main-is ...`) from the `other-modules` passed to GHC, and emit a warning in the process.
-
Joel Bitrauser authored
Refactor ProjectConfig Arbitrary instances
-
- May 24, 2017
-
-
Joel Bitrauser authored
-
- May 23, 2017
-
-
Joel Bitrauser authored
Use record syntax instead of positional arguments
-
Herbert Valerio Riedel authored
this should hopefully silence all 4 combinations of flag(lib) and flag(monolithic). `cabal-install.cabal` would greatly benefit from common stanzas (#2832) as it would help reduce the redundancy singnificantly.
-
Herbert Valerio Riedel authored
This was missed in the original commit because it requires a different flag(lib) setting...
-
Herbert Valerio Riedel authored
This allows us to use the versions of those two packages as bundled w/ GHC 8.2.1.
-
Mikhail Glushenkov authored
Pass -Wmissing-home-modules to all component types
-
Herbert Valerio Riedel authored
i.e. not only library components, but also executables, tests and benchmarks. This addresses the other half of #4528
-
Herbert Valerio Riedel authored
Pass `other-modules` to `ghc --make` for exe components
-
- May 22, 2017
-
-
Herbert Valerio Riedel authored
`gbuildSources` was introduced by a refactoring in 382143aa but there doesn't appear to be a good reason why the modules are only passed for a non-haskell main module. So this patch consistently passes `other-modules` to `ghc --make` for both variants of executables. Addresses part of #4528
-
- May 19, 2017
-
-
Herbert Valerio Riedel authored
Only the most recent 0.13.* release is compatible w/ GHC 8.2.1 and all its bundled library versions.
-
Herbert Valerio Riedel authored
Filter `+timestamp` out when invoking Cabal-2.0.0 custom-setups
-
Herbert Valerio Riedel authored
This appears to be somewhat redundant, since there's also the SetupWrapper hack in place which also filters out `+timestamp` for externally invoked commands other than `configure`, but it's "good style" to keep `filterConfigureFlags` in sync for the sake of consistency.
-
Herbert Valerio Riedel authored
The hack introduced in eb0593ed is now extended to filter out the verbosity +timestamp flag (see #4518) for Cabal versions prior to Cabal-2.1 which didn't yet support it.
-
Herbert Valerio Riedel authored
This will be used by a subsequent commit to disable the +timestamp verbosity flag for compatiblity with custom setups linked against Cabal-2.0.0 which didn't yet support this.
-
Herbert Valerio Riedel authored
Remove --allow-{newer,older} support from Cabal
-
Herbert Valerio Riedel authored
-
Herbert Valerio Riedel authored
-
Herbert Valerio Riedel authored
-
Mikhail Glushenkov authored
More accurate -Wmissing-home-modules version check.
-
- May 18, 2017
-
-
Herbert Valerio Riedel authored
This is a preparatory refactoring needed for future work such as #4203. I've refrained from doing additional cleanups in order to keep this a refactoring that mostly moves around blocks of code mostly unchanged (except for whitespace), and make it easier to review. This feature was originally implemented because its lack was complained about by Stack/Stackage developers. However, after it got implemented it was never really being used; what's more, it's causing us overhead for no benefit as well as blocking us improving the implementation via the likes of #4203. Closes #3581
-
Erik de Castro Lopo authored
cabal-install.cabal: Improve comments for monolithic flag
-
Erik de Castro Lopo authored
-
- May 16, 2017
-
-
Herbert Valerio Riedel authored
Implement `+timestamp` verbosity flag
-