-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathbuildall.sh
executable file
·56 lines (46 loc) · 2.26 KB
/
buildall.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
#!/usr/bin/env bash
set -e
#echo "Checking sources' availability and up-to-dateness"
#. ./scripts/updatesources.sh || exit 1
echo "Building linux 64-bit to Windows 32-bit cross-compiler"
sh ./buildlinux64mingw32.sh || exit 1
echo "Building linux 64-bit to Windows 64-bit cross-compiler"
sh ./buildlinux64mingw64.sh || exit 1
#echo "Building linux 32-bit to Windows 32-bit cross-compiler"
#sh ./buildlinux32mingw32.sh || exit 1
#echo "Building linux 32-bit to Windows 64-bit cross-compiler"
#sh ./buildlinux32mingw64.sh || exit 1
export PATH=$PWD/linux64mingw32/mingw32/bin:$PWD/linux64mingw64/mingw64/bin:$PATH
echo "Building Windows 64-bit to Windows 64-bit native compiler"
sh ./buildmingw64mingw64.sh || exit 1
echo "Building Windows 32-bit to Windows 32-bit native compiler"
sh ./buildmingw32mingw32.sh || exit 1
echo "Building Windows 32-bit to Windows 64-bit native cross-compiler"
sh ./buildmingw32mingw64.sh || exit 1
echo "Building Windows 64-bit to Windows 32-bit native cross-compiler"
sh ./buildmingw64mingw32.sh || exit 1
echo "Building Cygwin 32-bit to Windows 32-bit cross-compiler"
sh ./buildcygwin32mingw32.sh || exit 1
echo "Building Cygwin 32-bit to Windows 64-bit cross-compiler"
sh ./buildcygwin32mingw64.sh || exit 1
#echo "Building Mac 32-bit to Windows 32-bit cross-compiler"
#sh ./buildmac32mingw32.sh || exit 1
#echo "Building Mac 32-bit to Windows 64-bit cross-compiler"
#sh ./buildmac32mingw64.sh || exit 1
#echo "Building Mac 64-bit to Windows 32-bit cross-compiler"
#sh ./buildmac64mingw32.sh || exit 1
#echo "Building Mac 64-bit to Windows 64-bit cross-compiler"
#sh ./buildmac64mingw64.sh || exit 1
echo "Building linux 64-bit to Windows 32-bit dw2 cross-compiler"
sh ./buildlinux64mingw32-dw2.sh
#echo "Building linux 32-bit to Windows 32-bit dw2 cross-compiler"
#sh ./buildlinux32mingw32-dw2.sh
export PATH=$PWD/linux64mingw32-dw2/mingw32-dw2/bin:$PATH
echo "Building Windows 32-bit to Windows 32-bit dw2 native compiler"
sh ./buildmingw32mingw32-dw2.sh || exit 1
#echo "Building Windows 64-bit to Windows 32-bit dw2 native compiler"
#sh ./buildmingw64mingw32-dw2.sh || exit 1
#echo "Building Windows 32-bit to Windows 32-bit native LLVM/Clang"
#sh ./buildmingw32clang32.sh
#echo "Building Windows 64-bit to Windows 64-bit native LLVM/Clang"
#sh ./buildmingw64clang64.sh