From 51729a60ffab115aba2f9f12906728676262259b Mon Sep 17 00:00:00 2001 From: Vincent Rouvreau Date: Mon, 4 Jul 2022 16:10:22 +0200 Subject: try ninja for osx --- azure-pipelines.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'azure-pipelines.yml') diff --git a/azure-pipelines.yml b/azure-pipelines.yml index e005b3be..d3086d31 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -25,14 +25,14 @@ jobs: python -m pip install --user -r ext/gudhi-deploy/test-requirements.txt python -m pip uninstall -y pykeops brew update || true - brew install graphviz doxygen boost eigen gmp mpfr tbb cgal || true + brew install ninja graphviz doxygen boost eigen gmp mpfr tbb cgal || true displayName: 'Install build dependencies' - bash: | mkdir build cd build - cmake -DCMAKE_BUILD_TYPE:STRING=$(cmakeBuildType) -DWITH_GUDHI_EXAMPLE=ON -DWITH_GUDHI_TEST=ON -DWITH_GUDHI_UTILITIES=ON -DWITH_GUDHI_PYTHON=ON -DWITH_GUDHI_REMOTE_TEST=ON .. - make - make doxygen + cmake -DCMAKE_BUILD_TYPE:STRING=$(cmakeBuildType) -GNinja -DWITH_GUDHI_EXAMPLE=ON -DWITH_GUDHI_TEST=ON -DWITH_GUDHI_UTILITIES=ON -DWITH_GUDHI_PYTHON=ON -DWITH_GUDHI_REMOTE_TEST=ON .. + ninja + ninja doxygen ctest --output-on-failure displayName: 'Build, test and documentation generation' -- cgit v1.2.3 From 878ae6e0ad96fa003b437685e502c37f1ac9c0b0 Mon Sep 17 00:00:00 2001 From: Vincent Rouvreau Date: Mon, 4 Jul 2022 23:53:59 +0200 Subject: Try to install ninja with choco and build with it --- azure-pipelines.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'azure-pipelines.yml') diff --git a/azure-pipelines.yml b/azure-pipelines.yml index d3086d31..3ed76fad 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -62,15 +62,16 @@ jobs: # No PyKeOps on windows, let's workaround this one. for /F "tokens=*" %%A in (ext\gudhi-deploy\test-requirements.txt) do python -m pip install %%A vcpkg install boost-filesystem:x64-windows boost-test:x64-windows boost-program-options:x64-windows tbb:x64-windows eigen3:x64-windows cgal:x64-windows + choco install -y ninja --force --force-dependencies displayName: 'Install build dependencies' - script: | call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" amd64 IF %errorlevel% NEQ 0 exit /b %errorlevel% mkdir build cd build - cmake -G "Visual Studio 17 2022" -A x64 -DCMAKE_BUILD_TYPE=Release -DFORCE_EIGEN_DEFAULT_DENSE_INDEX_TYPE_TO_INT=ON $(cmakeVcpkgFlags) $(cmakeFlags) .. + cmake -G "Ninja" -A x64 -DCMAKE_BUILD_TYPE=Release -DFORCE_EIGEN_DEFAULT_DENSE_INDEX_TYPE_TO_INT=ON $(cmakeVcpkgFlags) $(cmakeFlags) .. IF %errorlevel% NEQ 0 exit /b %errorlevel% - MSBuild GUDHIdev.sln /m /p:Configuration=Release /p:Platform=x64 + ninja IF %errorlevel% NEQ 0 exit /b %errorlevel% ctest --output-on-failure -C Release -E diff_files IF %errorlevel% NEQ 0 exit /b %errorlevel% -- cgit v1.2.3 From b560b65d00003a584a0dffff7faf683c52c46a3e Mon Sep 17 00:00:00 2001 From: Vincent Rouvreau Date: Tue, 5 Jul 2022 11:54:05 +0200 Subject: bad syntax --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'azure-pipelines.yml') diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 3ed76fad..0ab72ac8 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -69,7 +69,7 @@ jobs: IF %errorlevel% NEQ 0 exit /b %errorlevel% mkdir build cd build - cmake -G "Ninja" -A x64 -DCMAKE_BUILD_TYPE=Release -DFORCE_EIGEN_DEFAULT_DENSE_INDEX_TYPE_TO_INT=ON $(cmakeVcpkgFlags) $(cmakeFlags) .. + cmake -DCMAKE_BUILD_TYPE=Release -GNinja -DFORCE_EIGEN_DEFAULT_DENSE_INDEX_TYPE_TO_INT=ON $(cmakeVcpkgFlags) $(cmakeFlags) .. IF %errorlevel% NEQ 0 exit /b %errorlevel% ninja IF %errorlevel% NEQ 0 exit /b %errorlevel% -- cgit v1.2.3 From ced97241ae95483e253469ee94d6b8968066a7c7 Mon Sep 17 00:00:00 2001 From: Vincent Rouvreau Date: Wed, 17 Aug 2022 12:21:20 +0200 Subject: try this syntax --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'azure-pipelines.yml') diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 0ab72ac8..f54e593f 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -69,7 +69,7 @@ jobs: IF %errorlevel% NEQ 0 exit /b %errorlevel% mkdir build cd build - cmake -DCMAKE_BUILD_TYPE=Release -GNinja -DFORCE_EIGEN_DEFAULT_DENSE_INDEX_TYPE_TO_INT=ON $(cmakeVcpkgFlags) $(cmakeFlags) .. + cmake -DCMAKE_BUILD_TYPE=Release -G "Ninja" -DFORCE_EIGEN_DEFAULT_DENSE_INDEX_TYPE_TO_INT=ON $(cmakeVcpkgFlags) $(cmakeFlags) .. IF %errorlevel% NEQ 0 exit /b %errorlevel% ninja IF %errorlevel% NEQ 0 exit /b %errorlevel% -- cgit v1.2.3