0
0
mirror of https://github.com/netwide-assembler/nasm.git synced 2025-11-08 23:27:15 -05:00
Files
nasm/test/get_build_dav1dtest.sh
2025-10-08 13:07:07 -07:00

20 lines
360 B
Bash
Executable File

#!/bin/bash
: >> "$filelist"
if [ -d dav1d/.git ]; then
cd dav1d
git reset --hard
cd build
xargs -r rm -f < "$filelist"
ninja clean
else
git clone https://code.videolan.org/videolan/dav1d.git dav1d
mkdir -p dav1d/build
cd dav1d/build
meson setup ..
fi
: > "$filelist"
#ncpus=$(ls -1 /sys/bus/cpu/devices | wc -l)
ninja -v