Skip to content

Commit

Permalink
Update instructions and fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
ymherklotz committed Jul 12, 2021
1 parent 6edbe20 commit 3496f50
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion scripts/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ ADD data.tar.gz /data
RUN git clone --recursive https://github.com/ymherklotz/vericert

WORKDIR /vericert
RUN git checkout -b oopsla21
RUN git checkout oopsla21
RUN nix-shell --run "make -j7"
RUN nix-shell --run "make install"

Expand Down
7 changes: 3 additions & 4 deletions scripts/docker/artifact.org
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,13 @@ In addition to that, the Vivado synthesis tool by Xilinx[fn:3] is also commercia
First, the docker image needs to be downloaded and run, which contains the git repository:

#+begin_src shell
docker pull ymherklotz/vericert
docker run -it ymherklotz/vericert sh
docker pull ymherklotz/vericert:1.0
docker run -it ymherklotz/vericert:1.0 sh
#+end_src

Then, one just has to go into the directory which contains the git repository and open a ~nix-shell~, which will load a shell with all the correct dependencies loaded:
Then, one just has to go into the directory which contains the git repository (~/vericert~) and open a ~nix-shell~, which will load a shell with all the correct dependencies loaded:

#+begin_src shell
cd /vericert
nix-shell
#+end_src

Expand Down
Binary file modified scripts/docker/artifact.pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion test/test_all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ for cfile in $test_dir/*.c; do
gcc -o $outbase.gcc $cfile >/dev/null 2>&1
$outbase.gcc
expected=$?
vericert -fschedule -drtl -o $outbase.v $cfile >/dev/null 2>&1
vericert -drtl -o $outbase.v $cfile >/dev/null 2>&1
if [[ ! -f $outbase.v ]]; then
echo "ERROR"
continue
Expand Down

0 comments on commit 3496f50

Please sign in to comment.