Skip to content

Commit

Permalink
Dockerfile and structure change for SAW proofs on X86_64 (aws#1345)
Browse files Browse the repository at this point in the history
This commit awslabs/aws-lc-verification@a7affcc in AWS-LC-verification changes the Dockerfile name for SAW proofs on X86_64 and changes where the shell scripts are for running the proofs.
  • Loading branch information
pennyannn authored Dec 6, 2023
1 parent fb91256 commit 1aeb719
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ fi
rm -rf aws-lc-verification
git clone https://github.com/awslabs/aws-lc-verification.git
cd aws-lc-verification
docker build --pull --no-cache -f Dockerfile.saw -t ${docker_tag} .
docker build --pull --no-cache -f Dockerfile.saw_x86 -t ${docker_tag} .
cd ..
rm -rf aws-lc-verification
4 changes: 1 addition & 3 deletions tests/ci/run_formal_verification.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,12 @@ rm -rf aws-lc-verification-build
git clone https://github.com/awslabs/aws-lc-verification.git aws-lc-verification-build

cd aws-lc-verification-build
# We avoid pulling the saw-script submodule since the repo will take forever to clone.
git submodule update --init
pushd Coq/fiat-crypto; git submodule update --init --recursive; popd

# aws-lc-verification has aws-lc as one submodule under 'src' dir.
# Below is to copy code of **target** aws-lc to 'src' dir.
rm -rf ./src/* && cp -r "${ROOT}/${AWS_LC_DIR}/"* ./src
# execute the entry to saw scripts.
./SAW/scripts/docker_entrypoint.sh
./SAW/scripts/x86_64/docker_entrypoint.sh
cd ..
rm -rf aws-lc-verification-build

0 comments on commit 1aeb719

Please sign in to comment.