.appveyor.yml: use patch to pass correct flags to aubio/waf on windows
authorPaul Brossier <piem@piem.org>
Fri, 22 Jul 2016 16:52:56 +0000 (18:52 +0200)
committerPaul Brossier <piem@piem.org>
Fri, 22 Jul 2016 16:52:56 +0000 (18:52 +0200)
.appveyor.yml
scripts/aubio_waf_msvc.patch [new file with mode: 0644]

index 41f7de4..69eed79 100644 (file)
@@ -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 (file)
index 0000000..ebf71be
--- /dev/null
@@ -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