0
0
mirror of https://github.com/netwide-assembler/nasm.git synced 2025-10-10 00:25:06 -04:00
Files
nasm/test/get_build_ffmpegtest.sh

17 lines
312 B
Bash
Executable File

#!/bin/bash
: >> "$filelist"
if [ -d ffmpeg/.git ]; then
cd ffmpeg
git reset --hard
xargs -r rm -f < "$filelist"
else
git clone https://git.ffmpeg.org/ffmpeg.git ffmpeg
cd ffmpeg
fi
: > "$filelist"
./configure --disable-stripping
ncpus=$(ls -1 /sys/bus/cpu/devices | wc -l)
make -j${ncpus}