Loading scripts/prepare_delivery.sh +23 −12 Original line number Diff line number Diff line Loading @@ -77,6 +77,18 @@ while getopts "$ALL_OPTS" OPTION; do done ########################## # # # BASOP or Float? # # # ########################## BASOP=0 if [ -d ${ROOT}/lib_basop ]; then BASOP=1 # basop_dir="$targetdir/lib_basop/*.c" fi ########################## # # # Prepare dirs and copy # Loading @@ -96,6 +108,9 @@ cp -R ${ROOT}/lib_util $OUTDIR cp -R ${ROOT}/lib_rend $OUTDIR cp -R ${ROOT}/lib_isar $OUTDIR cp -R ${ROOT}/lib_lc3plus $OUTDIR if [ $BASOP -eq 1 ]; then cp -R ${ROOT}/lib_basop $OUTDIR fi cp -R ${ROOT}/apps $OUTDIR mkdir $OUTDIR/lib_debug cp ${ROOT}/lib_debug/wmc_auto.[ch] $OUTDIR/lib_debug Loading @@ -113,22 +128,16 @@ rm -f ${OUTDIR}/lib_util/tsm_scale_file_reader.[ch] sed -i.bak -e "/lib_util\\\tsm_scale_file_reader.[ch]/d" ${OUTDIR}/Workspace_msvc/lib_util.vcxproj # scripts for custom HRIR/BRIR ROM table/file generation if [ $BASOP -ne 1 ]; then mkdir $OUTDIR/scripts cp -R ${ROOT}/scripts/binauralRenderer_interface $OUTDIR/scripts cp -R ${ROOT}/scripts/td_object_renderer $OUTDIR/scripts fi # readme cp ${ROOT}/readme.txt ${OUTDIR} recode lat1..ibmpc ${OUTDIR}/readme.txt # unix2dos ... # LICENSE.md cp ${ROOT}/LICENSE.md ${OUTDIR} recode lat1..ibmpc ${OUTDIR}/LICENSE.md # unix2dos ... # enable split rendering againg by default # in case we strip it later, it will be explicitly disabled again below sed -i.bak -e "s/\/\*\ *\(#define\ *SPLIT_REND_WITH_HEAD_ROT\ *\)\*\//\1/g" ${OUTDIR}/lib_com/options.h ########################## # # # Stripping # Loading @@ -141,6 +150,8 @@ rm -f $tmpfile touch $tmpfile cat $OUTDIR/lib_com/options.h | sed -n '/Start DEVELOPMENT switches/,/End DEVELOPMENT switches/p' >> $tmpfile cat $OUTDIR/lib_com/options.h | sed -n '/Start FIXES switches/,/End FIXES switches/p' >> $tmpfile cat $OUTDIR/lib_com/options.h | sed -n '/Start BASOP porting switches/,/End BASOP porting switches/p' >> $tmpfile if coan_exists; then Loading Loading @@ -333,7 +344,7 @@ if [ $PREPARE_ZIP -eq 1 ]; then echo done echo now build the Windows executable manually and insert it to the zip with the following commands: echo zip -r9 IVAS_Float_C__rev${REV}_${DATE}.zip $OUTDIR c-code/IVAS_cod.exe c-code/IVAS_dec.exe c-code/IVAS_rend.exe echo zip -r9 IVAS_Float_C__rev${REV}_${DATE}.zip $OUTDIR c-code/IVAS_cod.exe c-code/IVAS_dec.exe c-code/IVAS_rend.exe c-code/ISAR_post_rend.exe c-code/ambi_convert.exe else echo done fi Loading
scripts/prepare_delivery.sh +23 −12 Original line number Diff line number Diff line Loading @@ -77,6 +77,18 @@ while getopts "$ALL_OPTS" OPTION; do done ########################## # # # BASOP or Float? # # # ########################## BASOP=0 if [ -d ${ROOT}/lib_basop ]; then BASOP=1 # basop_dir="$targetdir/lib_basop/*.c" fi ########################## # # # Prepare dirs and copy # Loading @@ -96,6 +108,9 @@ cp -R ${ROOT}/lib_util $OUTDIR cp -R ${ROOT}/lib_rend $OUTDIR cp -R ${ROOT}/lib_isar $OUTDIR cp -R ${ROOT}/lib_lc3plus $OUTDIR if [ $BASOP -eq 1 ]; then cp -R ${ROOT}/lib_basop $OUTDIR fi cp -R ${ROOT}/apps $OUTDIR mkdir $OUTDIR/lib_debug cp ${ROOT}/lib_debug/wmc_auto.[ch] $OUTDIR/lib_debug Loading @@ -113,22 +128,16 @@ rm -f ${OUTDIR}/lib_util/tsm_scale_file_reader.[ch] sed -i.bak -e "/lib_util\\\tsm_scale_file_reader.[ch]/d" ${OUTDIR}/Workspace_msvc/lib_util.vcxproj # scripts for custom HRIR/BRIR ROM table/file generation if [ $BASOP -ne 1 ]; then mkdir $OUTDIR/scripts cp -R ${ROOT}/scripts/binauralRenderer_interface $OUTDIR/scripts cp -R ${ROOT}/scripts/td_object_renderer $OUTDIR/scripts fi # readme cp ${ROOT}/readme.txt ${OUTDIR} recode lat1..ibmpc ${OUTDIR}/readme.txt # unix2dos ... # LICENSE.md cp ${ROOT}/LICENSE.md ${OUTDIR} recode lat1..ibmpc ${OUTDIR}/LICENSE.md # unix2dos ... # enable split rendering againg by default # in case we strip it later, it will be explicitly disabled again below sed -i.bak -e "s/\/\*\ *\(#define\ *SPLIT_REND_WITH_HEAD_ROT\ *\)\*\//\1/g" ${OUTDIR}/lib_com/options.h ########################## # # # Stripping # Loading @@ -141,6 +150,8 @@ rm -f $tmpfile touch $tmpfile cat $OUTDIR/lib_com/options.h | sed -n '/Start DEVELOPMENT switches/,/End DEVELOPMENT switches/p' >> $tmpfile cat $OUTDIR/lib_com/options.h | sed -n '/Start FIXES switches/,/End FIXES switches/p' >> $tmpfile cat $OUTDIR/lib_com/options.h | sed -n '/Start BASOP porting switches/,/End BASOP porting switches/p' >> $tmpfile if coan_exists; then Loading Loading @@ -333,7 +344,7 @@ if [ $PREPARE_ZIP -eq 1 ]; then echo done echo now build the Windows executable manually and insert it to the zip with the following commands: echo zip -r9 IVAS_Float_C__rev${REV}_${DATE}.zip $OUTDIR c-code/IVAS_cod.exe c-code/IVAS_dec.exe c-code/IVAS_rend.exe echo zip -r9 IVAS_Float_C__rev${REV}_${DATE}.zip $OUTDIR c-code/IVAS_cod.exe c-code/IVAS_dec.exe c-code/IVAS_rend.exe c-code/ISAR_post_rend.exe c-code/ambi_convert.exe else echo done fi