mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/win32-vd_agent
synced 2025-12-31 19:45:50 +00:00
MSYS2 is an alternative build environment. MSYS2 has the following advantage compared to Microsoft Visual C++ that is already employed on AppVeyor: - MSYS2 can pack MSI using autotools MSYS2 has the following disadvantages compared to Microsoft Visual C++: - MSYS2 cannot run tests because the autotools scripts currently require Wine. - MSYS2 no longer supports UCRT on the 32-bit platform. MSYS2 has the following advantages compared to Fedora that is already employed on GitLab CI: - The build completely fails on Fedora because libpng tries to link the __intrinsic_setjmpex function, which is not available. - MSYS2 can employ UCRT instead of MSVCRT. For details of UCRT and MSVCRT, see: https://www.msys2.org/docs/environments/#msvcrt-vs-ucrt Fedora MSYS2 has the following disadvantage compared to Fedora: - MSYS2 cannot run tests. Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
11 lines
185 B
Bash
11 lines
185 B
Bash
#!/bin/bash
|
|
|
|
a=()
|
|
for e in i686 ucrt-x86_64; do
|
|
for p in libpng msitools toolchain zlib; do
|
|
a+=(mingw-w64-$e-$p)
|
|
done
|
|
done
|
|
|
|
exec pacman --noconfirm -S autotools ${a[@]}
|