changeset 157:891a8bb7eb56

.appveyor.yml: use patch to pass correct flags to aubio/waf on windows
author Paul Brossier <piem@piem.org>
date Fri, 22 Jul 2016 18:52:56 +0200
parents e20eb5ee1731
children 4b5c9e2d11c7
files .appveyor.yml scripts/aubio_waf_msvc.patch
diffstat 2 files changed, 14 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/.appveyor.yml	Fri Jul 22 18:29:59 2016 +0200
+++ b/.appveyor.yml	Fri Jul 22 18:52:56 2016 +0200
@@ -6,6 +6,7 @@
 
 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
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/scripts/aubio_waf_msvc.patch	Fri Jul 22 18:52:56 2016 +0200
@@ -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