aboutsummaryrefslogtreecommitdiff
path: root/docker_build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'docker_build.sh')
-rwxr-xr-xdocker_build.sh25
1 files changed, 0 insertions, 25 deletions
diff --git a/docker_build.sh b/docker_build.sh
deleted file mode 100755
index 6ee1b96..0000000
--- a/docker_build.sh
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/bin/bash
-
-TARGET=$1
-
-CI_PROJECT_DIR=$(pwd)
-CI_BUILD_NAME=${TARGET}
-
-BASE_NAME="canvas.lv2"
-PKG_CONFIG_PATH="/opt/lv2/lib/pkgconfig:/opt/${CI_BUILD_NAME}/lib/pkgconfig"
-TOOLCHAIN_FILE="${CI_PROJECT_DIR}/cmake/${CI_BUILD_NAME}.cmake"
-
-rm -rf ${TARGET}
-mkdir -p ${TARGET}
-pushd ${TARGET}
- PKG_CONFIG_PATH=${PKG_CONFIG_PATH} cmake \
- -DCAIRO_INCLUDE_DIRS="/opt/${CI_BUILD_NAME}/include" \
- -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_INSTALL_PREFIX=${CI_PROJECT_DIR} \
- -DPLUGIN_DEST="${BASE_NAME}-$(cat ../VERSION)/${CI_BUILD_NAME}/${BASE_NAME}" \
- -DCMAKE_TOOLCHAIN_FILE=${TOOLCHAIN_FILE} \
- ..
- make -j4
- make install
- #ARGS='-VV' make test
-popd