-
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
Draft
ahoarau
wants to merge
210
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.
Draft
Changes from 209 commits
Commits
Show all changes
210 commits
Select commit
Hold shift + click to select a range
7fd69b1
ignore more stuff
ahoarau d434dee
update gersemi conf
ahoarau d5fa35e
add KMP_DUPLICATE_LIB_OK directly in the __init__.py
ahoarau 16aa1c0
fix documentation compile option
ahoarau edf91ec
add pixi support
ahoarau 54c58f8
remove submodules
ahoarau 3ad9fa3
remove unused cmake-external
ahoarau e38b470
remove external libraries
ahoarau 58b9f03
update doc
ahoarau 6e40b1d
use cmake provided doxygen functions
ahoarau 6c6602d
add white bg logo for documentation and readme
ahoarau 2d38597
factorize.hpp: fix conversion warning
ahoarau 45477c8
remove no longer needed condition in c++17
ahoarau ddea60e
remove extra Eigen?Core header
ahoarau 6b308c7
workspace.hpp: fix local variable shadowing a struct member
ahoarau d926e79
random_qp_problems.hpp: use static variables intead of global variables
ahoarau 5361c8f
separate tests in cpp and python folders
ahoarau 92a4e52
Refactor CMake with JRL CMake Modules v2
ahoarau a5b1243
intregrate get-jrl-cmakemodules.cmake
ahoarau d617d0e
update jrl url to point to fork
ahoarau 00c1dce
require jrl-cmakemodules version 2.0.0
ahoarau e8a0e23
include stubs pyi files in the installation
ahoarau 27106a3
ros-ci: add verbosity
ahoarau 7280cd3
changelog: add jrl v2 entry
ahoarau c626362
get-jrl.cmake: update with latest version
ahoarau 4b23009
ci: minor cosmetics changes
ahoarau 9053697
main cmake: add back copyright
ahoarau a779c16
ci: add initial pixi ci
ahoarau 32382aa
ci: update deps on arch ci
ahoarau 9aef799
ci: use pixi to generate docs
ahoarau b35afec
ci: add cache to pixi
ahoarau 7a16993
ci: condition pixi ci like the other cis
ahoarau 6856a60
ci: add catch2 dep (arch)
ahoarau a81a6f5
ci: add catch2 dep in conda
ahoarau 18f41be
ci: add ceral and nanobind to conda env
ahoarau f6b53c4
cmake: stubs depends on all targets built
ahoarau 9c43a93
cmake: check vectorization support and add debug message
ahoarau a01b511
ros: add cereal catch2 deps
ahoarau 0f75d73
ros: add graphviz dep
ahoarau 4f33266
ci: enable caching for ros ci
ahoarau 2342a25
cmake: condition cereal dep
ahoarau 7d6bb90
cmake: use fetchcontent as fallback for catch2
ahoarau 65f699d
cmake: SYSTEM is not recognized on cmake 3.22
ahoarau eb58142
dense_maros_meszaros: include header locally
ahoarau c7dc8b5
ci: add linux ci via APT
ahoarau de5120e
cmake: disable maros meszaros for now they crash
ahoarau ee07c42
ci: add cereal on arch
ahoarau ce536ff
ci: add nanobind dep to arch
ahoarau 5dbe0ae
ci: add graphviz dep to arch
ahoarau f60979b
ci: add doxygen dep to arch
ahoarau 3822626
cmake: fallback to fetchcontent for cereal
ahoarau 82dc9e5
cmake : remove version min for cereal
ahoarau d05a285
pyproject: require nanobind >=2.5.0
ahoarau 3f163e1
pyproject: no min for nanobind
ahoarau 89da804
pyproject: nanobind is not compatible with python <3.9
ahoarau fd1a866
cmake: fallback to fetchcontent for nanobind
ahoarau c591d4e
README: add pixi section
ahoarau da794f4
cmake: downgrade nanobind to 2.9.2 to support python 3.8
ahoarau d5b9378
cmake: change default options to mimic upstream
ahoarau 6dd4d14
cmake: fix property name
ahoarau d72390c
cmake: use target_include_directories
ahoarau c5e5347
ci: build in build folder
ahoarau ee1f389
cmake: add components test
ahoarau 4287509
ci: add components test
ahoarau fa3249a
pixi: add uninstall task
ahoarau 15bb07b
cmake: add back LINK_PYTHON_INTERFACE_TO_OPENMP option
ahoarau 20b3e7b
ci: use multiline commands and cleanup
ahoarau dd0dd8b
cmake: fix link libs on python target
ahoarau 2a47adf
ci: format
ahoarau f8f1460
cmake: format
ahoarau eeab664
cmake: the generator expression does not seem to work
ahoarau 2ac8405
ignore wheels
ahoarau c67c668
pyproject: do not run tests when building wheels
ahoarau 6f1b314
ci: executables are in build dir
ahoarau fdf3045
cmake: limit to version >=3.22
ahoarau 8efbae3
cmake: disable testing by default
ahoarau 6ee7887
ci: do not run executable
ahoarau 048a459
ci: build with vectorization support for test to work
ahoarau 544c837
ci: simplify conda script
ahoarau 5899ba9
ci: activate conda env according to the doc
ahoarau 4d265d0
ci: run on pwsh explicitely
ahoarau d6977d6
ci: use CMD for windows conda
ahoarau 514f034
ci: rename jobs to include compiler
ahoarau 36dc729
c: add specific case for clang-cl
ahoarau 87ba2ad
ci: use cxx-compilers
ahoarau d44f5ad
ci: reset to shell: bash -el {0}
ahoarau d147acb
ci: cxx-compiler (no s)
ahoarau 908e632
ci: use CMAKE_C_COMPILER
ahoarau c4e879e
ci: add msvc action
ahoarau 22e9ff7
ci: setup msvc first
ahoarau fa1cc66
ci: use cmd
ahoarau f5f70a5
ci: use CC and CXX
ahoarau e6cbc13
ci: use local env vars
ahoarau 5de22cc
ci: use set instead of env
ahoarau 27c9e62
ci: temporarly disable nix ci
ahoarau 38d16eb
ci: uniformize names
ahoarau db28b3f
pixi.toml: remove cmake profiling
ahoarau 2577c34
pixi.toml: add packaging tests
ahoarau 1dc7ee7
cmake: use local fetchcontent repo
ahoarau 2a75783
ci: remove conda workflow for pixi
ahoarau b144134
ci: integrate the conda workflow tests and variants
ahoarau 56bc448
ci: merge configure and build to provide the cmake args
ahoarau ce9929e
pixi.toml: pass build type and cxx standard via cmdline/env
ahoarau f020a90
ci: use env to pass args to pixi
ahoarau e855c13
ci: rename to ci-ros
ahoarau bd35fc3
ci: enable additional build options
ahoarau 0fe3793
cmake: normalize PROXSUITE_FETCHCONTENT_SOURCE_DIR path for windows
ahoarau fbdf30a
pixi.toml: use PROXSUITE_CXX_STANDARD instead
ahoarau 7003ad5
ci: use PROXSUITE_CXX_STANDARD instead
ahoarau be9d073
cmake: define PROXSUITE_CXX_STANDARD
ahoarau f03eb32
cmake: reformat with new gersemi version
ahoarau ca8eb74
pre-commit: use new ruff-check id
ahoarau c88cc81
ci: make sure the env vars are available everywhere
ahoarau cad6cda
cmake: fix TO_CMAKE_PATH_LIST
ahoarau eaf7b3f
ci: build with --verbose
ahoarau 97f8a31
pixi.toml: remove CMAKE_VERBOSE_MAKEFILE
ahoarau e42b21c
ci: build with only 2 jobs
ahoarau a06061a
cmake: on windows, use fetchcontent to get catch2
ahoarau 5afdce3
ci: remove the conda env
ahoarau c55f496
cmake: DOWNLOAD_EXTRACT_TIMESTAMP is not available on cmake 3.22
ahoarau 71e0048
pixi.toml: relax deps contrains to allow to use cmake 3.22 exact
ahoarau 83f0681
pixi.toml: add verbosity to tests
ahoarau 9f96de4
cmake: use only 3.22 to prevent the clang modules scanner to be trigg…
ahoarau edbbe53
pixi.toml: add cpp20 and cpp23 envs
ahoarau 738f369
pixi.lock: update
ahoarau 1139485
rename BENCHMARK to BENCHMARKS
ahoarau 947053f
package.xml: drop ROS iron and python 2
ahoarau 422c1a0
ci: update ROS CI and enable features
ahoarau 9d4db6c
ci: disabling tests on windows+debug (too slow)
ahoarau 6f85194
ci: disable fail-fast strategy
ahoarau 9bee961
package.xml: add python3-dev build depend
ahoarau 07d2f65
python: import scipy.sparse.linalg explicitly for ubuntu 22
ahoarau 631dd11
ci: add build release and debug on ubuntu
ahoarau 46e39c8
ci: cosmetics
ahoarau e1359d3
ci: only build with 1 core to prevent swapping
ahoarau 7c98244
rosci: add kilted and configure cache
ahoarau e609527
implement uint128 on msvc
ahoarau 62df516
fix julia test example
ahoarau 7348b92
gitignore: ignore dist/
ahoarau c7b93dc
cmake: remove extra cereal link
ahoarau 2e017e3
cmake: make examples part of the test suite
ahoarau 8669586
cmake: add comments on fetchcontent fallbacks
ahoarau 28e06f9
python: import linalg explicitely for ubuntu 22
ahoarau 2d2c8df
cmake: add ros2 support
ahoarau 010d475
ci: reorder the env vars
ahoarau 01f5e72
cmake: generate ros2 python package files with condiition
ahoarau cc71868
ci: use latest master commit
ahoarau 087d632
pixi: numpy must be <2.4 due to nanobind limitation
ahoarau 3539ebe
cmake: check Eigen3::Eigen target before calling find_package
ahoarau e46fde2
cmake: use proxsuite::proxsuite target
ahoarau 280db9c
cmake: use new option api
ahoarau a535962
gersemi: put back definitions
ahoarau f6a0c7e
cmake: reformat tests
ahoarau b130f3c
cmake: add PROXSUITE_EXPORT_PACKAGE option
ahoarau 3098d82
cmake: add eigen fetchcontent support for testing
ahoarau d9b0742
cmake: fix new option API
ahoarau 4c7e898
pixi: isolate packaging tests
ahoarau 156777b
pixi: update lock file
ahoarau 0b80828
pixi: update lock file
ahoarau cdf36f1
cmake: only install the html folder, and putit in doc component
ahoarau a693dfc
cpp: make sure maros sparse test finds the helper header
ahoarau c73a84e
cmake: add maros_meszaros label
ahoarau bf3b9b0
cmake: remove the eigen3 find_package fallback
ahoarau d2e1358
pixi: refactor into features
ahoarau eb375cf
ci: update with new pixi file
ahoarau 42265ca
pixi: update lock file
ahoarau 68c8ac5
rosci: do not use prerelease
ahoarau fc87f7f
cmake: update the get-jrl messages
ahoarau d8e5a09
pyproject.toml: add version constraints, use ninja, and format
ahoarau 35dfd7c
pixi: build wheels
ahoarau 48bba27
pixi: update lock file
ahoarau 9d1d390
ci: update wheel ci to use pixi
ahoarau 5f48cc1
ci: pypi only on release
ahoarau 4492597
cmake: require jrl >=1.2 to get the jrl-v2
ahoarau 209f5d5
cmake: update python and nanobind min required
ahoarau 064d84d
pixi: update min python and nanobind version
ahoarau 79db084
pixi.toml: remove wheels and merge doc with default
ahoarau d40c562
pixi: update lock file
ahoarau 1c39d4b
ci: refactor with new pixi api
ahoarau 41ec821
pixi.toml: isolate doc feature
ahoarau 669b6df
pixi: update lock file
ahoarau 117beff
pixi: add pixi build support
ahoarau 4a8fadf
gitignore: ignore conda files
ahoarau 322410a
pixi: fix pixi build tests
ahoarau d8ffce8
pixi: update lock file
ahoarau 5b8ca24
ci: add pixi-build test
ahoarau fa37867
ci: add explicit pixi env
ahoarau ef197ae
ci: no need to install the env it's done in the setup
ahoarau 85fbf74
cmake: require min macos SDK 10.14 (nanobind)
ahoarau 50cf525
ci: on pixi only keep 1 ubuntu and 1 windows
ahoarau 8f1ca68
cmake: include project version in config header generation
ahoarau 4b6b158
ci: bump action versions
ahoarau f9f7cf3
pixi: uniformize constraints
ahoarau cb65f5a
pixi: comment out pixi-build
ahoarau ff5cb99
pixi: update lock file
ahoarau 0e4c6a5
cmake: disable AVX512 GEMM kernel for MSVC to avoid long compilation …
ahoarau 0d820b0
pixi: update lock file
ahoarau 26e3014
uint128: constify and constexperify
ahoarau a4d80b7
tests: add more uint128_t tests
ahoarau efd4603
ci: build tests on arch
ahoarau c3280ff
tests: add shift operation tests for uint128_t with large shift amounts
ahoarau e0f5e5b
uint128: use int32_t instead of int
ahoarau 2a77eb4
uint128: remove comments
ahoarau 7ca7df6
tests: relax eps_abs for "test primal infeasibility solving"
ahoarau a410f46
cpp: update nothrow_destructible concept to use std::is_nothrow_destr…
ahoarau ac08bd6
cpp: explicit type to avoid std::max confusion on msvc
ahoarau d2b0fee
gitignore: ignore vs folders
ahoarau bbda07b
uint128: only available on x64 builds
ahoarau 93c8745
pixi: update lock file
ahoarau 4e80cf8
apply dos2unix
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 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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be removed. The Pixi CI will replace this workflow.