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
b1d0bd49
Commit
b1d0bd49
authored
2 years ago
by
dam1n19
Browse files
Options
Downloads
Patches
Plain Diff
SOC1-124
: Updated flow to work with bash
parent
7cdcb7c3
No related branches found
No related tags found
No related merge requests found
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
CHIPKIT
+1
-1
1 addition, 1 deletion
CHIPKIT
accelerator-wrapper
+1
-1
1 addition, 1 deletion
accelerator-wrapper
set_env.sh
+3
-1
3 additions, 1 deletion
set_env.sh
sha-2-accelerator
+1
-1
1 addition, 1 deletion
sha-2-accelerator
socsim
+1
-1
1 addition, 1 deletion
socsim
with
7 additions
and
5 deletions
CHIPKIT
@
dacc3b76
Compare
2435cd9d
...
dacc3b76
Subproject commit
2435cd9df8ff8a7e7d2e289b4e646eed10882e27
Subproject commit
dacc3b76ea88cac52cec96a79f66f58efb852c09
This diff is collapsed.
Click to expand it.
accelerator-wrapper
@
2d3beadf
Compare
b29111da
...
2d3beadf
Subproject commit
b29111dad3d10ea9499f63f39ba8536b21f51355
Subproject commit
2d3beadf82bf46dab66c78455ff7f1afb67232b4
This diff is collapsed.
Click to expand it.
set_env.sh
+
3
−
1
View file @
b1d0bd49
...
...
@@ -10,6 +10,7 @@
#-----------------------------------------------------------------------------
#!/bin/bash
echo
"set_env root"
# Get Root Location of Design Structure
if
[
-z
$DESIGN_ROOT
]
;
then
# If $DESIGN_ROOT hasn't been set yet
...
...
@@ -24,7 +25,7 @@ if [ -z $DESIGN_ROOT ]; then
source
$DESIGN_ROOT
/set_env.sh
else
# Set Environment Variable for this Repository
export
SOC_TOP_DIR
=
"
$(
cd
-
-
"
$(
dirname
"
$
0
"
)
"
>
/dev/null 2>&1
;
pwd
-P
)
"
export
SOC_TOP_DIR
=
"
$(
cd
-
P
"
$(
dirname
"
$
{
BASH_SOURCE
[0]
}
"
)
"
&&
pwd
)
"
# If this Repo is root of workspace
if
[
$SOC_TOP_DIR
=
$DESIGN_ROOT
]
;
then
...
...
@@ -37,6 +38,7 @@ else
# 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
source
$d
/set_env.sh
...
...
This diff is collapsed.
Click to expand it.
sha-2-accelerator
@
2dfadb8f
Compare
bbd478b9
...
2dfadb8f
Subproject commit
bbd478b94f719df99ade719c546cfad52dd24e40
Subproject commit
2dfadb8f034a6fad85df20fe377441f299d0ba1d
This diff is collapsed.
Click to expand it.
socsim
@
c44834af
Compare
f14cbe8a
...
c44834af
Subproject commit
f14cbe8a2f6124b6bca3a6b23b5e735b715458b7
Subproject commit
c44834af2df7e02f797229f6d735da0d83d8ec80
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