From 373b6923158c9e9c92744d015cc780320e68ca78 Mon Sep 17 00:00:00 2001 From: Daniel Stankewitz Date: Sun, 1 Jul 2018 22:41:51 +0200 Subject: [PATCH] Update build_tc.sh --- build_tc.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/build_tc.sh b/build_tc.sh index 4055f46..c95f469 100644 --- a/build_tc.sh +++ b/build_tc.sh @@ -47,9 +47,14 @@ elif [ "$STEP" == "x264" ]; then make -j $CPU_CORES make install-lib-static elif [ "$STEP" == "x265" ]; then - cd $SRC/x265 + # checkout manually (cmake is getting values from git) + cd $src/.. + if [ ! -d $SRC/x265/.git ]; then + git clone $1 $SRC/x265 + fi + git reset --hard git pull - cd build/vc15-x86_64 + cd $SRC/x265/build/vc15-x86_64 rm -rf work* mkdir work work10 work12 # 12bit