Update build_tc.sh

This commit is contained in:
Daniel Stankewitz 2019-08-14 22:24:42 +02:00 committed by GitHub
parent 0804404294
commit 7bdc8b7a34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,6 +43,15 @@ if [ "$STEP" == "svt-av1" ]; then
cp SvtAv1Enc.pc $BUILD/lib/pkgconfig/ cp SvtAv1Enc.pc $BUILD/lib/pkgconfig/
cd $SRC/ffmpeg cd $SRC/ffmpeg
git apply ../svt-av1/ffmpeg_plugin/0001-Add-ability-for-ffmpeg-to-run-svt-av1.patch git apply ../svt-av1/ffmpeg_plugin/0001-Add-ability-for-ffmpeg-to-run-svt-av1.patch
elif [ "$STEP" == "svt-hevc" ]; then
cd $SRC/svt-hevc/Build
cmake .. -G"Visual Studio 15 2017" -A x64 -DCMAKE_INSTALL_PREFIX=$BUILD -DCMAKE_CONFIGURATION_TYPES="Debug;Release"
MSBuild.exe /maxcpucount:$CPU_CORES /property:Configuration="$MSBUILD_CONFIG" /property:ConfigurationType="StaticLibrary" /property:TargetExt=".lib" Source/Lib/Encoder/SvtHevcEnc.vcxproj
cp -r ../Source/API $BUILD/include/svt-hevc
cp ../Bin/Release/$MSBUILD_CONFIG/SvtHevcEnc.lib $BUILD/lib/
cp SvtHevcEnc.pc $BUILD/lib/pkgconfig/
#cd $SRC/ffmpeg
#git apply ../svt-av1/ffmpeg_plugin/0001-Add-ability-for-ffmpeg-to-run-svt-av1.patch
elif [ "$STEP" == "libmfx" ]; then elif [ "$STEP" == "libmfx" ]; then
cd $SRC/libmfx cd $SRC/libmfx
if [[ ! -f "configure" ]]; then if [[ ! -f "configure" ]]; then