summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2008-10-03 14:02:16 +0000
committerIan Lynagh <igloo@earth.li>2008-10-03 14:02:16 +0000
commit1f3a7730cd7f831344d2a3b74a0ce700c382e858 (patch)
treefc77a60a3cde863e0beb8810f48330200f455e22 /libraries
parent08a9d7341402232672fcff9062454e6ba1ae8bd1 (diff)
downloadhaskell-1f3a7730cd7f831344d2a3b74a0ce700c382e858.tar.gz
Use an extensible-exceptions package when bootstrapping
Ifdefs for whether we had extensible exceptions or not were spreading through GHC's source, and things would only have got worse for the next 2-3 years, so instead we now use an implementation of extensible exceptions built on top of the old exception type.
Diffstat (limited to 'libraries')
-rw-r--r--libraries/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/libraries/Makefile b/libraries/Makefile
index 43220f6854..01dd45b8ef 100644
--- a/libraries/Makefile
+++ b/libraries/Makefile
@@ -135,6 +135,10 @@ cabal-bin: cabal-bin.hs
bootstrapping.conf: cabal-bin
echo "[]" > $@.tmp
+ -cd extensible-exceptions && $(CABAL) clean --distpref=dist-bootstrapping
+ cd extensible-exceptions && $(CABAL) configure --distpref=dist-bootstrapping --with-compiler=$(GHC) --with-hc-pkg=$(GHC_PKG) --package-db=$(HERE_ABS)/$@.tmp
+ cd extensible-exceptions && $(CABAL) build --distpref=dist-bootstrapping
+ cd extensible-exceptions && $(CABAL) install --distpref=dist-bootstrapping --inplace
-cd filepath && $(CABAL) clean --distpref=dist-bootstrapping
cd filepath && $(CABAL) configure --distpref=dist-bootstrapping --with-compiler=$(GHC) --with-hc-pkg=$(GHC_PKG) --package-db=$(HERE_ABS)/$@.tmp
cd filepath && $(CABAL) build --distpref=dist-bootstrapping