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
GitLab 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
141053b5
Commit
141053b5
authored
2 years ago
by
dam1n19
Browse files
Options
Downloads
Patches
Plain Diff
Updated git submodules
parent
1d4ad26c
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitmodules
+5
-0
5 additions, 0 deletions
.gitmodules
flow/soc-pull
+7
-6
7 additions, 6 deletions
flow/soc-pull
flow/socrepo-init
+25
-0
25 additions, 0 deletions
flow/socrepo-init
with
37 additions
and
6 deletions
.gitmodules
+
5
−
0
View file @
141053b5
[submodule "accelerator-wrapper"]
[submodule "accelerator-wrapper"]
path = accelerator-wrapper
path = accelerator-wrapper
url = git@git.soton.ac.uk:soclabs/accelerator-wrapper.git
url = git@git.soton.ac.uk:soclabs/accelerator-wrapper.git
branch = main
[submodule "nanosoc"]
[submodule "nanosoc"]
path = nanosoc
path = nanosoc
url = git@git.soton.ac.uk:soclabs/nanosoc.git
url = git@git.soton.ac.uk:soclabs/nanosoc.git
branch = main
[submodule "socsim"]
[submodule "socsim"]
path = socsim
path = socsim
url = git@git.soton.ac.uk:soclabs/socsim.git
url = git@git.soton.ac.uk:soclabs/socsim.git
branch = main
[submodule "CHIPKIT"]
[submodule "CHIPKIT"]
path = CHIPKIT
path = CHIPKIT
url = git@git.soton.ac.uk:soclabs/CHIPKIT.git
url = git@git.soton.ac.uk:soclabs/CHIPKIT.git
branch = main
[submodule "secworks-sha256"]
[submodule "secworks-sha256"]
path = secworks-sha256
path = secworks-sha256
url = git@git.soton.ac.uk:soclabs/secworks-sha256.git
url = git@git.soton.ac.uk:soclabs/secworks-sha256.git
branch = main
This diff is collapsed.
Click to expand it.
flow/soc-pull
+
7
−
6
View file @
141053b5
#!/bin/bash
#!/bin/bash
# Update all Submodules to latest commit
# Update all Submodules to latest commit
for
d
in
$DESIGN_ROOT
/
*
;
do
cd
$DESIGN_ROOT
;
git submodule foreach
--recursive
git pull
if
[
-f
"
$d
/.git"
]
;
then
# for d in $DESIGN_ROOT/* ; do
echo
"Git Pulling
$d
"
# if [ -f "$d/.git" ]; then
cd
$d
;
git pull
;
cd
..
# echo "Git Pulling $d"
fi
# cd $d; git pull; cd ..
done
# fi
\ No newline at end of file
# done
\ No newline at end of file
This diff is collapsed.
Click to expand it.
flow/socrepo-init
0 → 100755
+
25
−
0
View file @
141053b5
#-----------------------------------------------------------------------------
# SoC Labs socsim script to run required simulation
# A joint work commissioned on behalf of SoC Labs, under Arm Academic Access license.
#
# Contributors
#
# David Mapstone (d.a.mapstone@soton.ac.uk)
#
# Copyright 2022, SoC Labs (www.soclabs.org)
#-----------------------------------------------------------------------------
#!/usr/bin/env bash
# Source environment variables for all submodules
for d in $SOC_TOP_DIR/* ; do
if [ -e "$d/.git" ]; then
echo $d
if [ -f "$d/set_env.sh" ]; then
# If .git file exists - submodule
git config -f .gitmodules submodule.$d.branch main
fi
fi
done
git submodule update --remote --recursive
git submodule foreach --recursive git checkout main
\ 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