Skip to content
Snippets Groups Projects
Commit 0dcb4699 authored by dam1n19's avatar dam1n19
Browse files

Updated Proj-branch file

parent d97ad4d0
No related branches found
No related tags found
1 merge request!1Changed set_env flow to source script in soctools and breadcrumb left in...
......@@ -17,7 +17,7 @@ nanosoc_tech: feat_nanosoc_regions
nanosoc_tech/nanosoc/slcorem0_tech: main
nanosoc_tech/nanosoc/sldma230_tech: main
nanosoc_tech/nanosoc/socdebug_tech: main
nanosoc_tech/nanosoc/socdebug_tech/socket/uart_axi_master/core_dbg_bridge: main
nanosoc_tech/nanosoc/socdebug_tech/socket/uart_axi_master/core_dbg_bridge: master
accelerator_wrapper_tech: main
fpga_lib_tech: main
generic_lib_tech: main
......
......@@ -65,15 +65,7 @@ if [ ! -f $SOCLABS_PROJECT_DIR/.socinit ]; then
cd $SOCLABS_DESIGN_ROOT
echo $SOCLABS_DESIGN_ROOT
git submodule update --recursive
echo "2"
python3 $SOCLABS_SOCTOOLS_FLOW_DIR/bin/subrepo_checkout.py -b proj-branch -t $SOCLABS_DESIGN_ROOT
echo "3"
#git submodule foreach --recursive git checkout main # TODO: Bug on this line - need to checkout to correct branch
# Read proj-branch file to find out which branch each subrepo needs to be on
# git config --file .gitmodules --get-regexp path | awk '{ print $2 }' | while read line; do cd $SOCLABS_PROJECT_DIR/$line && git checkout `grep $line $SOCLABS_PROJECT_DIR/proj-branch | awk '{ print $2 }'` && git pull; done
echo "4"
git restore $SOCLABS_DESIGN_ROOT/.gitmodules
echo "5"
touch $SOCLABS_PROJECT_DIR/.socinit
echo "6"
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment