blob: 8afb9915ca906849feb4af7af63a159887a913f9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/bin/sh
basedir="$(dirname "$0")"
[ "$(echo "$basedir" | cut -c1)" = '/' ] || basedir="$PWD/$basedir"
awlsim_base="$basedir/.."
set -e
if ! [ -x "$awlsim_base/awlsim-test" -a -x "$awlsim_base/setup.py" ]; then
echo "basedir sanity check failed"
exit 1
fi
export CFLAGS="$CFLAGS -O0"
exec "$awlsim_base/maintenance/build.sh" "$@"
|