mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
014cc42249
So people can run it locally more easily.
26 lines
530 B
Bash
Executable File
26 lines
530 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# --bufferoverrun \
|
|
# --pulse \
|
|
|
|
read -r -d '' SCRIPT <<'EOF'
|
|
infer \
|
|
--report-console-limit 100 \
|
|
--jobs 8 \
|
|
--biabduction \
|
|
--loop-hoisting \
|
|
--quandary \
|
|
--racerd \
|
|
--starvation \
|
|
--uninit \
|
|
-- clang++ -fsyntax-only \
|
|
$(pkg-config --cflags libconfig libsodium opus vpx) \
|
|
/work/other/bootstrap_daemon/src/*.c \
|
|
/work/other/bootstrap_node_packets.c \
|
|
/work/toxav/*.c \
|
|
/work/toxcore/*.c \
|
|
/work/toxencryptsave/*.c
|
|
EOF
|
|
|
|
docker run --rm -it -v "$PWD:/work" toxchat/infer bash -c "$SCRIPT"
|