VVCEasy/vvcbuildfraun/BuildforLinux.sh

21 lines
872 B
Bash
Raw Normal View History

2022-05-09 14:12:33 +02:00
#!/bin/bash
2022-04-11 15:18:46 +02:00
echo Martin Eesmaa / VVC Compiler (vvenc and vvdec)
echo We will check packages called: build-essential and cmake
echo It will check, if the build-essential and cmake packages are installed or not.
echo If it's already, it will update.
echo If it's not installed, we will install automatically for you.
echo.
sudo apt update && sudo apt upgrade -y
sudo apt install build-essential cmake -y
2022-09-10 02:12:23 +02:00
cd ~/Downloads
git clone --depth=1 https://github.com/fraunhoferhhi/vvenc
git clone --depth=1 https://github.com/fraunhoferhhi/vvdec
2022-04-11 15:18:46 +02:00
cd vvenc
mkdir build && cd build && cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_EXE_LINKER_FLAGS="-static" .. && make
2022-09-29 13:32:37 +02:00
cd ../../
2022-04-11 15:18:46 +02:00
cd vvdec
mkdir build && cd build && cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_EXE_LINKER_FLAGS="-static" .. && make
2022-09-29 13:32:37 +02:00
cd ../../
2022-09-10 02:12:23 +02:00
echo Please see the build files following starting with vvenc/bin/release-static
2022-04-11 15:18:46 +02:00
pause