-
Notifications
You must be signed in to change notification settings - Fork 45
/
build-prerequisites-linux.sh
118 lines (97 loc) · 2.64 KB
/
build-prerequisites-linux.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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
#!/bin/bash
PREREQ_SCRIPTDIR=`dirname $0`
#source ${PREREQ_SCRIPTDIR}/prerequisites-macOS/jinja2.sh
#source ${PREREQ_SCRIPTDIR}/prerequisites-macOS/bison.sh
#source ${PREREQ_SCRIPTDIR}/prerequisites-macOS/flex.sh
echo --- boost ---
source ${PREREQ_SCRIPTDIR}/prerequisites-macOS/boost.sh
# $? is the result of the most recent command
rc=$?
if [ $rc != 0 ]; then
exit $rc
fi
echo --- double-conversion ---
source ${PREREQ_SCRIPTDIR}/prerequisites-macOS/double-conversion.sh
rc=$?
if [ $rc != 0 ]; then
exit $rc
fi
echo --- glew ---
source ${PREREQ_SCRIPTDIR}/prerequisites-macOS/glew.sh
rc=$?
if [ $rc != 0 ]; then
exit $rc
fi
#echo --- numpy ---
#source ${PREREQ_SCRIPTDIR}/prerequisites-macOS/numpy.sh
echo --- OpenColorIO.sh ---
source ${PREREQ_SCRIPTDIR}/prerequisites-macOS/OpenColorIO.sh
rc=$?
if [ $rc != 0 ]; then
echo OpenColorIO build did not finish with a clean exit code, continuing nonetheless
fi
echo --- OpenEXR ---
source ${PREREQ_SCRIPTDIR}/prerequisites-macOS/OpenEXR.sh
rc=$?
if [ $rc != 0 ]; then
exit $rc
fi
echo --- OpenSubdiv ---
source ${PREREQ_SCRIPTDIR}/prerequisites-macOS/OpenSubdiv.sh
rc=$?
if [ $rc != 0 ]; then
exit $rc
fi
echo --- jpeg ---
source ${PREREQ_SCRIPTDIR}/prerequisites-macOS/jpeg.sh
rc=$?
if [ $rc != 0 ]; then
echo jpeg build did not finish with a clean exit code, continuing nonetheless
fi
echo --- png ---
source ${PREREQ_SCRIPTDIR}/prerequisites-macOS/png.sh
rc=$?
if [ $rc != 0 ]; then
echo png build did not finish with a clean exit code, continuing nonetheless
fi
echo --- ptex ---
source ${PREREQ_SCRIPTDIR}/prerequisites-macOS/ptex.sh
rc=$?
if [ $rc != 0 ]; then
exit $rc
fi
echo --- tiff ---
source ${PREREQ_SCRIPTDIR}/prerequisites-macOS/tiff.sh
rc=$?
if [ $rc != 0 ]; then
echo tiff build did not finish with a clean exit code, continuing nonetheless
fi
echo --- tbb ---
source ${PREREQ_SCRIPTDIR}/prerequisites-macOS/tbb.sh
rc=$?
if [ $rc != 0 ]; then
exit $rc
fi
echo --- hdf5 ---
source ${PREREQ_SCRIPTDIR}/prerequisites-macOS/hdf5.sh
rc=$?
if [ $rc != 0 ]; then
echo HDF5 build did not finish with a clean exit code, continuing nonetheless
fi
echo --- alembic ---
source ${PREREQ_SCRIPTDIR}/prerequisites-macOS/alembic.sh
rc=$?
if [ $rc != 0 ]; then
echo Alembic build did not finish with a clean exit code, continuing nonetheless
fi
echo --- OpenImageIO ---
source ${PREREQ_SCRIPTDIR}/prerequisites-macOS/OpenImageIO.sh
rc=$?
if [ $rc != 0 ]; then
echo OpenImageIO build did not finish with a clean exit code, continuing nonetheless
fi
# echo --- qt4 ---
#source ${PREREQ_SCRIPTDIR}/prerequisites-macOS/qt4.sh
# echo --- pyside ---
#source ${PREREQ_SCRIPTDIR}/prerequisites-macOS/pyside.sh
exit 0