update submodules in top level build scripts

This commit is contained in:
Taner Sener
2020-06-14 01:15:32 +01:00
parent c43aa5bcdf
commit 1706d2aead
4 changed files with 25 additions and 7 deletions
+7 -5
View File
@@ -732,12 +732,14 @@ print_enabled_libraries
print_reconfigure_requested_libraries
print_rebuild_requested_libraries
# UPDATING SUBMODULES
echo -e "\nINFO: Updating submodules" 1>>${BASEDIR}/build.log 2>&1
git submodule update --init
echo -e "\nINFO: Updated submodules\n" 1>>${BASEDIR}/build.log 2>&1
# SYNC EXTERNAL LIBRARIES
echo -e "\nINFO: Syncing external libraries" 1>>${BASEDIR}/build.log 2>&1
echo -e -n "\nsync external libraries: "
git submodule update --init --recursive 1>>${BASEDIR}/build.log 2>&1
echo "ok"
echo -e "\nINFO: Synced external libraries\n" 1>>${BASEDIR}/build.log 2>&1
# CHECKING GPL LIBRARIES
# CHECK GPL LIBRARIES
for gpl_library in {18,19,20,21,22}; do
if [[ ${ENABLED_LIBRARIES[$gpl_library]} -eq 1 ]]; then
library_name=$(get_library_name ${gpl_library})
+8 -1
View File
@@ -988,7 +988,14 @@ print_enabled_libraries
print_reconfigure_requested_libraries
print_rebuild_requested_libraries
# CHECKING GPL LIBRARIES
# SYNC EXTERNAL LIBRARIES
echo -e "\nINFO: Syncing external libraries" 1>>${BASEDIR}/build.log 2>&1
echo -e -n "\nsync external libraries: "
git submodule update --init --recursive 1>>${BASEDIR}/build.log 2>&1
echo "ok"
echo -e "\nINFO: Synced external libraries\n" 1>>${BASEDIR}/build.log 2>&1
# CHECK GPL LIBRARIES
for gpl_library in {17..21}; do
if [[ ${ENABLED_LIBRARIES[$gpl_library]} -eq 1 ]]; then
library_name=$(get_library_name ${gpl_library})
+2
View File
@@ -35,3 +35,5 @@ rm -rf ../src/x264
rm -rf ../src/x265
rm -rf ../src/xvidcore
rm -rf ../src/rubberband
git submodule deinit -f ..
+8 -1
View File
@@ -824,7 +824,14 @@ print_enabled_libraries
print_reconfigure_requested_libraries
print_rebuild_requested_libraries
# CHECKING GPL LIBRARIES
# SYNC EXTERNAL LIBRARIES
echo -e "\nINFO: Syncing external libraries" 1>>${BASEDIR}/build.log 2>&1
echo -e -n "\nsync external libraries: "
git submodule update --init --recursive 1>>${BASEDIR}/build.log 2>&1
echo "ok"
echo -e "\nINFO: Synced external libraries\n" 1>>${BASEDIR}/build.log 2>&1
# CHECK GPL LIBRARIES
for gpl_library in {17..21}; do
if [[ ${ENABLED_LIBRARIES[$gpl_library]} -eq 1 ]]; then
library_name=$(get_library_name ${gpl_library})