Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Z
Zipr Toolchain
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository 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
Open Source Software
Zipr Toolchain
Commits
46da93e7
Commit
46da93e7
authored
6 years ago
by
Jason Hiser
Browse files
Options
Downloads
Patches
Plain Diff
cleanup of run-pszr
parent
6461f337
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#2681
passed
6 years ago
Stage: clean
Stage: build
Stage: test
Stage: deploy
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
cicd_testing/docker-zipr-bin/run_pszr.sh
+3
-25
3 additions, 25 deletions
cicd_testing/docker-zipr-bin/run_pszr.sh
irdb-sdk
+1
-1
1 addition, 1 deletion
irdb-sdk
with
4 additions
and
26 deletions
cicd_testing/docker-zipr-bin/run_pszr.sh
+
3
−
25
View file @
46da93e7
...
...
@@ -17,44 +17,23 @@ print_usage()
echo
""
}
function
is_in_activation
{
service
"
$1
"
status
activation
=
$(
service
"
$1
"
status |
grep
"Active: activation"
)
if
[
-z
"
$activation
"
]
;
then
true
;
else
false
;
fi
return
$?
;
}
main
()
{
local
res
=
0
export
USER
=
root
;
cd
/opt/ps_zipr
source
./set_env_vars
cd
/home/zuser
local
subcommand
=
$1
subcommand
=
$1
shift
echo
"Arguments are:
$@
"
case
"
$subcommand
"
in
iagree
)
echo
echo
Welcome to the IRDB toolchain docker image!
echo
echo
"Setting up postgres..."
echo
service postgresql start
echo
echo
'The IRDB toolchain is setup and ready to run.'
echo
'You could start your first experiment with:'
echo
echo
'zuser@a3fc1666aaa4:~$ pszr /bin/ls ./ls.
p1 -c p1transform
'
echo
'zuser@a3fc1666aaa4:~$ pszr /bin/ls ./ls.
bilr
'
echo
'Using Zipr backend.'
echo
'Detected ELF shared object.'
echo
'Performing step rida [dependencies=mandatory] ...Done. Successful.'
...
...
@@ -62,9 +41,8 @@ main()
echo
'Performing step fill_in_cfg [dependencies=unknown] ...Done. Successful.'
echo
'Performing step fill_in_indtargs [dependencies=unknown] ...Done. Successful.'
echo
'Performing step fix_calls [dependencies=unknown] ...Done. Successful.'
echo
'Performing step p1transform [dependencies=unknown] ...Done. Successful.'
echo
'Performing step zipr [dependencies=none] ...Done. Successful.'
echo
'zuser@a3fc1666aaa4:~$ ./ls.
p1
-l '
echo
'zuser@a3fc1666aaa4:~$ ./ls.
bilr
-l '
echo
' < ls output > '
echo
'zuser@a3fc1666aaa4:~$ readelf -l /bin/ls ./ls.p1 '
echo
...
...
This diff is collapsed.
Click to expand it.
irdb-sdk
@
5e547d1d
Compare
db4a6545
...
5e547d1d
Subproject commit
db4a65454aca85a05426e0a015782476815facba
Subproject commit
5e547d1dfb046cf5d353c95c46bb86f06271deaf
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