More verbose

This commit is contained in:
Felix Schulze 2015-12-08 18:24:38 +01:00
parent ae252f2d30
commit 86e3926087
1 changed files with 20 additions and 7 deletions

View File

@ -150,11 +150,19 @@ do
echo " Configure...\c" echo " Configure...\c"
set +e set +e
if [ "${ARCH}" == "x86_64" ]; then if [ "$1" == "verbose" ]; then
(./Configure no-asm darwin64-x86_64-cc --openssldir="${CURRENTPATH}/bin/${PLATFORM}${SDKVERSION}-${ARCH}.sdk" ${LOCAL_CONFIG_OPTIONS} > "${LOG}" 2>&1) & spinner if [ "${ARCH}" == "x86_64" ]; then
else ./Configure no-asm darwin64-x86_64-cc --openssldir="${CURRENTPATH}/bin/${PLATFORM}${SDKVERSION}-${ARCH}.sdk" ${LOCAL_CONFIG_OPTIONS}
(./Configure iphoneos-cross --openssldir="${CURRENTPATH}/bin/${PLATFORM}${SDKVERSION}-${ARCH}.sdk" ${LOCAL_CONFIG_OPTIONS} > "${LOG}" 2>&1) & spinner else
fi ./Configure iphoneos-cross --openssldir="${CURRENTPATH}/bin/${PLATFORM}${SDKVERSION}-${ARCH}.sdk" ${LOCAL_CONFIG_OPTIONS}
fi
else
if [ "${ARCH}" == "x86_64" ]; then
(./Configure no-asm darwin64-x86_64-cc --openssldir="${CURRENTPATH}/bin/${PLATFORM}${SDKVERSION}-${ARCH}.sdk" ${LOCAL_CONFIG_OPTIONS} > "${LOG}" 2>&1) & spinner
else
(./Configure iphoneos-cross --openssldir="${CURRENTPATH}/bin/${PLATFORM}${SDKVERSION}-${ARCH}.sdk" ${LOCAL_CONFIG_OPTIONS} > "${LOG}" 2>&1) & spinner
fi
fi
if [ $? != 0 ]; then if [ $? != 0 ]; then
echo "Problem while configure - Please check ${LOG}" echo "Problem while configure - Please check ${LOG}"
@ -190,8 +198,13 @@ do
fi fi
set -e set -e
make install_sw >> "${LOG}" 2>&1 if [ "$1" == "verbose" ]; then
make clean >> "${LOG}" 2>&1 make install_sw
make clean
else
make install_sw >> "${LOG}" 2>&1
make clean >> "${LOG}" 2>&1
fi
done done
echo "Build library for iOS..." echo "Build library for iOS..."