changeset 187:e82f4da325ae

build_mingw{32,64}.sh: vamp cross-compilation is broken, refuse to run scripts (see #2)
author Paul Brossier <piem@piem.org>
date Mon, 13 Feb 2017 22:45:05 +0100
parents 8a4c659123be
children 7f7cdb2c8138
files build_mingw32.sh build_mingw64.sh
diffstat 2 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/build_mingw32.sh	Mon Feb 13 22:20:48 2017 +0100
+++ b/build_mingw32.sh	Mon Feb 13 22:45:05 2017 +0100
@@ -2,6 +2,10 @@
 
 # cross compile vamp-aubio-plugins using mingw32 toolchain
 
+echo "ERROR: This script does not produce a binary loadable by sonic visualiser."
+echo "Comment the following line to run it anyway."
+exit 1
+
 . $PWD/VERSION
 VAMP_AUBIO_VERSION=$VAMP_AUBIO_MAJOR_VERSION.$VAMP_AUBIO_MINOR_VERSION.$VAMP_AUBIO_PATCH_VERSION$VAMP_AUBIO_VERSION_STATUS
 
--- a/build_mingw64.sh	Mon Feb 13 22:20:48 2017 +0100
+++ b/build_mingw64.sh	Mon Feb 13 22:45:05 2017 +0100
@@ -2,6 +2,10 @@
 
 # cross compile vamp-aubio-plugins using mingw32 toolchain
 
+echo "ERROR: This script does not produce a binary loadable by sonic visualiser."
+echo "Comment the following line to run it anyway."
+exit 1
+
 . $PWD/VERSION
 VAMP_AUBIO_VERSION=$VAMP_AUBIO_MAJOR_VERSION.$VAMP_AUBIO_MINOR_VERSION.$VAMP_AUBIO_PATCH_VERSION$VAMP_AUBIO_VERSION_STATUS