[commit: ghc] wip/nfs-locking: Keep experimenting with cabal folder. (d913235)

git at git.haskell.org git at git.haskell.org
Fri Oct 27 00:28:26 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/nfs-locking
Link       : http://ghc.haskell.org/trac/ghc/changeset/d913235b1f6e907a63ee8974e1f09c20b711bf0a/ghc

>---------------------------------------------------------------

commit d913235b1f6e907a63ee8974e1f09c20b711bf0a
Author: Andrey Mokhov <andrey.mokhov at gmail.com>
Date:   Wed Jan 6 22:44:46 2016 +0000

    Keep experimenting with cabal folder.
    
    See #110. [skip ci]


>---------------------------------------------------------------

d913235b1f6e907a63ee8974e1f09c20b711bf0a
 .appveyor.yml | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/.appveyor.yml b/.appveyor.yml
index a3dd1ef..751bc1f 100644
--- a/.appveyor.yml
+++ b/.appveyor.yml
@@ -1,22 +1,23 @@
 clone_folder: "C:\\msys64\\home\\ghc\\shake-build"
 
 cache:
-    - "C:\\msys64\\home\\ghc\\.cabal"
+    - "C:\\msys64\\home\\cabal"
 
 install:
     - set MSYSTEM=MINGW64
     - set PATH=C:\msys64\mingw64\bin;C:\msys64\usr\local\bin;C:\msys64\usr\bin;%PATH%
     - bash -lc "pacman -S --noconfirm git binutils p7zip gcc"
     - bash -lc "curl -LsS http://www.haskell.org/ghc/dist/7.10.1/ghc-7.10.1-x86_64-unknown-mingw32.tar.xz | tar -xJ -C /mingw64 --strip-components=1"
-    - bash -lc "mkdir -p /home/ghc/.cabal"
+    - bash -lc "mkdir -p /home/cabal"
+    - bash -lc "chmod -R 777 /home/cabal"
     - bash -lc "mkdir -p /usr/local"
     - bash -lc "mkdir -p /usr/local/bin"
     - bash -lc "curl -LsS https://www.haskell.org/cabal/release/cabal-install-1.22.0.0/cabal-1.22.0.0-i386-unknown-mingw32.tar.gz | tar -xz -C /usr/local/bin"
     - bash -lc "mv /usr/local/bin/cabal-1.22.0.0-i386-unknown-mingw32.exe /usr/local/bin/cabal.exe"
-    - bash -lc "cabal --config-file=/home/ghc/.cabal update"
-    - bash -lc "cabal --config-file=/home/ghc/.cabal install -j --prefix=/usr/local alex happy"
+    - bash -lc "cabal --config-file=/home/cabal update"
+    - bash -lc "cabal --config-file=/home/cabal install -j --prefix=/usr/local alex happy"
     - bash -lc "git clone --recursive git://git.haskell.org/ghc.git /home/ghc"
-    - bash -lc "cd /home/ghc/shake-build && cabal --config-file=/home/ghc/.cabal install --only-dependencies"
+    - bash -lc "cd /home/ghc/shake-build && cabal --config-file=/home/cabal install --only-dependencies"
 
 build_script:
     - bash -lc "cd /home/ghc && ./boot"



More information about the ghc-commits mailing list