|
1 |
| -(new-object net.webclient).DownloadFile("http://cygwin.com/setup-x86_64.exe", "C:\cygwin\setup-x86_64.exe") |
| 1 | +(new-object net.webclient).DownloadFile( |
| 2 | + "http://cygwin.com/setup-x86_64.exe", "C:\cygwin\setup-x86_64.exe") |
2 | 3 | foreach ($pkg in @("make","curl","patch","python","gcc-g++","m4","p7zip",
|
3 | 4 | "mingw64-i686-gcc-g++","mingw64-i686-gcc-fortran",
|
4 | 5 | "mingw64-x86_64-gcc-g++","mingw64-x86_64-gcc-fortran")) {
|
5 | 6 | Write-Host $("Installing "+$pkg)
|
6 | 7 | & C:\cygwin\setup-x86_64.exe -q -n -g -P $pkg >$null 2>&1
|
7 | 8 | }
|
8 |
| -& git config --global core.autocrlf input |
9 |
| -C:\cygwin\bin\sh -lc "git clone git://github.com/JuliaLang/julia.git julia32 && \ |
10 |
| - cd julia32 && git submodule init && git submodule update && \ |
11 |
| - XC_HOST=i686-w64-mingw32 make -j2 -C deps" |
12 |
| -C:\cygwin\bin\sh -lc "git clone git://github.com/JuliaLang/julia.git julia64 && \ |
13 |
| - cd julia64 && git submodule init && git submodule update && \ |
14 |
| - XC_HOST=x86_64-w64-mingw32 make -j2 -C deps" |
| 9 | +C:\cygwin\bin\sh -lc "git config --global core.autocrlf input" |
| 10 | +C:\cygwin\bin\sh -lc "if ! [ -e julia32 ]; then git clone \ |
| 11 | + git://github.com/JuliaLang/julia.git julia32; fi && \ |
| 12 | + cd julia32 && git submodule init && git pull && \ |
| 13 | + git submodule update && XC_HOST=i686-w64-mingw32 make -C deps" |
| 14 | +C:\cygwin\bin\sh -lc "if ! [ -e julia64 ]; then git clone \ |
| 15 | + git://github.com/JuliaLang/julia.git julia64; fi && \ |
| 16 | + cd julia64 && git submodule init && git pull && \ |
| 17 | + git submodule update && XC_HOST=x86_64-w64-mingw32 make -C deps" |
0 commit comments