-
Notifications
You must be signed in to change notification settings - Fork 76
Refactor CMake with JRL CMake Modules v2 #437
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
ahoarau
wants to merge
241
commits into
Simple-Robotics:devel
Choose a base branch
from
ahoarau:jrl-next
base: devel
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 238 commits
Commits
Show all changes
241 commits
Select commit
Hold shift + click to select a range
55c75b3
ignore more stuff
ahoarau 0ad8181
update gersemi conf
ahoarau de37dec
add KMP_DUPLICATE_LIB_OK directly in the __init__.py
ahoarau 1e52117
fix documentation compile option
ahoarau 46cc603
add pixi support
ahoarau f55e5eb
remove submodules
ahoarau b71af34
remove unused cmake-external
ahoarau aaf2a9b
remove external libraries
ahoarau 9a7e93e
update doc
ahoarau 490db14
use cmake provided doxygen functions
ahoarau 53272de
add white bg logo for documentation and readme
ahoarau 06dcea0
factorize.hpp: fix conversion warning
ahoarau c3ffe9a
remove no longer needed condition in c++17
ahoarau c23fd3e
remove extra Eigen?Core header
ahoarau fd4ba62
workspace.hpp: fix local variable shadowing a struct member
ahoarau 5a746b4
random_qp_problems.hpp: use static variables intead of global variables
ahoarau cb0fc82
separate tests in cpp and python folders
ahoarau 3094c72
Refactor CMake with JRL CMake Modules v2
ahoarau 6f65550
intregrate get-jrl-cmakemodules.cmake
ahoarau 944f24c
update jrl url to point to fork
ahoarau 6ad1f8c
require jrl-cmakemodules version 2.0.0
ahoarau 1c7209b
include stubs pyi files in the installation
ahoarau bedef3e
ros-ci: add verbosity
ahoarau 565f052
changelog: add jrl v2 entry
ahoarau fafd14b
get-jrl.cmake: update with latest version
ahoarau 4127d4b
ci: minor cosmetics changes
ahoarau b9e040f
main cmake: add back copyright
ahoarau 1057388
ci: add initial pixi ci
ahoarau 6559c2e
ci: update deps on arch ci
ahoarau 548f09e
ci: use pixi to generate docs
ahoarau 14b32af
ci: add cache to pixi
ahoarau 1f94e4d
ci: condition pixi ci like the other cis
ahoarau aa3f55e
ci: add catch2 dep (arch)
ahoarau 529af23
ci: add catch2 dep in conda
ahoarau e70a0fe
ci: add ceral and nanobind to conda env
ahoarau bd08859
cmake: stubs depends on all targets built
ahoarau 8e4eeee
cmake: check vectorization support and add debug message
ahoarau 961b1fd
ros: add cereal catch2 deps
ahoarau 1e32579
ros: add graphviz dep
ahoarau 69f3595
ci: enable caching for ros ci
ahoarau fd93aa1
cmake: condition cereal dep
ahoarau bb281d9
cmake: use fetchcontent as fallback for catch2
ahoarau d8d262f
cmake: SYSTEM is not recognized on cmake 3.22
ahoarau 2d28b3c
dense_maros_meszaros: include header locally
ahoarau 9fca058
ci: add linux ci via APT
ahoarau f11f64f
cmake: disable maros meszaros for now they crash
ahoarau 9211a68
ci: add cereal on arch
ahoarau 576f42b
ci: add nanobind dep to arch
ahoarau 98cf33b
ci: add graphviz dep to arch
ahoarau 1f4e392
ci: add doxygen dep to arch
ahoarau f483e87
cmake: fallback to fetchcontent for cereal
ahoarau 1b3f09e
cmake : remove version min for cereal
ahoarau 8a6a13d
cmake: fallback to fetchcontent for nanobind
ahoarau bc9e060
README: add pixi section
ahoarau 6e72daa
cmake: downgrade nanobind to 2.9.2 to support python 3.8
ahoarau 5fa843b
cmake: change default options to mimic upstream
ahoarau 9b8f209
cmake: fix property name
ahoarau 4bd949a
cmake: use target_include_directories
ahoarau 40dfa9e
ci: build in build folder
ahoarau 6016910
cmake: add components test
ahoarau 48f0613
ci: add components test
ahoarau 05eb9fb
pixi: add uninstall task
ahoarau ad475cb
cmake: add back LINK_PYTHON_INTERFACE_TO_OPENMP option
ahoarau 8a366e5
ci: use multiline commands and cleanup
ahoarau fd8962e
cmake: fix link libs on python target
ahoarau 5254ba8
ci: format
ahoarau 5c432f5
cmake: format
ahoarau 919f236
cmake: the generator expression does not seem to work
ahoarau c66f8b9
ignore wheels
ahoarau 3640cdc
pyproject: do not run tests when building wheels
ahoarau 67f3383
ci: executables are in build dir
ahoarau e5a3a28
cmake: limit to version >=3.22
ahoarau f83f6d2
cmake: disable testing by default
ahoarau 34b399d
ci: do not run executable
ahoarau bebc544
ci: build with vectorization support for test to work
ahoarau 0be3891
ci: simplify conda script
ahoarau 1ecc401
ci: activate conda env according to the doc
ahoarau 56b6e6b
ci: run on pwsh explicitely
ahoarau 75bd407
ci: use CMD for windows conda
ahoarau d651079
ci: rename jobs to include compiler
ahoarau 8789649
c: add specific case for clang-cl
ahoarau 0a9d6b9
ci: use cxx-compilers
ahoarau 6d0bec8
ci: reset to shell: bash -el {0}
ahoarau 5160894
ci: cxx-compiler (no s)
ahoarau 5ede0dc
ci: use CMAKE_C_COMPILER
ahoarau 2effec7
ci: add msvc action
ahoarau f98548a
ci: setup msvc first
ahoarau d3819fc
ci: use cmd
ahoarau 07098f4
ci: use CC and CXX
ahoarau 1977b5d
ci: use local env vars
ahoarau d778325
ci: use set instead of env
ahoarau 1c34a08
ci: temporarly disable nix ci
ahoarau 9cdcfc4
ci: uniformize names
ahoarau c1b45c9
pixi.toml: remove cmake profiling
ahoarau 5161cd8
pixi.toml: add packaging tests
ahoarau 7c868ce
cmake: use local fetchcontent repo
ahoarau fdad251
ci: remove conda workflow for pixi
ahoarau 5711e91
ci: integrate the conda workflow tests and variants
ahoarau ace7415
ci: merge configure and build to provide the cmake args
ahoarau ace4a50
pixi.toml: pass build type and cxx standard via cmdline/env
ahoarau b83da1f
ci: use env to pass args to pixi
ahoarau 405b6ba
ci: rename to ci-ros
ahoarau a38afde
ci: enable additional build options
ahoarau f61526d
cmake: normalize PROXSUITE_FETCHCONTENT_SOURCE_DIR path for windows
ahoarau f6ae56d
pixi.toml: use PROXSUITE_CXX_STANDARD instead
ahoarau 6bf6f42
ci: use PROXSUITE_CXX_STANDARD instead
ahoarau 67f4eaf
cmake: define PROXSUITE_CXX_STANDARD
ahoarau e0168a3
cmake: reformat with new gersemi version
ahoarau da383cf
pre-commit: use new ruff-check id
ahoarau 43f5214
ci: make sure the env vars are available everywhere
ahoarau 9357267
cmake: fix TO_CMAKE_PATH_LIST
ahoarau ce5ad87
ci: build with --verbose
ahoarau 0808ead
pixi.toml: remove CMAKE_VERBOSE_MAKEFILE
ahoarau a3302cf
ci: build with only 2 jobs
ahoarau 7e768df
cmake: on windows, use fetchcontent to get catch2
ahoarau 4386f9b
ci: remove the conda env
ahoarau 5183d15
cmake: DOWNLOAD_EXTRACT_TIMESTAMP is not available on cmake 3.22
ahoarau 88e9245
pixi.toml: relax deps contrains to allow to use cmake 3.22 exact
ahoarau 02af3d0
pixi.toml: add verbosity to tests
ahoarau 983d690
cmake: use only 3.22 to prevent the clang modules scanner to be trigg…
ahoarau 54dfb50
pixi.toml: add cpp20 and cpp23 envs
ahoarau 95e9725
pixi.lock: update
ahoarau baabf0e
rename BENCHMARK to BENCHMARKS
ahoarau a103176
package.xml: drop ROS iron and python 2
ahoarau 69c49a7
ci: update ROS CI and enable features
ahoarau 2ddb7d3
ci: disabling tests on windows+debug (too slow)
ahoarau 6c36a33
package.xml: add python3-dev build depend
ahoarau a25e0c7
python: import scipy.sparse.linalg explicitly for ubuntu 22
ahoarau 9bd2b47
ci: add build release and debug on ubuntu
ahoarau 5f5641a
ci: cosmetics
ahoarau a65b3d2
ci: only build with 1 core to prevent swapping
ahoarau b6b250e
rosci: add kilted and configure cache
ahoarau 0ff0202
implement uint128 on msvc
ahoarau 65ef416
fix julia test example
ahoarau ec3b2c9
gitignore: ignore dist/
ahoarau aaa1b08
cmake: remove extra cereal link
ahoarau dcb714f
cmake: make examples part of the test suite
ahoarau 0aeb6ad
cmake: add comments on fetchcontent fallbacks
ahoarau 91d7179
python: import linalg explicitely for ubuntu 22
ahoarau 5e28321
cmake: add ros2 support
ahoarau 5cc04e1
ci: reorder the env vars
ahoarau e736c1e
cmake: generate ros2 python package files with condiition
ahoarau 7a8ae58
ci: use latest master commit
ahoarau 1dbd229
pixi: numpy must be <2.4 due to nanobind limitation
ahoarau fe580f5
cmake: check Eigen3::Eigen target before calling find_package
ahoarau 3e220c2
cmake: use proxsuite::proxsuite target
ahoarau 1af4ac6
cmake: use new option api
ahoarau 9163305
gersemi: put back definitions
ahoarau b797088
cmake: reformat tests
ahoarau 5fc5ddc
cmake: add PROXSUITE_EXPORT_PACKAGE option
ahoarau ef3de71
cmake: add eigen fetchcontent support for testing
ahoarau 8e521db
cmake: fix new option API
ahoarau 836f434
pixi: isolate packaging tests
ahoarau 5f257d8
pixi: update lock file
ahoarau 6e50a07
pixi: update lock file
ahoarau 779427d
cmake: only install the html folder, and putit in doc component
ahoarau 4271d4b
cpp: make sure maros sparse test finds the helper header
ahoarau f44c590
cmake: add maros_meszaros label
ahoarau 86dc3c7
cmake: remove the eigen3 find_package fallback
ahoarau daed30a
pixi: refactor into features
ahoarau d790893
ci: update with new pixi file
ahoarau 455299a
pixi: update lock file
ahoarau ffff6d8
rosci: do not use prerelease
ahoarau 63c1a47
cmake: update the get-jrl messages
ahoarau 281dd06
pyproject.toml: add version constraints, use ninja, and format
ahoarau 39c387a
pixi: build wheels
ahoarau f670fc6
pixi: update lock file
ahoarau 6e9a1b8
ci: update wheel ci to use pixi
ahoarau 277b717
ci: pypi only on release
ahoarau 1c4bdfd
cmake: require jrl >=1.2 to get the jrl-v2
ahoarau 12322ad
cmake: update python and nanobind min required
ahoarau 474d196
pixi: update min python and nanobind version
ahoarau eb7b71c
pixi.toml: remove wheels and merge doc with default
ahoarau a64ebfc
pixi: update lock file
ahoarau 83f406a
ci: refactor with new pixi api
ahoarau db666a7
pixi.toml: isolate doc feature
ahoarau aea839e
pixi: update lock file
ahoarau 866b383
pixi: add pixi build support
ahoarau f40aeb7
gitignore: ignore conda files
ahoarau 95e96d1
pixi: fix pixi build tests
ahoarau 297288b
pixi: update lock file
ahoarau e941526
ci: add pixi-build test
ahoarau 4106d5b
ci: add explicit pixi env
ahoarau c714a18
ci: no need to install the env it's done in the setup
ahoarau 55ea9b9
cmake: require min macos SDK 10.14 (nanobind)
ahoarau ba92c9a
ci: on pixi only keep 1 ubuntu and 1 windows
ahoarau 4e164f0
cmake: include project version in config header generation
ahoarau fff3c94
ci: bump action versions
ahoarau b604106
pixi: uniformize constraints
ahoarau 91cb12d
pixi: comment out pixi-build
ahoarau cf0ccc6
pixi: update lock file
ahoarau 588bd16
cmake: disable AVX512 GEMM kernel for MSVC to avoid long compilation …
ahoarau 11f216a
pixi: update lock file
ahoarau c80c287
uint128: constify and constexperify
ahoarau c269e71
tests: add more uint128_t tests
ahoarau 22f1aa7
ci: build tests on arch
ahoarau 923bf62
tests: add shift operation tests for uint128_t with large shift amounts
ahoarau 0f9cd2a
uint128: use int32_t instead of int
ahoarau 9488a98
uint128: remove comments
ahoarau 159bd1b
tests: relax eps_abs for "test primal infeasibility solving"
ahoarau 3523870
cpp: update nothrow_destructible concept to use std::is_nothrow_destr…
ahoarau df417b4
cpp: explicit type to avoid std::max confusion on msvc
ahoarau 2baefe9
gitignore: ignore vs folders
ahoarau ad212c7
uint128: only available on x64 builds
ahoarau 7c8d439
pixi: update lock file
ahoarau 6873540
apply dos2unix
ahoarau d415569
pixi: update lock file
ahoarau 24aa2c1
replace prek by pre-commit
ahoarau 413d9a7
ci-ros: bump commit
ahoarau bffef44
ros-ci: add ros-ci prefix to cache key
ahoarau 53c9f9b
ci-pixi: replace default by ${{ matrix.pixi_environment }}
ahoarau 004fa76
ci-pixi: add ${{ matrix.pixi_environment }} to cache key to avoid fut…
ahoarau 943c9c7
ci-ubuntu: use docker images instead of official github images
ahoarau c60352d
cmake: update jrl link to upstream
ahoarau e0dfed9
cpp: add copyright inria
ahoarau 77f4669
tests: add back wrongly removed test and prevent name collision
ahoarau e404def
cmake: remove cereal fetchcontent
ahoarau 71c3b1e
cmake: python bindings required BUILD_WITH_SERIALIZATION
ahoarau 92801db
cmake: BUILD_PYTHON_INTERFACE defaults to ON
ahoarau 079bf46
cmake: use ENVIRONMENT_MODIFICATION
ahoarau 50effc2
pre-commit: update gersemi repo and version
ahoarau 8e87ba3
ci-ubuntu: add cereal and simde
ahoarau ab900a5
cmake: fix MAROS_MESZAROS_DIR dir path missing "/"
ahoarau af9d5f5
pixi: uniformize pixi with other maestro projects
ahoarau 4886708
ros-ci: add ros lyrical
ahoarau 8355a6e
ci-pixi: add skip-deps
ahoarau 0305ec2
pixi: add jrl-cmakemodules v2 dep
ahoarau 1a7a928
cmake: add EXPECTED_TARGETS
ahoarau 5243cbe
cmake: add warning and deprecated headers
ahoarau a4245d0
pixi: prefer kebab case
ahoarau cd60d1f
pixi: Fix doc environment build
jorisv 0900557
pixi: Setup gitattributes for lockfile
jorisv 90c3a45
uint128: remove uused var
ahoarau 6c2a56a
update options: prefix with PROXSUITE for new, and rollback the old ones
ahoarau c7ebc20
python: Link all target to OpenMP when option is ON
jorisv 7e842d6
doc: Fix installation and use an unique target name
jorisv 39d6589
pixi: Create new-version environment
jorisv 64cb090
dev: Add release instruction
jorisv f4aad68
doc: Set DOXYGEN_HTML_OUTPUT to html
jorisv 580f06e
pixi: update doc target
ahoarau 7608c9e
cmake: install pywrap as TARGET for rpath
ahoarau File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| definitions: [./CMakeLists.txt,./cmake-module,./cmake-external,./bindings,./include] | ||
| line_length: 80 | ||
| definitions: [./CMakeLists.txt, ./test] | ||
| line_length: 100 | ||
| indent: 2 | ||
| warn_about_unknown_commands: false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| # SCM syntax highlighting & preventing 3-way merges | ||
| pixi.lock merge=binary linguist-language=YAML linguist-generated=true -diff |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.