From f8243f4e41ad1231bc8dd107c67ea03bd63cb08e Mon Sep 17 00:00:00 2001 From: regro-cf-autotick-bot <36490558+regro-cf-autotick-bot@users.noreply.github.com> Date: Sun, 11 Aug 2024 18:59:58 +0000 Subject: [PATCH 01/17] updated v0.0.5 --- recipe/meta.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 5e10eed..b15e0ab 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -1,5 +1,5 @@ {% set name = "manif-split" %} -{% set version = "0.0.4" %} +{% set version = "0.0.5" %} package: name: {{ name }} @@ -7,14 +7,14 @@ package: source: - url: https://github.com/artivis/manif/archive/{{ version }}.tar.gz - sha256: 739731e1eb83194c4977fa946ee63ba1aa8aadf757d67f3b183f2dfab64eff81 + sha256: 246a781c54a5c57179d48096faca0d108944e120f69d8fd7fb69e3cb4a0a67fb patches: - 236.patch - 233.patch # [win] - 248.patch build: - number: 17 + number: 0 outputs: - name: manif From d3165e7e6fe98c2ae01eb8f1618f4c5bb58021ac Mon Sep 17 00:00:00 2001 From: regro-cf-autotick-bot <36490558+regro-cf-autotick-bot@users.noreply.github.com> Date: Sun, 11 Aug 2024 19:01:01 +0000 Subject: [PATCH 02/17] MNT: Re-rendered with conda-build 24.7.1, conda-smithy 3.38.0, and conda-forge-pinning 2024.08.11.18.23.17 --- .azure-pipelines/azure-pipelines-win.yml | 2 +- .scripts/build_steps.sh | 1 - .scripts/run_osx_build.sh | 2 +- build-locally.py | 4 ++-- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.azure-pipelines/azure-pipelines-win.yml b/.azure-pipelines/azure-pipelines-win.yml index aff7369..502d188 100755 --- a/.azure-pipelines/azure-pipelines-win.yml +++ b/.azure-pipelines/azure-pipelines-win.yml @@ -24,7 +24,7 @@ jobs: scriptSource: inline script: | import urllib.request - url = 'https://github.com/conda-forge/miniforge/releases/latest/download/Mambaforge-Windows-x86_64.exe' + url = 'https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Windows-x86_64.exe' path = r"$(Build.ArtifactStagingDirectory)/Miniforge.exe" urllib.request.urlretrieve(url, path) diff --git a/.scripts/build_steps.sh b/.scripts/build_steps.sh index a5836e8..ba4b251 100755 --- a/.scripts/build_steps.sh +++ b/.scripts/build_steps.sh @@ -72,7 +72,6 @@ else --suppress-variables ${EXTRA_CB_OPTIONS:-} \ --clobber-file "${CI_SUPPORT}/clobber_${CONFIG}.yaml" \ --extra-meta flow_run_id="${flow_run_id:-}" remote_url="${remote_url:-}" sha="${sha:-}" - ( startgroup "Inspecting artifacts" ) 2> /dev/null # inspect_artifacts was only added in conda-forge-ci-setup 4.6.0 diff --git a/.scripts/run_osx_build.sh b/.scripts/run_osx_build.sh index ba0c879..420f051 100755 --- a/.scripts/run_osx_build.sh +++ b/.scripts/run_osx_build.sh @@ -11,7 +11,7 @@ MINIFORGE_HOME=${MINIFORGE_HOME:-${HOME}/miniforge3} ( startgroup "Installing a fresh version of Miniforge" ) 2> /dev/null MINIFORGE_URL="https://github.com/conda-forge/miniforge/releases/latest/download" -MINIFORGE_FILE="Mambaforge-MacOSX-$(uname -m).sh" +MINIFORGE_FILE="Miniforge3-MacOSX-$(uname -m).sh" curl -L -O "${MINIFORGE_URL}/${MINIFORGE_FILE}" rm -rf ${MINIFORGE_HOME} bash $MINIFORGE_FILE -b -p ${MINIFORGE_HOME} diff --git a/build-locally.py b/build-locally.py index e0d408d..d78427b 100755 --- a/build-locally.py +++ b/build-locally.py @@ -3,11 +3,11 @@ # This file has been generated by conda-smithy in order to build the recipe # locally. # -import os import glob +import os +import platform import subprocess from argparse import ArgumentParser -import platform def setup_environment(ns): From 4c4082ce5a9c9a2d9da22041bdf56225bc84ae33 Mon Sep 17 00:00:00 2001 From: Silvio Traversaro Date: Sun, 11 Aug 2024 22:34:35 +0200 Subject: [PATCH 03/17] Update meta.yaml --- recipe/meta.yaml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index b15e0ab..081998e 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -8,10 +8,6 @@ package: source: - url: https://github.com/artivis/manif/archive/{{ version }}.tar.gz sha256: 246a781c54a5c57179d48096faca0d108944e120f69d8fd7fb69e3cb4a0a67fb - patches: - - 236.patch - - 233.patch # [win] - - 248.patch build: number: 0 From 6c8a90c551fc85bec9d207185a3e120a184a9d28 Mon Sep 17 00:00:00 2001 From: Silvio Traversaro Date: Sun, 11 Aug 2024 22:34:53 +0200 Subject: [PATCH 04/17] Delete recipe/233.patch --- recipe/233.patch | 96 ------------------------------------------------ 1 file changed, 96 deletions(-) delete mode 100644 recipe/233.patch diff --git a/recipe/233.patch b/recipe/233.patch deleted file mode 100644 index fa30b74..0000000 --- a/recipe/233.patch +++ /dev/null @@ -1,96 +0,0 @@ -From bac5971dd11f9882decf239d44b2fe9383ed2a6e Mon Sep 17 00:00:00 2001 -From: Diego Ferigo -Date: Wed, 16 Jun 2021 20:02:45 +0200 -Subject: [PATCH] Restructure pybind11 to create and install a proper Python - package - ---- - CMakeLists.txt | 1 + - python/CMakeLists.txt | 46 ++++++++++++++++++++++++++++++++++++++- - python/bindings_manif.cpp | 2 +- - 3 files changed, 47 insertions(+), 2 deletions(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index e9ed4a38..bf32f7bc 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -61,6 +61,7 @@ option(BUILD_PYTHON_BINDINGS "Build Python bindings with pybind11." OFF) - option(BUILD_TESTING_PYTHON "Build Python tests only." OFF) - - if (BUILD_PYTHON_BINDINGS) -+ find_package(Python3 COMPONENTS Interpreter Development REQUIRED) - find_package(pybind11 REQUIRED) - add_subdirectory(python) - endif() -diff --git a/python/CMakeLists.txt b/python/CMakeLists.txt -index 6138dc84..7dbdc651 100644 ---- a/python/CMakeLists.txt -+++ b/python/CMakeLists.txt -@@ -1,5 +1,5 @@ - set(PYBIND11_CPP_STANDARD -std=c++11) --pybind11_add_module(manifpy -+pybind11_add_module(manifpy MODULE - bindings_rn.cpp - bindings_so2.cpp - bindings_so3.cpp -@@ -17,3 +17,47 @@ target_compile_definitions(manifpy PRIVATE EIGEN_DEFAULT_TO_ROW_MAJOR) - set_property(TARGET manifpy PROPERTY CXX_STANDARD 11) - set_property(TARGET manifpy PROPERTY CXX_STANDARD_REQUIRED ON) - set_property(TARGET manifpy PROPERTY CXX_EXTENSIONS OFF) -+ -+# Detect the active site-packages folder instead of using CMAKE_INSTALL_PREFIX -+option( -+ DETECT_ACTIVE_PYTHON_SITEPACKAGES -+ "Do you want manif to detect and use the active site-package directory? (it could be a system dir)" -+ FALSE) -+ -+# Installation in the active site-packages folder (could be a system folder) -+if(DETECT_ACTIVE_PYTHON_SITEPACKAGES) -+ set(PYTHON_INSTDIR "${Python3_SITELIB}/manifpy") -+# Installation from the build extension of setup.py -+elseif(CALL_FROM_SETUP_PY) -+ set(PYTHON_INSTDIR "${CMAKE_INSTALL_PREFIX}") -+# Installation in the CMAKE_INSTALL_PREFIX -+else() -+ execute_process( -+ COMMAND -+ ${Python3_EXECUTABLE} -c -+ "import distutils.sysconfig; print(distutils.sysconfig.get_python_lib(plat_specific=True, standard_lib=False, prefix=''))" -+ OUTPUT_VARIABLE _PYTHON_INSTDIR) -+ string(STRIP ${_PYTHON_INSTDIR} _PYTHON_INSTDIR_CLEAN) -+ set(PYTHON_INSTDIR "${_PYTHON_INSTDIR_CLEAN}/manifpy") -+endif() -+ -+# Setup installation path -+install(TARGETS manifpy DESTINATION "${PYTHON_INSTDIR}") -+ -+# Create the Python package in the build tree for testing purposes -+set(BUILD_TREE_PYTHON_PACKAGE "${CMAKE_BINARY_DIR}/manifpy") -+set_target_properties( -+ manifpy PROPERTIES -+ OUTPUT_NAME _bindings -+ LIBRARY_OUTPUT_DIRECTORY "${BUILD_TREE_PYTHON_PACKAGE}") -+ -+# Create the __init__.py file -+file( -+ GENERATE -+ OUTPUT "${BUILD_TREE_PYTHON_PACKAGE}/__init__.py" -+ CONTENT "from manifpy._bindings import *\n") -+ -+# Install the __init__.py file -+install( -+ FILES "${BUILD_TREE_PYTHON_PACKAGE}/__init__.py" -+ DESTINATION ${PYTHON_INSTDIR}) -diff --git a/python/bindings_manif.cpp b/python/bindings_manif.cpp -index 96757b38..d1b16d56 100644 ---- a/python/bindings_manif.cpp -+++ b/python/bindings_manif.cpp -@@ -10,7 +10,7 @@ void wrap_SE3(pybind11::module &m); - - void wrap_SE_2_3(pybind11::module &m); - --PYBIND11_MODULE(manifpy, m) { -+PYBIND11_MODULE(_bindings, m) { - m.doc() = "Python bindings for the manif library, " - "a small library for Lie theory."; - From 992c8a49607a13c1052ac4249bc292449bf70f0c Mon Sep 17 00:00:00 2001 From: Silvio Traversaro Date: Sun, 11 Aug 2024 22:35:02 +0200 Subject: [PATCH 05/17] Delete recipe/236.patch --- recipe/236.patch | 49 ------------------------------------------------ 1 file changed, 49 deletions(-) delete mode 100644 recipe/236.patch diff --git a/recipe/236.patch b/recipe/236.patch deleted file mode 100644 index 9605676..0000000 --- a/recipe/236.patch +++ /dev/null @@ -1,49 +0,0 @@ -From 09ce487c82bc0d1e730d090a78ab8da89e2aece8 Mon Sep 17 00:00:00 2001 -From: Silvio Traversaro -Date: Wed, 21 Jul 2021 14:48:47 +0200 -Subject: [PATCH 1/2] Fix find_package(manif) if tl-optional_FOUND is TRUE - ---- - CMakeLists.txt | 7 +++++++ - 1 file changed, 7 insertions(+) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index e9ed4a38..13f8dbbc 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -101,6 +101,13 @@ else(TARGET Eigen3::Eigen) - target_include_directories(${PROJECT_NAME} SYSTEM INTERFACE ${EIGEN3_INCLUDE_DIRS}) - endif(TARGET Eigen3::Eigen) - -+# Add tl-optional interface dependency if enabled -+if(tl-optional_FOUND) -+ set(tl-optional_DEPENDENCY "find_dependency(tl-optional)") -+else() -+ set(tl-optional_DEPENDENCY "") -+endif() -+ - if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang") - target_compile_options(${PROJECT_NAME} INTERFACE -ftemplate-depth=512) - elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC") - -From 1a7abca49d36b342d83b8622c25ca129981910b4 Mon Sep 17 00:00:00 2001 -From: Silvio Traversaro -Date: Wed, 21 Jul 2021 14:49:26 +0200 -Subject: [PATCH 2/2] Update manifConfig.cmake.in - ---- - cmake/manifConfig.cmake.in | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/cmake/manifConfig.cmake.in b/cmake/manifConfig.cmake.in -index bbbc6987..863d5b57 100644 ---- a/cmake/manifConfig.cmake.in -+++ b/cmake/manifConfig.cmake.in -@@ -2,6 +2,7 @@ - - include(CMakeFindDependencyMacro) - @Eigen3_DEPENDENCY@ -+@tl-optional_DEPENDENCY@ - - if(NOT TARGET @PROJECT_NAME@) - include("${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@Targets.cmake") From 6eb54aa30b0ee3a64e666f4b645efc424024056b Mon Sep 17 00:00:00 2001 From: Silvio Traversaro Date: Sun, 11 Aug 2024 22:35:10 +0200 Subject: [PATCH 06/17] Delete recipe/248.patch --- recipe/248.patch | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 recipe/248.patch diff --git a/recipe/248.patch b/recipe/248.patch deleted file mode 100644 index 0b8f1d9..0000000 --- a/recipe/248.patch +++ /dev/null @@ -1,21 +0,0 @@ -From 6e43be2e11295dca1ec0f00c8bfa52778414a00b Mon Sep 17 00:00:00 2001 -From: Silvio Traversaro -Date: Tue, 28 Jun 2022 16:49:49 +0200 -Subject: [PATCH] Add missing include in impl/macro.h header - ---- - include/manif/impl/macro.h | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/include/manif/impl/macro.h b/include/manif/impl/macro.h -index 87f2913b..5d5fa8ff 100644 ---- a/include/manif/impl/macro.h -+++ b/include/manif/impl/macro.h -@@ -2,6 +2,7 @@ - #define _MANIF_MANIF_FWD_H_ - - #include // for std::runtime_error -+#include // for std::forward - - #ifdef NDEBUG - # ifndef MANIF_NO_DEBUG From ca3714ca440ee005c0717fab1ad3647c465bd9d7 Mon Sep 17 00:00:00 2001 From: Silvio Traversaro Date: Sun, 11 Aug 2024 22:49:40 +0200 Subject: [PATCH 07/17] Add cmake-build-extension dependency --- recipe/meta.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 081998e..90e996e 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -50,6 +50,7 @@ outputs: - cmake - python # [build_platform != target_platform] - cross-python_{{ target_platform }} # [build_platform != target_platform] + - cmake-build-extension # [build_platform != target_platform] - clang 13 # [win] - lld 13 # [win] - llvm-tools 13 # [win] @@ -58,6 +59,7 @@ outputs: - tl-optional - python - pip + - cmake-build-extension # Workaround for https://github.com/conda-forge/pybind11-feedstock/pull/94#issuecomment-2033804227 - pybind11 <2.12.0 - pybind11-abi From f29a747433e29730251bd0d9f1884e9731321d85 Mon Sep 17 00:00:00 2001 From: Silvio Traversaro Date: Sun, 11 Aug 2024 23:00:54 +0200 Subject: [PATCH 08/17] Pass correct version to setuptools-scm --- recipe/build_py.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/recipe/build_py.sh b/recipe/build_py.sh index 3fc677d..a3dad5c 100644 --- a/recipe/build_py.sh +++ b/recipe/build_py.sh @@ -1,3 +1,4 @@ #!/bin/sh +export SETUPTOOLS_SCM_PRETEND_VERSION="$PKG_VERSION" python -m pip install --no-build-isolation --no-deps . -vv From 3fbc7bf249e3d64961e48180be7ec12800fb07af Mon Sep 17 00:00:00 2001 From: Silvio Traversaro Date: Sun, 11 Aug 2024 23:55:05 +0200 Subject: [PATCH 09/17] Re-enable tests on Windows --- recipe/bld_cxx.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipe/bld_cxx.bat b/recipe/bld_cxx.bat index c80e2ba..cb7453b 100644 --- a/recipe/bld_cxx.bat +++ b/recipe/bld_cxx.bat @@ -5,7 +5,7 @@ cmake ^ -G "Ninja" ^ -DCMAKE_INSTALL_PREFIX=%LIBRARY_PREFIX% ^ -DCMAKE_BUILD_TYPE=Release ^ - -DBUILD_TESTING=OFF ^ + -DBUILD_TESTING=ON ^ -DBUILD_EXAMPLES=ON ^ -DUSE_SYSTEM_WIDE_TL_OPTIONAL=ON ^ %SRC_DIR% From be39a2f6175c749bc467bbdf46b57a96d8052a4a Mon Sep 17 00:00:00 2001 From: Silvio Traversaro Date: Mon, 12 Aug 2024 00:16:52 +0200 Subject: [PATCH 10/17] Update bld_cxx.bat --- recipe/bld_cxx.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipe/bld_cxx.bat b/recipe/bld_cxx.bat index cb7453b..c80e2ba 100644 --- a/recipe/bld_cxx.bat +++ b/recipe/bld_cxx.bat @@ -5,7 +5,7 @@ cmake ^ -G "Ninja" ^ -DCMAKE_INSTALL_PREFIX=%LIBRARY_PREFIX% ^ -DCMAKE_BUILD_TYPE=Release ^ - -DBUILD_TESTING=ON ^ + -DBUILD_TESTING=OFF ^ -DBUILD_EXAMPLES=ON ^ -DUSE_SYSTEM_WIDE_TL_OPTIONAL=ON ^ %SRC_DIR% From c056f59424c347c6830ca86a5d7592ab7bc831f7 Mon Sep 17 00:00:00 2001 From: Silvio Traversaro Date: Mon, 12 Aug 2024 00:21:20 +0200 Subject: [PATCH 11/17] Create 305.patch --- recipe/305.patch | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 recipe/305.patch diff --git a/recipe/305.patch b/recipe/305.patch new file mode 100644 index 0000000..60f7a2f --- /dev/null +++ b/recipe/305.patch @@ -0,0 +1,23 @@ +From 8e3ef4b74b47c036ed848c2291a39e1cc531d1c3 Mon Sep 17 00:00:00 2001 +From: Silvio Traversaro +Date: Mon, 12 Aug 2024 00:20:35 +0200 +Subject: [PATCH] Fix link to GTest if GTest is found via find_package + +--- + test/CMakeLists.txt | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt +index 4dd6dbe3..2af25ea2 100644 +--- a/test/CMakeLists.txt ++++ b/test/CMakeLists.txt +@@ -34,8 +34,7 @@ endif() + # small helper function + function(manif_add_gtest target) + add_executable(${target} ${ARGN}) +- add_dependencies(${target} gtest) +- target_link_libraries(${target} ${PROJECT_NAME} gtest) ++ target_link_libraries(${target} ${PROJECT_NAME} GTest::gtest) + + if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU") + # GCC is not strict enough by default, so enable most of the warnings. From 80fd124945d2b4227e48839fda02e035657bc678 Mon Sep 17 00:00:00 2001 From: Silvio Traversaro Date: Mon, 12 Aug 2024 00:21:36 +0200 Subject: [PATCH 12/17] Update meta.yaml --- recipe/meta.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 90e996e..2e526e9 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -8,6 +8,8 @@ package: source: - url: https://github.com/artivis/manif/archive/{{ version }}.tar.gz sha256: 246a781c54a5c57179d48096faca0d108944e120f69d8fd7fb69e3cb4a0a67fb + patches: + - 305.patch build: number: 0 From 52b8ec39854923b484040899f0b6df474efd9a03 Mon Sep 17 00:00:00 2001 From: Silvio Traversaro Date: Mon, 12 Aug 2024 00:22:05 +0200 Subject: [PATCH 13/17] Update bld_cxx.bat --- recipe/bld_cxx.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipe/bld_cxx.bat b/recipe/bld_cxx.bat index c80e2ba..cb7453b 100644 --- a/recipe/bld_cxx.bat +++ b/recipe/bld_cxx.bat @@ -5,7 +5,7 @@ cmake ^ -G "Ninja" ^ -DCMAKE_INSTALL_PREFIX=%LIBRARY_PREFIX% ^ -DCMAKE_BUILD_TYPE=Release ^ - -DBUILD_TESTING=OFF ^ + -DBUILD_TESTING=ON ^ -DBUILD_EXAMPLES=ON ^ -DUSE_SYSTEM_WIDE_TL_OPTIONAL=ON ^ %SRC_DIR% From 83f43d0059145ccd0db7f3f4fe71d005af0f0a1c Mon Sep 17 00:00:00 2001 From: Silvio Traversaro Date: Mon, 12 Aug 2024 00:40:11 +0200 Subject: [PATCH 14/17] Update bld_cxx.bat --- recipe/bld_cxx.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipe/bld_cxx.bat b/recipe/bld_cxx.bat index cb7453b..0f1180a 100644 --- a/recipe/bld_cxx.bat +++ b/recipe/bld_cxx.bat @@ -12,7 +12,7 @@ cmake ^ if errorlevel 1 exit 1 :: Build. -cmake --build . --config Release +cmake --build . --config Release --parallel 3 if errorlevel 1 exit 1 :: Install. From 1c06ea168fbae1459712561456f7f4d5521a7179 Mon Sep 17 00:00:00 2001 From: Silvio Traversaro Date: Mon, 12 Aug 2024 01:01:56 +0200 Subject: [PATCH 15/17] Update bld_cxx.bat --- recipe/bld_cxx.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipe/bld_cxx.bat b/recipe/bld_cxx.bat index 0f1180a..8794efe 100644 --- a/recipe/bld_cxx.bat +++ b/recipe/bld_cxx.bat @@ -12,7 +12,7 @@ cmake ^ if errorlevel 1 exit 1 :: Build. -cmake --build . --config Release --parallel 3 +cmake --build . --config Release --parallel 2 if errorlevel 1 exit 1 :: Install. From 405a1b30de99abca0fc794341199543b5858d716 Mon Sep 17 00:00:00 2001 From: Silvio Traversaro Date: Mon, 12 Aug 2024 01:22:12 +0200 Subject: [PATCH 16/17] Update bld_cxx.bat --- recipe/bld_cxx.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipe/bld_cxx.bat b/recipe/bld_cxx.bat index 8794efe..89b3e52 100644 --- a/recipe/bld_cxx.bat +++ b/recipe/bld_cxx.bat @@ -12,7 +12,7 @@ cmake ^ if errorlevel 1 exit 1 :: Build. -cmake --build . --config Release --parallel 2 +cmake --build . --config Release --parallel 1 if errorlevel 1 exit 1 :: Install. From 0ce4e7520ea2a4ad4674b92d60874829dc92f39d Mon Sep 17 00:00:00 2001 From: Silvio Traversaro Date: Mon, 12 Aug 2024 01:50:05 +0200 Subject: [PATCH 17/17] Update bld_cxx.bat --- recipe/bld_cxx.bat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipe/bld_cxx.bat b/recipe/bld_cxx.bat index 89b3e52..c80e2ba 100644 --- a/recipe/bld_cxx.bat +++ b/recipe/bld_cxx.bat @@ -5,14 +5,14 @@ cmake ^ -G "Ninja" ^ -DCMAKE_INSTALL_PREFIX=%LIBRARY_PREFIX% ^ -DCMAKE_BUILD_TYPE=Release ^ - -DBUILD_TESTING=ON ^ + -DBUILD_TESTING=OFF ^ -DBUILD_EXAMPLES=ON ^ -DUSE_SYSTEM_WIDE_TL_OPTIONAL=ON ^ %SRC_DIR% if errorlevel 1 exit 1 :: Build. -cmake --build . --config Release --parallel 1 +cmake --build . --config Release if errorlevel 1 exit 1 :: Install.