Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Accelerator Project -SecWorks AES128
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
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
Accelerator Project -SecWorks AES128
Commits
35b09a45
Commit
35b09a45
authored
2 years ago
by
dam1n19
Browse files
Options
Downloads
Patches
Plain Diff
soc1-167: removed soc-init script
parent
18e275e1
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
flow/soc-init
+0
-29
0 additions, 29 deletions
flow/soc-init
with
0 additions
and
29 deletions
flow/soc-init
deleted
100755 → 0
+
0
−
29
View file @
18e275e1
#-----------------------------------------------------------------------------
# SoC Labs Workarea initialisation Script
# - sets submodule branches to main - can then be checked out to other branches from there.
# 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
cd $DESIGN_ROOT
for d in $PROJECT_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
git submodule set-branch --branch main $d
fi
fi
done
git submodule update --remote --recursive
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