forked from openscad/openscad
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmsys2-install-dependencies.sh
53 lines (47 loc) · 1.31 KB
/
msys2-install-dependencies.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
#!/bin/bash
if [ -z $MSYSTEM ]; then
MSYSTEM_DEFAULT=UCRT64
# Possible values: (MSYS|UCRT64|CLANG64|CLANGARM64|CLANG32|MINGW64|MINGW32)
# For explanation of options see: https://www.msys2.org/docs/environments/
echo "MSYSTEM is unset or blank, defaulting to '${MSYSTEM_DEFAULT}'";
export MSYSTEM=$MSYSTEM_DEFAULT
else
echo "MSYSTEM is set to '$MSYSTEM'";
fi
date "+### %Y-%m-%d %T msys2-install-dependencies started"
pacman --query --explicit
date "+### %Y-%m-%d %T install pactoys (for pacboy)"
pacman --noconfirm --sync --needed pactoys libxml2
# pacboy is a pacman wrapper for MSYS2 which handles the package prefixes automatically
# name:p means MINGW_PACKAGE_PREFIX-only
# name: disables any translation for name
date "+### %Y-%m-%d %T install remaining packages"
pacboy --noconfirm --sync --needed \
git: \
make: \
bison: \
flex: \
toolchain:p \
cmake:p \
ninja:p \
boost:p \
cgal:p \
eigen3:p \
glew:p \
qscintilla:p \
opencsg:p \
lib3mf:p \
libzip:p \
mimalloc:p \
double-conversion:p \
cairo:p \
ghostscript:p \
imagemagick:p \
qt5-svg:p \
qt5-multimedia:p \
tbb:p \
python:p \
python-pip:p \
python-numpy:p \
python-pillow:p
date "+### %Y-%m-%d %T msys2-install-dependencies finished"