Skip to content

Commit

Permalink
switch to ninja for appveyor in an attempt to build faster
Browse files Browse the repository at this point in the history
  • Loading branch information
hobu committed Feb 15, 2019
1 parent 5f747a7 commit f12602d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion scripts/appveyor/conda/build.cmd
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
call "%CONDA_ROOT%\Scripts\activate.bat" base
call conda install geotiff laszip nitro curl gdal pcl cmake eigen ninja libgdal zstd numpy xz libxml2 laz-perf qhull sqlite hdf5 numpy-base tiledb conda-build -y
call conda install geotiff laszip nitro curl gdal pcl cmake eigen ninja libgdal zstd numpy xz libxml2 laz-perf qhull sqlite hdf5 numpy-base tiledb conda-build ninja -y
call conda config --set path_conflict clobber
pushd "scripts\\appveyor\\conda\\recipe"
REM pdal-%APPVEYOR_REPO_COMMIT%-py37_appveyor
Expand Down
6 changes: 3 additions & 3 deletions scripts/appveyor/conda/recipe/bld.bat
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
mkdir build
cd build

cmake -G "NMake Makefiles" ^
cmake -G "Ninja" ^
-DCMAKE_INSTALL_PREFIX:PATH="%LIBRARY_PREFIX%" ^
-DCMAKE_BUILD_TYPE:STRING=Release ^
-DCMAKE_LIBRARY_PATH="%LIBRARY_LIB%" ^
Expand All @@ -23,10 +23,10 @@ cmake -G "NMake Makefiles" ^
%SRC_DIR%
if errorlevel 1 exit 1

nmake
ninja
if errorlevel 1 exit 1

nmake install
ninja install
if errorlevel 1 exit 1

set ACTIVATE_DIR=%PREFIX%\etc\conda\activate.d
Expand Down
2 changes: 1 addition & 1 deletion scripts/appveyor/test/build.cmd
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
call "%CONDA_ROOT%\Scripts\activate.bat" base
call conda install geotiff laszip nitro curl gdal pcl cmake eigen ninja libgdal zstd numpy xz libxml2 laz-perf qhull sqlite hdf5 numpy-base tiledb conda-build -y
call conda install geotiff laszip nitro curl gdal pcl cmake eigen ninja libgdal zstd numpy xz libxml2 laz-perf qhull sqlite hdf5 numpy-base tiledb conda-build ninja -y

echo "before vcvars"
dir
Expand Down

0 comments on commit f12602d

Please sign in to comment.