From: Paul Brossier Date: Fri, 22 Jul 2016 16:52:56 +0000 (+0200) Subject: .appveyor.yml: use patch to pass correct flags to aubio/waf on windows X-Git-Tag: 0.5.1~34 X-Git-Url: https://git.aubio.org/?a=commitdiff_plain;h=a9db888d1c324e11beaa88706778175af8401d3b;p=vamp-aubio-plugins.git .appveyor.yml: use patch to pass correct flags to aubio/waf on windows --- diff --git a/.appveyor.yml b/.appveyor.yml index 41f7de4..69eed79 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -6,6 +6,7 @@ platform: build_script: - sh scripts/get_waf.sh + - patch -p1 < scripts/aubio_waf_msvc.patch - sh scripts/get_aubio.sh - sh scripts/get_deps_msvc.sh - python waf configure diff --git a/scripts/aubio_waf_msvc.patch b/scripts/aubio_waf_msvc.patch new file mode 100644 index 0000000..ebf71be --- /dev/null +++ b/scripts/aubio_waf_msvc.patch @@ -0,0 +1,13 @@ +diff --git a/scripts/get_aubio.sh b/scripts/get_aubio.sh +index d3a5a71..9cd413c 100755 +--- a/scripts/get_aubio.sh ++++ b/scripts/get_aubio.sh +@@ -11,7 +11,7 @@ git clone https://github.com/aubio/aubio aubio || ( pushd aubio; git pull; popd + pushd aubio + ./scripts/get_waf.sh + #./waf distclean +-./waf configure --prefix=$PWD/../aubio-dist $WAFOPTS ++./waf configure --prefix=$PWD/../aubio-dist --msvc_version='msvc 12.0' --msvc_target='x86' + ./waf build -v + ./waf install -v + popd