Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Accelerator Project
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SoCLabs
Accelerator Project
Commits
9c2e652b
Commit
9c2e652b
authored
1 year ago
by
dam1n19
Browse files
Options
Downloads
Patches
Plain Diff
Fixing nanosoc tests
parent
7f06a139
No related branches found
No related tags found
1 merge request
!1
Changed set_env flow to source script in soctools and breadcrumb left in...
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
nanosoc_tech
+1
-1
1 addition, 1 deletion
nanosoc_tech
set_env.sh
+1
-1
1 addition, 1 deletion
set_env.sh
with
2 additions
and
2 deletions
nanosoc_tech
@
74607158
Compare
83a969ec
...
74607158
Subproject commit
83a969ece065c95c2d1040df64a3f1677867e631
Subproject commit
7460715838bc5ec7f7c3c38bda18f4bfecd3f5f6
This diff is collapsed.
Click to expand it.
set_env.sh
+
1
−
1
View file @
9c2e652b
...
@@ -64,7 +64,7 @@ if [ ! -f $SOCLABS_PROJECT_DIR/.socinit ]; then
...
@@ -64,7 +64,7 @@ if [ ! -f $SOCLABS_PROJECT_DIR/.socinit ]; then
# Source environment variables for all submodules
# Source environment variables for all submodules
cd
$SOCLABS_DESIGN_ROOT
cd
$SOCLABS_DESIGN_ROOT
git submodule update
--remote
--recursive
git submodule update
--remote
--recursive
git submodule foreach
--recursive
git checkout main
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
# 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
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
git restore
$SOCLABS_DESIGN_ROOT
/.gitmodules
git restore
$SOCLABS_DESIGN_ROOT
/.gitmodules
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment