Merge pull request #25959 from neo1973/TagLib_deprecation_warnings
[xbmc.git] / tools / buildsteps / tvos / make-binary-addons
blobae64154581229cc581fce096de7f5c08b22cec89
1 WORKSPACE=${WORKSPACE:-$( cd $(dirname $0)/../../.. ; pwd -P )}
2 XBMC_PLATFORM_DIR=tvos
3 . $WORKSPACE/tools/buildsteps/defaultenv
5 . $WORKSPACE/tools/buildsteps/$XBMC_PLATFORM_DIR/make-native-depends
7 #clear the build failed file
8 rm -f $WORKSPACE/cmake/$FAILED_BUILD_FILENAME
10 ALL_BINARY_ADDONS_BUILT="1"
11 #only build binary addons when requested by env/jenkins
12 if [ "$BUILD_BINARY_ADDONS" == "true" ]
13 then
14   for addon in $BINARY_ADDONS
15   do
16     echo "building $addon"
17     git clean -xffd $WORKSPACE/$BINARY_ADDONS_ROOT/$addon
19     INSTALL_PREFIX="../../../../../build/addons/"
20     cd $WORKSPACE/$BINARY_ADDONS_ROOT/$addon;make -j $BUILDTHREADS V=99 VERBOSE=1 INSTALL_PREFIX="$INSTALL_PREFIX"  || ALL_BINARY_ADDONS_BUILT="0"
21   done
24 if [ "$ALL_BINARY_ADDONS_BUILT" == "1" ]
25 then
26   tagSuccessFulBuild $WORKSPACE/cmake
27 else
28   #mark the build failure in the filesystem but leave jenkins running
29   tagFailedBuild $WORKSPACE/cmake