Debian Codegraph @

test/get_build_x264test.sh

raw
1 #!/bin/bash
2
3 : >> "$filelist"
4
5 if [ -d x264/.git ]; then
6 cd x264
7 git reset --hard
8 xargs -r rm -f < "$filelist"
9 make clean
10 else
11 git clone https://code.videolan.org/videolan/x264.git x264
12 cd x264
13 fi
14 : > "$filelist"
15 ./configure
16 ncpus=$(ls -1 /sys/bus/cpu/devices | wc -l)
17 make -j${ncpus}