diff options
author | Edward Z. Yang <ezyang@cs.stanford.edu> | 2016-12-14 01:28:43 -0800 |
---|---|---|
committer | Edward Z. Yang <ezyang@cs.stanford.edu> | 2016-12-21 08:49:06 -0800 |
commit | ee4e1654c31b9c6f6ad9b19ece25f040bbbcbd72 (patch) | |
tree | 8f58c21ea66a817e384fceb01e930df00cb7e7a9 /testsuite/tests/cabal/shadow2.pkg | |
parent | 2189239872322dc363cc5f82e14ab5fb1a6d5b8c (diff) | |
download | haskell-ee4e1654c31b9c6f6ad9b19ece25f040bbbcbd72.tar.gz |
Support for abi-depends for computing shadowing.
Summary:
This is a complete fix based off of
ed7af26606b3a605a4511065ca1a43b1c0f3b51d for handling
shadowing and out-of-order -package-db flags simultaneously.
The general strategy is we first put all databases together,
overriding packages as necessary. Once this is done, we successfully
prune out broken packages, including packages which depend on a package
whose ABI differs from the ABI we need.
Our check gracefully degrades in the absence of abi-depends, as
we only check deps which are recorded in abi-depends.
Contains time and Cabal submodule update.
Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
Test Plan: validate
Reviewers: niteria, austin, bgamari
Subscribers: thomie
Differential Revision: https://phabricator.haskell.org/D2846
GHC Trac Issues: #12485
Diffstat (limited to 'testsuite/tests/cabal/shadow2.pkg')
-rw-r--r-- | testsuite/tests/cabal/shadow2.pkg | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/testsuite/tests/cabal/shadow2.pkg b/testsuite/tests/cabal/shadow2.pkg index 5cd54cca02..9f6410bc10 100644 --- a/testsuite/tests/cabal/shadow2.pkg +++ b/testsuite/tests/cabal/shadow2.pkg @@ -1,5 +1,7 @@ name: shadowdep version: 1 +abi: ddd id: shadowdep-1-XXX key: shadowdep-1-XXX depends: shadow-1-XXX +abi-depends: shadow-1-XXX=aaa |