[Git][ghc/ghc][wip/test] Backport get-win32-tarballs configure changes

Ben Gamari gitlab at gitlab.haskell.org
Thu Mar 19 13:36:11 UTC 2020



Ben Gamari pushed to branch wip/test at Glasgow Haskell Compiler / GHC


Commits:
b9fb1ac4 by Ben Gamari at 2020-03-19T13:36:05Z
Backport get-win32-tarballs configure changes

- - - - -


2 changed files:

- configure.ac
- mk/get-win32-tarballs.py


Changes:

=====================================
configure.ac
=====================================
@@ -347,7 +347,7 @@ set_up_tarballs() {
     else
         action="download"
     fi
-    mk/get-win32-tarballs.sh $action $HostArch > missing-win32-tarballs
+    $PYTHON mk/get-win32-tarballs.py $action $mingw_arch > missing-win32-tarballs
     case $? in
         0)
            rm missing-win32-tarballs
@@ -359,7 +359,7 @@ set_up_tarballs() {
            echo
            echo "  * run configure with the --enable-tarballs-autodownload option"
            echo
-           echo "  * run mk/get-win32-tarballs.sh download ${HostArch}"
+           echo "  * run mk/get-win32-tarballs.py download $mingw_arch"
            echo
            echo "  * manually download the files listed in ./missing-win32-tarballs and place"
            echo "    them in the ghc-tarballs directory."


=====================================
mk/get-win32-tarballs.py
=====================================
@@ -8,7 +8,6 @@ import argparse
 
 TARBALL_VERSION = '0.1'
 BASE_URL = "https://downloads.haskell.org/ghc/mingw/{}".format(TARBALL_VERSION)
-BASE_URL = "http://home.smart-cactus.org/~ben/ghc/mingw/{}".format(TARBALL_VERSION)
 DEST = Path('ghc-tarballs/mingw-w64')
 ARCHS = ['i686', 'x86_64', 'sources']
 



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/commit/b9fb1ac47c1e282e8f07311462e922c19f4f69a5

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/commit/b9fb1ac47c1e282e8f07311462e922c19f4f69a5
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20200319/68d47350/attachment-0001.html>


More information about the ghc-commits mailing list