blob: 1d5bb19c9dae739916eac93e60fa172f41911af8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/bin/bash
source /etc/profile
source /lib/gentoo/functions.sh
export PATH="${HOME}/.local/bin:${PATH}" CC=clang CXX=clang++
ldd=$(command -v ldd)
if [[ -n ${ldd} ]]; then
export LDFLAGS=-fuse-ld=${ldd}
fi
if [[ ! -d build ]]; then
meson setup -Dfuzz=enabled -Dtests=enabled build || exit $?
fi
ebegin "running check commands"
parallel --halt soon,fail=1 --keep-order -j$(nproc) < check_commands.txt
eend $? || exit $?
|