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
32307552
Commit
32307552
authored
2 years ago
by
dam1n19
Browse files
Options
Downloads
Patches
Plain Diff
Updated repo init
parent
213dfa52
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitmodules
+8
-0
8 additions, 0 deletions
.gitmodules
set_env.sh
+0
-2
0 additions, 2 deletions
set_env.sh
with
8 additions
and
2 deletions
.gitmodules
+
8
−
0
View file @
32307552
...
@@ -18,3 +18,11 @@
...
@@ -18,3 +18,11 @@
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
branch = main
[submodule "$DESIGN_ROOT/accelerator-wrapper"]
branch = main
[submodule "$DESIGN_ROOT/CHIPKIT"]
branch = main
[submodule "$DESIGN_ROOT/nanosoc"]
branch = main
[submodule "$DESIGN_ROOT/socsim"]
branch = main
This diff is collapsed.
Click to expand it.
set_env.sh
+
0
−
2
View file @
32307552
...
@@ -10,7 +10,6 @@
...
@@ -10,7 +10,6 @@
#-----------------------------------------------------------------------------
#-----------------------------------------------------------------------------
#!/bin/bash
#!/bin/bash
echo
"set_env root"
# Get Root Location of Design Structure
# Get Root Location of Design Structure
if
[
-z
$DESIGN_ROOT
]
;
then
if
[
-z
$DESIGN_ROOT
]
;
then
# If $DESIGN_ROOT hasn't been set yet
# If $DESIGN_ROOT hasn't been set yet
...
@@ -38,7 +37,6 @@ else
...
@@ -38,7 +37,6 @@ else
# Source environment variables for all submodules
# Source environment variables for all submodules
for
d
in
$SOC_TOP_DIR
/
*
;
do
for
d
in
$SOC_TOP_DIR
/
*
;
do
if
[
-e
"
$d
/.git"
]
;
then
if
[
-e
"
$d
/.git"
]
;
then
echo
$d
if
[
-f
"
$d
/set_env.sh"
]
;
then
if
[
-f
"
$d
/set_env.sh"
]
;
then
# If .git file exists - submodule
# If .git file exists - submodule
source
$d
/set_env.sh
source
$d
/set_env.sh
...
...
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