@@ -12,6 +12,7 @@ if [ -z ${TRAVIS_JOB_ID} ] || [ ! -d "${DEPENDENCY_INSTALL_PATH}/lib/" ]; then
12
12
export LD_LIBRARY_PATH=${DEPENDENCY_INSTALL_PATH} /lib:${DEPENDENCY_INSTALL_PATH} /lib64
13
13
export PKG_CONFIG_PATH=${DEPENDENCY_INSTALL_PATH} /lib/pkgconfig:${DEPENDENCY_INSTALL_PATH} /lib64/pkgconfig
14
14
export PATH=$PATH :${DEPENDENCY_INSTALL_PATH} /bin
15
+ echo " Build log file: ${DEPENDENCY_LOG_FILE} "
15
16
16
17
# yasm
17
18
echo " Building YASM (${YASM_VERSION} )"
@@ -21,6 +22,7 @@ if [ -z ${TRAVIS_JOB_ID} ] || [ ! -d "${DEPENDENCY_INSTALL_PATH}/lib/" ]; then
21
22
cd yasm-${YASM_VERSION} && \
22
23
./configure --prefix=" $DEPENDENCY_INSTALL_PATH " --bindir=" ${DEPENDENCY_INSTALL_PATH} /bin" && \
23
24
make -k > ${DEPENDENCY_LOG_FILE} 2>&1 && \
25
+ if [ $? != 0 ]; then cat ${DEPENDENCY_LOG_FILE} && exit 1; fi
24
26
make install && \
25
27
rm -rf ${DIR}
26
28
@@ -32,6 +34,7 @@ if [ -z ${TRAVIS_JOB_ID} ] || [ ! -d "${DEPENDENCY_INSTALL_PATH}/lib/" ]; then
32
34
cd x264 && \
33
35
./configure --prefix=" $DEPENDENCY_INSTALL_PATH " --bindir=" ${DEPENDENCY_INSTALL_PATH} /bin" --enable-shared --disable-asm && \
34
36
make -k > ${DEPENDENCY_LOG_FILE} 2>&1 && \
37
+ if [ $? != 0 ]; then cat ${DEPENDENCY_LOG_FILE} && exit 1; fi
35
38
make install && \
36
39
rm -rf ${DIR}
37
40
@@ -44,6 +47,7 @@ if [ -z ${TRAVIS_JOB_ID} ] || [ ! -d "${DEPENDENCY_INSTALL_PATH}/lib/" ]; then
44
47
cd lame-${LAME_VERSION} && \
45
48
./configure --prefix=" ${DEPENDENCY_INSTALL_PATH} " --bindir=" ${DEPENDENCY_INSTALL_PATH} /bin" --enable-nasm && \
46
49
make -k > ${DEPENDENCY_LOG_FILE} 2>&1 && \
50
+ if [ $? != 0 ]; then cat ${DEPENDENCY_LOG_FILE} && exit 1; fi
47
51
make install && \
48
52
rm -rf ${DIR}
49
53
@@ -74,6 +78,7 @@ if [ -z ${TRAVIS_JOB_ID} ] || [ ! -d "${DEPENDENCY_INSTALL_PATH}/lib/" ]; then
74
78
cd xvidcore/build/generic && \
75
79
./configure --prefix=" ${DEPENDENCY_INSTALL_PATH} " --bindir=" ${DEPENDENCY_INSTALL_PATH} /bin" && \
76
80
make -k > ${DEPENDENCY_LOG_FILE} 2>&1 && \
81
+ if [ $? != 0 ]; then cat ${DEPENDENCY_LOG_FILE} && exit 1; fi
77
82
make install && \
78
83
rm -rf ${DIR}
79
84
@@ -101,6 +106,7 @@ if [ -z ${TRAVIS_JOB_ID} ] || [ ! -d "${DEPENDENCY_INSTALL_PATH}/lib/" ]; then
101
106
cd libogg-${OGG_VERSION} && \
102
107
./configure --prefix=" ${DEPENDENCY_INSTALL_PATH} " --disable-shared --with-pic && \
103
108
make -k > ${DEPENDENCY_LOG_FILE} 2>&1 && \
109
+ if [ $? != 0 ]; then cat ${DEPENDENCY_LOG_FILE} && exit 1; fi
104
110
make install && \
105
111
rm -rf ${DIR}
106
112
@@ -113,6 +119,7 @@ if [ -z ${TRAVIS_JOB_ID} ] || [ ! -d "${DEPENDENCY_INSTALL_PATH}/lib/" ]; then
113
119
cd libvorbis-${VORBIS_VERSION} && \
114
120
./configure --prefix=" ${DEPENDENCY_INSTALL_PATH} " --with-ogg=" ${DEPENDENCY_INSTALL_PATH} " --disable-shared --with-pic && \
115
121
make -k > ${DEPENDENCY_LOG_FILE} 2>&1 && \
122
+ if [ $? != 0 ]; then cat ${DEPENDENCY_LOG_FILE} && exit 1; fi
116
123
make install && \
117
124
rm -rf ${DIR}
118
125
@@ -140,6 +147,7 @@ if [ -z ${TRAVIS_JOB_ID} ] || [ ! -d "${DEPENDENCY_INSTALL_PATH}/lib/" ]; then
140
147
git checkout v${VPX_VERSION} && \
141
148
./configure --prefix=" ${DEPENDENCY_INSTALL_PATH} " --disable-examples --enable-pic && \
142
149
make -k > ${DEPENDENCY_LOG_FILE} 2>&1 && \
150
+ if [ $? != 0 ]; then cat ${DEPENDENCY_LOG_FILE} && exit 1; fi
143
151
make install && \
144
152
rm -rf ${DIR}
145
153
@@ -177,6 +185,7 @@ if [ -z ${TRAVIS_JOB_ID} ] || [ ! -d "${DEPENDENCY_INSTALL_PATH}/lib/" ]; then
177
185
$LICENSING_OPTIONS \
178
186
$THIRD_PARTIES_OPTIONS --enable-postproc && \
179
187
make -k > ${DEPENDENCY_LOG_FILE} 2>&1 && \
188
+ if [ $? != 0 ]; then cat ${DEPENDENCY_LOG_FILE} && exit 1; fi
180
189
make install && \
181
190
rm -rf ${DIR}
182
191
0 commit comments