[commit: ghc] wip/andrey/windows-cabal: Hadrian: Use the Cabal build script on Windows by default (36a0402)
git at git.haskell.org
git at git.haskell.org
Thu Jan 10 22:36:38 UTC 2019
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/andrey/windows-cabal
Link : http://ghc.haskell.org/trac/ghc/changeset/36a04020db8d4ba5cf20354f5bb81b919605ad29/ghc
>---------------------------------------------------------------
commit 36a04020db8d4ba5cf20354f5bb81b919605ad29
Author: Andrey Mokhov <andrey.mokhov at gmail.com>
Date: Thu Jan 10 00:18:24 2019 +0000
Hadrian: Use the Cabal build script on Windows by default
The Stack build script `build.stack.bat` currently fails on Windows
when invoked with the `--configure` flag, see:
https://ghc.haskell.org/trac/ghc/ticket/15982
The Cabal build script `build.cabal.bat` works reliably on my Windows
machine, so I am proposing to switch to it by default, that is, to run
it from the default `build.bat` script.
The Stack build script can still be run directly if need be.
>---------------------------------------------------------------
36a04020db8d4ba5cf20354f5bb81b919605ad29
hadrian/build.bat | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/hadrian/build.bat b/hadrian/build.bat
index 01a869f..e71f886 100644
--- a/hadrian/build.bat
+++ b/hadrian/build.bat
@@ -1,6 +1,4 @@
@echo off
-setlocal
-cd %~dp0
-rem By default on Windows we build Hadrian using Stack
-./build.stack.bat %*
+rem By default on Windows we build Hadrian using Cabal
+hadrian/build.cabal.bat %*
More information about the ghc-commits
mailing list