Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C64-Secure ABI demo. #96

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions .buildbot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ echo "Checking clang-format..."
CLANG_FORMAT=$CHERI_DIR/morello-sdk/bin/clang-format
find . -iname "*.c" -o -iname "*.h" -o -iname "*.cpp" -o -iname "*.hpp" | xargs "$CLANG_FORMAT" --dry-run -Werror

echo "Checking that all the purecap examples build for all platforms..."
echo "Checking that all examples build for all platforms..."
0152la marked this conversation as resolved.
Show resolved Hide resolved
PLATFORMS='riscv64-purecap morello-purecap'
# TODO: Add "example_allocators".
for dir in . employee shared_objects timsort; do
Expand All @@ -24,7 +24,7 @@ for dir in . employee shared_objects timsort; do
popd
done

echo "Checking that all the hybrid examples build on Morello..."
echo "Checking that all the Morello hybrid examples build..."
platform='morello-hybrid'
for dir in hybrid hybrid/ddc_compartment_switching syscall-restrict; do
pushd "$dir"
Expand All @@ -33,6 +33,15 @@ for dir in hybrid hybrid/ddc_compartment_switching syscall-restrict; do
popd
done

echo "Checking that all the Morello purecap examples build..."
platform='morello-purecap'
for dir in morello-c64-secure; do
probablytom marked this conversation as resolved.
Show resolved Hide resolved
pushd "$dir"
make -f Makefile.$platform clean
make -f Makefile.$platform all
popd
done

export SSHPORT=10021

echo "Running tests for 'riscv64-purecap' using QEMU."
Expand Down