Skip to content
This repository was archived by the owner on Sep 26, 2025. It is now read-only.

Commit 4e321aa

Browse files
authored
Merge branch 'devel' into topic/manifold-polymorphic-value
2 parents 80601a0 + 7773970 commit 4e321aa

File tree

8 files changed

+58
-31
lines changed

8 files changed

+58
-31
lines changed

.github/workflows/gh-pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
mamba install cmake make pkg-config doxygen graphviz
3838
3939
# Main dependencies
40-
mamba install eigen pinocchio fmt proxsuite-nlp
40+
mamba install eigen pinocchio fmt proxsuite-nlp example-robot-data
4141
4242
- name: Print environment
4343
shell: bash -l {0}

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ repos:
2828
)$
2929
- repo: https://github.com/astral-sh/ruff-pre-commit
3030
# Ruff version.
31-
rev: 'v0.6.1'
31+
rev: 'v0.6.3'
3232
hooks:
3333
- id: ruff
3434
args: [--fix, --exit-non-zero-on-fix]

CHANGELOG.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1313
* Add the `polymorphic_cxx14.hpp` header from [jbcoe/value_types](https://github.com/jbcoe/value_types/blob/main/polymorphic_cxx14.h), [#90](https://github.com/Simple-Robotics/proxsuite-nlp/pull/90)
1414
* **Python:** add conversions (for values, versions) for the `polymorphic<T,A>` types in new `<proxsuite-nlp/python/polymorphic.hpp>` header
1515
* **Python:** add `PolymorphicVisitor` visitor and `register_polymorphic_to_python<T>()` template function to register conversions from/to the `polymorphic<T, A>` type
16+
* Allow use of installed jrl-cmakemodules & eigenrand ([#106](https://github.com/Simple-Robotics/proxsuite-nlp/pull/106))
17+
18+
## [0.7.1] - 2024-09-04
19+
20+
### Added
21+
* Add compatibility with jrl-cmakemodules workspace ([#99](https://github.com/Simple-Robotics/proxsuite-nlp/pull/99))
1622

1723
### Fixed
1824

@@ -34,14 +40,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3440

3541
### Changed
3642

37-
* Solver: store problem instance as a raw pointer, change solver ctor ([#79](https://github.com/Simple-Robotics/proxsuite-nlp/pull/79))
3843
* Allow to build with fmt 11 ([#97](https://github.com/Simple-Robotics/proxsuite-nlp/pull/97))
3944

4045
## [0.6.1] - 2024-05-13
4146

4247
### Changed
4348

4449
* Changes to includes and tests for linesearch methods ([#81](https://github.com/Simple-Robotics/proxsuite-nlp/pull/81))
50+
* Solver: store problem instance as a raw pointer, change solver ctor ([#79](https://github.com/Simple-Robotics/proxsuite-nlp/pull/79))
4551

4652
## [0.6.0] - 2024-05-02
4753

@@ -113,7 +119,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
113119

114120
* This is the first release of `proxsuite-nlp`. This library is a joint effort between LAAS-CNRS and INRIA, and will be maintained and expanded in the future. Please provide constructive feedback and contribute!
115121

116-
[Unreleased]: https://github.com/Simple-Robotics/proxsuite-nlp/compare/v0.7.0...HEAD
122+
[Unreleased]: https://github.com/Simple-Robotics/proxsuite-nlp/compare/v0.7.1...HEAD
123+
[0.7.1]: https://github.com/Simple-Robotics/proxsuite-nlp/compare/v0.7.0...v0.7.1
117124
[0.7.0]: https://github.com/Simple-Robotics/proxsuite-nlp/compare/v0.6.1...v0.7.0
118125
[0.6.1]: https://github.com/Simple-Robotics/proxsuite-nlp/compare/v0.6.0...v0.6.1
119126
[0.6.0]: https://github.com/Simple-Robotics/proxsuite-nlp/compare/v0.5.0...v0.6.0

CITATION.cff

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,6 @@ authors:
2121
2222
affiliation: LAAS-CNRS
2323
orcid: 'https://orcid.org/0000-0002-8090-0601'
24+
version: 0.7.1
25+
date-released: "2024-09-04"
26+
license: BSD-2-Clause

CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,10 @@ compute_project_args(PROJECT_ARGS LANGUAGES CXX)
7373
project(${PROJECT_NAME} ${PROJECT_ARGS})
7474
set(CMAKE_VERBOSE_MAKEFILE OFF)
7575

76-
include(${CMAKE_CURRENT_LIST_DIR}/cmake/boost.cmake)
77-
include(${CMAKE_CURRENT_LIST_DIR}/cmake/ide.cmake)
78-
include(${CMAKE_CURRENT_LIST_DIR}/cmake/apple.cmake)
79-
include(${CMAKE_CURRENT_LIST_DIR}/cmake/python.cmake)
76+
include(${JRL_CMAKE_MODULES}/boost.cmake)
77+
include(${JRL_CMAKE_MODULES}/ide.cmake)
78+
include(${JRL_CMAKE_MODULES}/apple.cmake)
79+
include(${JRL_CMAKE_MODULES}/python.cmake)
8080
include(CMakeDependentOption)
8181

8282
apply_default_apple_configuration()

cmake

Submodule cmake updated 1 file

package.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0"?>
22
<package format="3">
33
<name>proxsuite-nlp</name>
4-
<version>0.7.0</version>
4+
<version>0.7.1</version>
55
<maintainer email="[email protected]">Wilson Jallet</maintainer>
66
<description> A primal-dual augmented Lagrangian-type solver for nonlinear programming on manifolds.</description>
77
<license>tbd</license>

tests/CMakeLists.txt

Lines changed: 38 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -4,27 +4,36 @@
44

55
add_project_dependency(Boost COMPONENTS unit_test_framework REQUIRED)
66

7-
# Fetch private dependencies
8-
include(FetchContent)
9-
10-
# Add eigenrand dependency
11-
# TODO use main bab2min/EigenRand when PR is merged
12-
FetchContent_Declare(
13-
eigenrand
14-
GIT_REPOSITORY https://github.com/ManifoldFR/EigenRand.git
15-
GIT_TAG 23d287e
16-
GIT_PROGRESS TRUE
17-
EXCLUDE_FROM_ALL SYSTEM
7+
find_path(
8+
EigenRand_INCLUDE_DIR
9+
NAMES EigenRand
10+
PATHS ${EigenRand_PREFIX}
11+
PATH_SUFFIXES include/EigenRand
1812
)
19-
set(EIGENRAND_BUILD_TEST
20-
OFF
21-
CACHE INTERNAL "Enable EigenRand test"
22-
)
23-
set(EIGENRAND_BUILD_BENCHMARK
24-
OFF
25-
CACHE INTERNAL "Enable EigenRand benchmark"
26-
)
27-
FetchContent_MakeAvailable(eigenrand)
13+
14+
if(NOT EigenRand_INCLUDE_DIR)
15+
# Fetch private dependencies
16+
include(FetchContent)
17+
18+
# Add eigenrand dependency
19+
# TODO use main bab2min/EigenRand when PR is merged
20+
FetchContent_Declare(
21+
eigenrand
22+
GIT_REPOSITORY https://github.com/ManifoldFR/EigenRand.git
23+
GIT_TAG 23d287e
24+
GIT_PROGRESS TRUE
25+
EXCLUDE_FROM_ALL SYSTEM
26+
)
27+
set(EIGENRAND_BUILD_TEST
28+
OFF
29+
CACHE INTERNAL "Enable EigenRand test"
30+
)
31+
set(EIGENRAND_BUILD_BENCHMARK
32+
OFF
33+
CACHE INTERNAL "Enable EigenRand benchmark"
34+
)
35+
FetchContent_MakeAvailable(eigenrand)
36+
endif()
2837

2938
# Add benchmark dependency
3039
if(BUILD_BENCHMARK)
@@ -49,7 +58,15 @@ install(
4958
set(TEST_UTIL_LIB ${PROJECT_NAME}-test_util)
5059
add_library(${TEST_UTIL_LIB} STATIC util.cpp)
5160
target_link_libraries(${TEST_UTIL_LIB} PUBLIC ${PROJECT_NAME})
52-
target_link_libraries(${TEST_UTIL_LIB} PUBLIC EigenRand::EigenRand)
61+
modernize_target_link_libraries(
62+
${TEST_UTIL_LIB}
63+
SCOPE
64+
PUBLIC
65+
TARGETS
66+
EigenRand::EigenRand
67+
INCLUDE_DIRS
68+
${EigenRand_INCLUDE_DIR}
69+
)
5370
set_target_properties(${TEST_UTIL_LIB} PROPERTIES LINKER_LANGUAGE CXX)
5471

5572
macro(ADD_TEST_CFLAGS test_name flag)

0 commit comments

Comments
 (0)