@@ -221,6 +221,25 @@ weeder :
221221tags :
222222 hasktags -b Cabal/src Cabal/Cabal-described/src cabal-install/src cabal-testsuite/src
223223
224+ # boostrapping
225+ # #############################################################################
226+
227+ bootstrap-plans-linux : phony
228+ @if [ $$ (uname) != " Linux" ]; then echo " Not Linux" ; false ; fi
229+ cabal v2-build --project=cabal.project.release --with-compiler ghc-8.6.5 --dry-run cabal-install:exe:cabal
230+ cp dist-newstyle/cache/plan.json bootstrap/linux-8.6.5.plan.json
231+ cabal v2-build --project=cabal.project.release --with-compiler ghc-8.8.3 --dry-run cabal-install:exe:cabal
232+ cp dist-newstyle/cache/plan.json bootstrap/linux-8.8.3.plan.json
233+ cabal v2-build --project=cabal.project.release --with-compiler ghc-8.10.1 --dry-run cabal-install:exe:cabal
234+ cp dist-newstyle/cache/plan.json bootstrap/linux-8.10.1.plan.json
235+
236+ bootstrap-jsons-linux : phony
237+ @if [ $$ (uname) != " Linux" ]; then echo " Not Linux" ; false ; fi
238+ cabal v2-build --builddir=dist-newstyle-bootstrap --project=cabal.project.bootstrap cabal-bootstrap-gen
239+ cabal v2-run -vnormal+stderr --builddir=dist-newstyle-bootstrap --project=cabal.project.bootstrap cabal-bootstrap-gen -- bootstrap/linux-8.6.5.plan.json | python -m json.tool | tee bootstrap/linux-8.6.5.json
240+ cabal v2-run -vnormal+stderr --builddir=dist-newstyle-bootstrap --project=cabal.project.bootstrap cabal-bootstrap-gen -- bootstrap/linux-8.8.3.plan.json | python -m json.tool | tee bootstrap/linux-8.8.3.json
241+ cabal v2-run -vnormal+stderr --builddir=dist-newstyle-bootstrap --project=cabal.project.bootstrap cabal-bootstrap-gen -- bootstrap/linux-8.10.1.plan.json | python -m json.tool | tee bootstrap/linux-8.10.1.json
242+
224243# documentation
225244# #############################################################################
226245
@@ -238,5 +257,3 @@ $(USERGUIDE_STAMP) : doc/*.rst
238257.python-sphinx-virtualenv :
239258 python3 -m venv .python-sphinx-virtualenv
240259 (. ./.python-sphinx-virtualenv/bin/activate)
241-
242-
0 commit comments