forked from vfxpro99/usd-build-club
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build-prerequisites-macos-maya.sh
executable file
·138 lines (114 loc) · 3.27 KB
/
build-prerequisites-macos-maya.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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
#!/bin/bash
PREREQ_SCRIPTDIR=`dirname $0`
ROOT=$(pwd)
LOCAL=${ROOT}/local
if [ $# -ge 1 ]; then
LOCAL=$1
fi
#source ${PREREQ_SCRIPTDIR}/prerequisites-macOS/jinja2.sh $LOCAL
#source ${PREREQ_SCRIPTDIR}/prerequisites-macOS/bison.sh $LOCAL
#source ${PREREQ_SCRIPTDIR}/prerequisites-macOS/flex.sh $LOCAL
echo --- boost ---
source ${PREREQ_SCRIPTDIR}/prerequisites-macOS/boost_maya_2017.sh $LOCAL
# $? is the result of the most recent command
rc=$?
if [ $rc -ne 0 ]; then
exit $rc
fi
echo --- double-conversion ---
source ${PREREQ_SCRIPTDIR}/prerequisites-macOS/double-conversion.sh $LOCAL
rc=$?
if [ $rc -ne 0 ]; then
exit $rc
fi
echo --- glew ---
source ${PREREQ_SCRIPTDIR}/prerequisites-macOS/glew.sh $LOCAL
rc=$?
if [ $rc -ne 0 ]; then
exit $rc
fi
#echo --- glfw ---
#source ${PREREQ_SCRIPTDIR}/prerequisites-macOS/glfw.sh $LOCAL
#rc=$?
#if [ $rc -ne 0 ]; then
# exit $rc
#fi
#echo --- numpy ---
#source ${PREREQ_SCRIPTDIR}/prerequisites-macOS/numpy.sh $LOCAL
echo --- OpenColorIO.sh ---
source ${PREREQ_SCRIPTDIR}/prerequisites-macOS/OpenColorIO.sh $LOCAL
rc=$?
if [ $rc -ne 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 $LOCAL
rc=$?
if [ $rc -ne 0 ]; then
echo OpenEXR build did not finish with a clean exit code, stopping
exit $rc
fi
echo --- OpenSubdiv ---
source ${PREREQ_SCRIPTDIR}/prerequisites-macOS/OpenSubdiv.sh $LOCAL
rc=$?
if [ $rc -ne 0 ]; then
exit $rc
fi
echo --- jpeg ---
source ${PREREQ_SCRIPTDIR}/prerequisites-macOS/jpeg.sh $LOCAL
rc=$?
if [ $rc -ne 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 $LOCAL
rc=$?
if [ $rc -ne 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 $LOCAL
rc=$?
if [ $rc -ne 0 ]; then
exit $rc
fi
echo --- tiff ---
source ${PREREQ_SCRIPTDIR}/prerequisites-macOS/tiff.sh $LOCAL
rc=$?
if [ $rc -ne 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 $LOCAL
#rc=$?
#if [ $rc -ne 0 ]; then
# exit $rc
#fi
#echo --- hdf5 ---
#source ${PREREQ_SCRIPTDIR}/prerequisites-macOS/hdf5.sh $LOCAL
#rc=$?
#if [ $rc -ne 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 $LOCAL
#rc=$?
#if [ $rc -ne 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 $LOCAL
rc=$?
if [ $rc -ne 0 ]; then
echo OpenImageIO build did not finish with a clean exit code, continuing nonetheless
fi
#echo --- PyOpenGL ---
#source ${PREREQ_SCRIPTDIR}/prerequisites-macOS/PyOpenGL.sh
#rc=$?
#if [ $rc -ne 0 ]; then
# echo PyOpenGL installation did not finish with a clean exit code, continuing nonetheless
#fi
# echo --- qt4 ---
#source ${PREREQ_SCRIPTDIR}/prerequisites-macOS/qt4.sh $LOCAL
#echo --- pyside ---
#source ${PREREQ_SCRIPTDIR}/prerequisites-macOS/pyside.sh