Debian Codegraph @

extra/build-test.sh

raw symbols SCIP
1 #!/usr/bin/envscip-shell filesystem . . `/usr/bin/env`. bash
2 set -e
3
4 ./bootstrap.sh
5
6 for std in c99 c11 c18; do
7 for cc in gcc clang; do
8 cppflags="-I$HOME/opt/libnet/include"
9 ldflags="-L$HOME/opt/libnet/lib -Wl,-rpath -Wl,$HOME/opt/libnet/lib"
10 cflags="-std=$std -Wall -Wextra -pedantic -O3 -march=native"
11 ./configure --prefix="$HOME/opt/arping" \
12 CPPFLAGS="$cppflags" \
13 CFLAGS="$cflags" \
14 LDFLAGS="$ldflags" \
15 CC=$cc
16 makescip-shell system . . make. clean
17 makescip-shell system . . make. -j8 EXTRA_CFLAGS="-Werror"
18 makescip-shell system . . make. check 2>/dev/nullscip-shell filesystem . . `/dev/null`. || (echoscip-shell system . . echo. "Test failed" && exit 1)
19 done
20 done