Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pqc-bench
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
André Faßbender
pqc-bench
Commits
0e51c5c1
Commit
0e51c5c1
authored
1 year ago
by
migo007
Browse files
Options
Downloads
Patches
Plain Diff
Updated container builds
parent
271a6836
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
build_containers.sh
+3
-2
3 additions, 2 deletions
build_containers.sh
run_containers.sh
+4
-12
4 additions, 12 deletions
run_containers.sh
with
7 additions
and
14 deletions
build_containers.sh
+
3
−
2
View file @
0e51c5c1
...
...
@@ -6,7 +6,8 @@ docker build -f Dockerfile -t pqtest:def .
# Build the ref liboqs
docker build
-f
Dockerfile.ref
-t
pqtest:ref
.
# Build the no-opt liboqs
docker build
-f
Dockerfile.noavx
-t
pqtest:no
opt
.
docker build
-f
Dockerfile.noavx
-t
pqtest:no
avx
.
# build the ref version with aes-ni disabled
docker build
-f
Dockerfile.noaesni
-t
pqtest:noaesni
.
# Disable sha extension
docker build
-f
Dockerfile.nosha
-t
pqtest:nosha
.
This diff is collapsed.
Click to expand it.
run_containers.sh
+
4
−
12
View file @
0e51c5c1
#!/bin/bash
set
-ex
folder
=
"data"
folder
=
"data
_time_5
"
# Run the tests
# The container needs to run with privileges to mount the virtual network
...
...
@@ -13,17 +13,9 @@ docker run -v "$(pwd)/${folder}/def:/opt/experiment/code/data" --privileged pqte
docker run
-v
"
$(
pwd
)
/
${
folder
}
/ref:/opt/experiment/code/data"
--privileged
pqtest:ref bash
-c
"./run_v2.sh"
docker run
-v
"
$(
pwd
)
/
${
folder
}
/no
opt
:/opt/experiment/code/data"
--privileged
pqtest:no
opt
bash
-c
"./run_v2.sh"
docker run
-v
"
$(
pwd
)
/
${
folder
}
/no
avx
:/opt/experiment/code/data"
--privileged
pqtest:no
avx
bash
-c
"./run_v2.sh"
docker run
-v
"
$(
pwd
)
/
${
folder
}
/aesni:/opt/experiment/code/data"
--privileged
pqtest:noaesni bash
-c
"./run_v2.sh"
docker run
-v
"
$(
pwd
)
/
${
folder
}
/
no
aesni:/opt/experiment/code/data"
--privileged
pqtest:noaesni bash
-c
"./run_v2.sh"
# Measure
#docker run -v "$(pwd)/${folder}/def:/opt/experiment/code/data" --privileged pqtest:def bash -c "./run.sh"
#docker run -v "$(pwd)/${folder}/ref:/opt/experiment/code/data" --privileged pqtest:ref bash -c "./run.sh"
#docker run -v "$(pwd)/${folder}/noopt:/opt/experiment/code/data" --privileged pqtest:noopt bash -c "./run.sh"
#docker run -v "$(pwd)/${folder}/aesni:/opt/experiment/code/data" --privileged pqtest:noaesni bash -c "./run.sh"
docker run
-v
"
$(
pwd
)
/
${
folder
}
/nosha:/opt/experiment/code/data"
--privileged
pqtest:nosha bash
-c
"./run_v2.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