Merge pull request #597 from orbea/filters
libretro-buildbot-recipe.sh: Combine the audio and video filter functions.
This commit is contained in:
commit
25671a12a2
|
@ -1019,36 +1019,27 @@ buildbot_pull(){
|
||||||
cd $WORK
|
cd $WORK
|
||||||
}
|
}
|
||||||
|
|
||||||
compile_audio_filters()
|
compile_filters()
|
||||||
{
|
{
|
||||||
HELPER=$1
|
FILTER="$1"
|
||||||
MAKE=$2
|
HELPER="$2"
|
||||||
echo "compiling audio filters"
|
MAKE="$3"
|
||||||
echo "audio filter BUILD CMD: ${HELPER} ${MAKE}"
|
|
||||||
${HELPER} ${MAKE} -C libretro-common/audio/dsp_filters
|
case "$FILTER" in
|
||||||
|
audio ) FILTERDIR='libretro-common/audio/dsp_filters' ;;
|
||||||
|
video ) FILTERDIR='gfx/video_filters' ;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
echo "compile $FILTER filters"
|
||||||
|
echo "$FILTER filter BUILD CMD: ${HELPER} ${MAKE}"
|
||||||
|
( cd "$FILTERDIR"; ${HELPER} ${MAKE} )
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
echo buildbot job: $jobid audio filter build success!
|
echo "buildbot job: $jobid $FILTER filter build success!"
|
||||||
else
|
else
|
||||||
echo buildbot job: $jobid audio filter: [status: fail]!
|
echo "buildbot job: $jobid $FILTER filter: [status: fail]!"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
compile_video_filters()
|
|
||||||
{
|
|
||||||
HELPER=$1
|
|
||||||
MAKE=$2
|
|
||||||
echo "compiling video filters"
|
|
||||||
echo "$PWD"
|
|
||||||
echo "video filter BUILD CMD: ${HELPER} ${MAKE}"
|
|
||||||
${HELPER} ${MAKE} -C gfx/video_filters
|
|
||||||
if [ $? -eq 0 ]; then
|
|
||||||
echo buildbot job: $jobid video filter build success!
|
|
||||||
else
|
|
||||||
echo buildbot job: $jobid video filter: [status: fail]!
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
echo "buildbot job: $jobid Building Retroarch-$PLATFORM"
|
echo "buildbot job: $jobid Building Retroarch-$PLATFORM"
|
||||||
echo --------------------------------------------------
|
echo --------------------------------------------------
|
||||||
echo
|
echo
|
||||||
|
@ -1265,8 +1256,8 @@ if [ "${PLATFORM}" = "MINGW64" ] || [ "${PLATFORM}" = "MINGW32" ] || [ "${PLATFO
|
||||||
|
|
||||||
if [ "${BUILD}" = "YES" -o "${FORCE}" = "YES" -o "${FORCE_RETROARCH_BUILD}" == "YES" ]; then
|
if [ "${BUILD}" = "YES" -o "${FORCE}" = "YES" -o "${FORCE_RETROARCH_BUILD}" == "YES" ]; then
|
||||||
|
|
||||||
compile_audio_filters ${HELPER} ${MAKE}
|
compile_filters audio ${HELPER} ${MAKE}
|
||||||
compile_video_filters ${HELPER} ${MAKE}
|
compile_filters video ${HELPER} ${MAKE}
|
||||||
|
|
||||||
echo "configuring..."
|
echo "configuring..."
|
||||||
echo "configure command: $CONFIGURE $ARGS"
|
echo "configure command: $CONFIGURE $ARGS"
|
||||||
|
@ -1662,8 +1653,8 @@ if [ "${PLATFORM}" = "unix" ]; then
|
||||||
|
|
||||||
touch $TMPDIR/built-frontend
|
touch $TMPDIR/built-frontend
|
||||||
|
|
||||||
compile_audio_filters ${HELPER} ${MAKE}
|
compile_filters audio ${HELPER} ${MAKE}
|
||||||
compile_video_filters ${HELPER} ${MAKE}
|
compile_filters video ${HELPER} ${MAKE}
|
||||||
|
|
||||||
echo "configuring..."
|
echo "configuring..."
|
||||||
echo "configure command: $CONFIGURE $ARGS"
|
echo "configure command: $CONFIGURE $ARGS"
|
||||||
|
|
Loading…
Reference in New Issue