This project is mirrored from https://github.com/haskell/Cabal.
Pull mirroring updated .
- 10 Sep, 2016 1 commit
-
-
ttuegel authored
-
- 09 Sep, 2016 4 commits
-
-
Mikhail Glushenkov authored
Compute profiling/shared based on library deps only.
-
Edward Z. Yang authored
Previously we'd build Cabal and custom setup dependencies with profiling even though it wasn't necessary. Using a refined dependency graph fixes the problem. If looking at a Graph with different set of neighbors becomes a common op, maybe we should add some functions to handle this specific case. Fixes #3789. Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
Edward Z. Yang authored
Track pkg-config deps in hash, fixes #3493.
-
Edward Z. Yang authored
Change default logfile template to use more unique name
-
- 08 Sep, 2016 12 commits
-
-
Edward Z. Yang authored
Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
Edward Z. Yang authored
Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
Edward Z. Yang authored
The key idea is that we define: type IO a = HasCallStack => Prelude.IO a and voila, call stacks are maintained across all IO! You can look at the stacks using -v"debug +callstack". There are a number of IO functions for which the call stack is never used. They are explicitly annotated using NoCallStackIO. Maybe some day they will use call stacks and we can change their types. Similarly, there are a number of functions which do have type IO, but then suppress the redundant constraint error using "_ = callStack". Maybe some day we will attach call stacks to the exceptions we throw. Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
Edward Z. Yang authored
This patch uses CallStack support in GHC 7.10 and GHC 8.0 to make it possible to get stack traces when we log output. This is the bare minimum to make this patch useful: there is plenty of tuning that can be done. For example: * Insertions of withFrozenCallStack can help make the "callsite" output more useful, though be careful, we lose all stack information at that point! * Insertions of 'WithVerbosity', which will let us get deeper stacks (at the moment, they are basically always 1-deep.) Fixes #3768. CC @23Skidoo Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
Edward Z. Yang authored
Tested by building glib and eyeballing cabal-hashes.txt. Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
Herbert Valerio Riedel authored
Specifically, this changes the default from `.../$pkgid.log` to `.../$compiler/$libname.log`, which avoids logfiles overwriting each other even though theyty refer to different artifacts, as well as aligning the format with `~/.cabal/store`'s structure. This addresses #3807
-
Edward Z. Yang authored
This reverts commit 798470a7.
-
Edward Z. Yang authored
Add support for executables to DSL, and failing test for #3775
-
Edward Z. Yang authored
Now that we have Sphinx docs, it is REALLY out of date. Fixes #1171. Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
Edward Z. Yang authored
Deduplicate nodeNeighbors in legacy codepath.
-
Mikhail Glushenkov authored
Add 'WeightedPSQ' and use it to sort package, flag, and stanza choices.
-
Edward Z. Yang authored
Error messages for package locations
-
- 07 Sep, 2016 12 commits
-
-
Edward Z. Yang authored
Prevents us from trying to build a package multiple times, when we should only build it once. This is basically 15dd8455 all over again, but for the legacy codepath. Fixes #3721. CC @tuncer Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
Edward Z. Yang authored
Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
Mikhail Glushenkov authored
Axe cabalPackageCacheDirectory, use projectConfigCacheDir, fixing #3392
-
Mikhail Glushenkov authored
Remove deprecated/obsolete projectConfigWorldFile, fixes #3749.
-
bardur.arantsson authored
Make default install plan printing more chatty
-
Duncan Coutts authored
-
Duncan Coutts authored
-
Mikhail Glushenkov authored
D.C.SrcDist: pass builddir to the setup script.
-
ttuegel authored
SetupWrapper: separate determining and running Setup
-
Edward Z. Yang authored
Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
Edward Z. Yang authored
Say a bit more about vendoring in local packages, CC @winterland1989
-
- 06 Sep, 2016 11 commits
-
-
Mikhail Glushenkov authored
Fixes #3794.
-
Edward Z. Yang authored
Add optimization level to build directory structure.
-
Edward Z. Yang authored
I am not sure why the original code did something insane, which may indicate a lurking bug. Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
Edward Z. Yang authored
Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
ttuegel authored
The two phases of setupWrapper (configuration and execution) are separated into the getSetup and runSetup functions. This allows us to skip configuration if the setup method is known; this is the case when running multiple commands in sequence or in the new-build system. Splitting the phases also allows us to choose which _command_ to run based on the Cabal version in use; setupWrapper demands a fixed choice of command and only allows the command _flags_ to vary depending on the version.
-
bardur.arantsson authored
Deduplicate build targets by storing them in a set.
-
Mikhail Glushenkov authored
Deprecate ProgramConfiguration et al.
-
Herbert Valerio Riedel authored
This patch defines 3 short linkeners, extlinks = { 'issue': ('https://github.com/haskell/cabal/issues/%s', '#'), 'ghc-wiki': ('http://ghc.haskell.org/trac/ghc/wiki/%s', ''), 'ghc-ticket': ('http://ghc.haskell.org/trac/ghc/ticket/%s', 'GHC #'), } See http://www.sphinx-doc.org/en/stable/ext/extlinks.html for more information as well as this diff for examples on how to use them.
-
Edward Z. Yang authored
Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
Mikhail Glushenkov authored
-
Mikhail Glushenkov authored
-