build-script.sh 612 Bytes
Newer Older
1 2 3 4 5 6
#!/bin/bash

rm -f simple_c_function.zip
zip simple_c_function simple_c_function/*

[ ! -z "$CLEANUP" ] && rm -rf binary.*
7
taste-update-data-view || exit 1
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28

# Ada runtime
assert-builder-ocarina.py \
	-f \
	--aadlv2 \
	--keep-case \
	--interfaceView InterfaceView.aadl \
	--deploymentView DeploymentView.aadl \
	-o binary.linux.ada \
	--subC simple_c_function:simple_c_function.zip

# C runtime
assert-builder-ocarina.py \
	-f \
	-p \
	--aadlv2 \
	--keep-case \
	--interfaceView InterfaceView.aadl \
	--deploymentView DeploymentView.aadl \
	-o binary.linux.pohic \
	--subC simple_c_function:simple_c_function.zip