This commit is contained in:
2024-02-21 16:41:11 -06:00
parent 8c4d761247
commit 8013ee875e

View File

@@ -26,7 +26,7 @@ mkdir build
cd build || exit cd build || exit
make clean make clean
cmake .. -DCMAKE_BUILD_TYPE=Release -DSVT_AV1_LTO=ON -DNATIVE=ON \ cmake .. -DCMAKE_BUILD_TYPE=Release -DSVT_AV1_LTO=ON -DNATIVE=ON \
-DCMAKE_C_FLAGS="-flto -O3 -mcpu=native" || exit -DCMAKE_C_FLAGS="-flto -O2 -mcpu=native" || exit
make -j "$(nproc)" || exit make -j "$(nproc)" || exit
sudo make install || exit sudo make install || exit
@@ -50,7 +50,7 @@ git pull
mkdir build mkdir build
cd build || exit cd build || exit
cmake .. -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON\ cmake .. -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON\
-DCMAKE_C_FLAGS="-flto -O3 -mcpu=native" || exit -DCMAKE_C_FLAGS="-flto -O2 -mcpu=native" || exit
make -j "$(nproc)" || exit make -j "$(nproc)" || exit
sudo make install || exit sudo make install || exit