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

Updated branch reference to main for nanosoc sub repo and added a git pull to the set env script

parent 8edfd899
No related branches found
No related tags found
No related merge requests found
Subproject commit c04ad57b008e85421dcb4a0a69b54a54e386c3a7 Subproject commit 65ff336af970c2b183bb971966ec444c181ccd70
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
# Project Repository Subrepository Branch Index # Project Repository Subrepository Branch Index
# Add your Accelerator Repository here # Add your Accelerator Repository here
# accelerator_repo: main # accelerator_repo: main
nanosoc_tech: feat_accel_decouple nanosoc_tech: main
chipkit_flow: main chipkit_flow: main
accelerator_wrapper_tech: main accelerator_wrapper_tech: main
fpga_lib_tech: main fpga_lib_tech: main
......
...@@ -64,7 +64,7 @@ if [ ! -f $PROJECT_DIR/.socinit ]; then ...@@ -64,7 +64,7 @@ if [ ! -f $PROJECT_DIR/.socinit ]; then
git submodule update --remote --recursive git submodule update --remote --recursive
git submodule foreach --recursive git checkout main git submodule foreach --recursive git checkout main
# Read proj-branch file to find out which branch each subrepo needs to be on # 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 $PROJECT_DIR/$line && git checkout `grep $line $PROJECT_DIR/proj-branch | awk '{ print $2 }'`; done git config --file .gitmodules --get-regexp path | awk '{ print $2 }' | while read line; do cd $PROJECT_DIR/$line && git checkout `grep $line $PROJECT_DIR/proj-branch | awk '{ print $2 }'` && git pull; done
git restore $DESIGN_ROOT/.gitmodules git restore $DESIGN_ROOT/.gitmodules
touch $PROJECT_DIR/.socinit touch $PROJECT_DIR/.socinit
fi fi
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment