Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Secworks SHA256 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
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
SoCLabs
Secworks SHA256 Project
Commits
d0f0f57b
Commit
d0f0f57b
authored
2 years ago
by
dam1n19
Browse files
Options
Downloads
Patches
Plain Diff
Updated top-repo init flow
parent
a4d32e63
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitmodules
+14
-23
14 additions, 23 deletions
.gitmodules
flow/socrepo-init
+4
-2
4 additions, 2 deletions
flow/socrepo-init
with
18 additions
and
25 deletions
.gitmodules
+
14
−
23
View file @
d0f0f57b
[submodule "accelerator-wrapper"]
path = accelerator-wrapper
url = git@git.soton.ac.uk:soclabs/accelerator-wrapper.git
[submodule "nanosoc"]
path = nanosoc
url = git@git.soton.ac.uk:soclabs/nanosoc.git
[submodule "socsim"]
path = socsim
url = git@git.soton.ac.uk:soclabs/socsim.git
[submodule "CHIPKIT"]
path = CHIPKIT
url = git@git.soton.ac.uk:soclabs/CHIPKIT.git
[submodule "secworks-sha256"]
path = secworks-sha256
url = git@git.soton.ac.uk:soclabs/secworks-sha256.git
branch = main
[submodule "secworks-sha-256-system-top/accelerator-wrapper"]
branch = main
[submodule "secworks-sha-256-system-top/CHIPKIT"]
branch = main
[submodule "secworks-sha-256-system-top/nanosoc"]
branch = main
[submodule "secworks-sha-256-system-top/socsim"]
branch = main
path = accelerator-wrapper
url = git@git.soton.ac.uk:soclabs/accelerator-wrapper.git
[submodule "nanosoc"]
path = nanosoc
url = git@git.soton.ac.uk:soclabs/nanosoc.git
[submodule "socsim"]
path = socsim
url = git@git.soton.ac.uk:soclabs/socsim.git
[submodule "CHIPKIT"]
path = CHIPKIT
url = git@git.soton.ac.uk:soclabs/CHIPKIT.git
[submodule "secworks-sha256"]
path = secworks-sha256
url = git@git.soton.ac.uk:soclabs/secworks-sha256.git
This diff is collapsed.
Click to expand it.
flow/socrepo-init
+
4
−
2
View file @
d0f0f57b
...
...
@@ -18,9 +18,11 @@ for d in $SOC_TOP_DIR/* ; do
echo $d
if [ -f "$d/set_env.sh" ]; then
# If .git file exists - submodule
git config -f .gitmodules submodule.$d.branch main
# git config -f .gitmodules submodule.$d.branch main
git submodule set-branch --branch main $d
fi
fi
done
git submodule update --remote --recursive
git submodule foreach --recursive git checkout main
\ No newline at end of file
git submodule foreach --recursive git checkout main
git restore $DESIGN_ROOT/.gitmodules
\ No newline at end of file
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