]> git.sesse.net Git - casparcg/commitdiff
* Unpack large files before building in Linux build script
authorHelge Norberg <helge.norberg@svt.se>
Fri, 22 May 2015 12:15:16 +0000 (14:15 +0200)
committerHelge Norberg <helge.norberg@svt.se>
Fri, 22 May 2015 12:15:16 +0000 (14:15 +0200)
build-scripts/build-linux.sh

index 415235ae06efb574f46f09cc9da4df88f83047fb..1b8400a4d335dbb028efc5049b488bf67c582ab9 100755 (executable)
@@ -10,6 +10,10 @@ fail()
 [ -z "$BUILD_ARCHIVE_NAME" ] && fail "BUILD_ARCHIVE_NAME has to be set"
 [ -z "$BUILD_PARALLEL_THREADS" ] && fail "BUILD_PARALLEL_THREADS has to be set"
 
+# Unpack archived dependencies
+cd ../dependencies64 || fail "Could not enter ../dependencies64"
+tar xvJf large_files_linux.tar.xz || fail "Could not unpack large_files_linux.tar.xz"
+
 # Clean and enter shadow build folder
 echo Cleaning...
 if [ -e ../build ]; then
@@ -19,7 +23,7 @@ fi
 mkdir ../build || fail "Could not create ../build"
 cd ../build || fail "Could not enter ../build"
 
-# Run qmake
+# Run cmake
 echo Running cmake...
 cmake -G "Unix Makefiles" -A x64 -DCMAKE_BUILD_TYPE=RelWithDebInfo .. || fail "cmake failed"