Merge pull request #282 from openvenues/faster_windows_build

adding make -j4 to Windows build
This commit is contained in:
Al Barrentine
2017-11-30 19:13:06 -05:00
committed by GitHub
2 changed files with 5 additions and 1 deletions

View File

@@ -3,6 +3,10 @@ version: 1.0.{build}
image: Visual Studio 2015
platform: x64
branches:
only:
- master
environment:
matrix:
- COMPILER: msys2

View File

@@ -17,7 +17,7 @@ IF %COMPILER%==msys2 (
bash -lc "cd $APPVEYOR_BUILD_FOLDER && cp -rf windows/* ./"
bash -lc "cd $APPVEYOR_BUILD_FOLDER && ./bootstrap.sh"
bash -lc "cd $APPVEYOR_BUILD_FOLDER && ./configure --datadir=/c"
bash -lc "cd $APPVEYOR_BUILD_FOLDER && make"
bash -lc "cd $APPVEYOR_BUILD_FOLDER && make -j4"
bash -lc "cd $APPVEYOR_BUILD_FOLDER && make install"
bash -lc "cd $APPVEYOR_BUILD_FOLDER && cp src/.libs/libpostal-*.dll libpostal.dll"
"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\lib.exe" /def:libpostal.def /out:libpostal.lib /machine:x64