-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
gtsam: unvendor metis, correct option defaults, drop deprecated option #22323
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@RubenRBS Can you maybe somehow check why the Conan v2 build appears to be failing in C3I? |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@valgur sorry for the late reply. It seems so be an issue in the test_package at link time:
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
add_library cannot create ALIAS target "metis-gtsam-if" because target "metis::metis" is imported but not globally visible.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Conan v1 pipeline ✔️All green in build 5 (
Conan v2 pipeline ✔️
All green in build 3 ( |
… deprecated option * gtsam: bump deps * gtsam: drop deprecated option * gtsam: fix default_options not matching project defaults https://github.com/borglab/gtsam/blob/4.2.0/cmake/HandleGeneralOptions.cmake#L17-L31 * gtsam: require newer CMake standard * gtsam: tidy * gtsam: unvendor Metis * gtsam: add topics * gtsam: with_vendored_metis cannot be disabled on C3I due to non-default option * gtsam: fix v4.1.1 patch * gtsam: fix v4.0.3 patch * gtsam: fix v4.0.3 build * gtsam: fix TBB handling * gtsam: support_nested_dissection is broken on MSVC v4.0.3 * gtsam: with_vendored_metis is not compatible with MSVC * gtsam: always use METIS from Conan * gtsam: bump deps * gtsam: fix CMake error on METIS from Conan add_library cannot create ALIAS target "metis-gtsam-if" because target "metis::metis" is imported but not globally visible.
… deprecated option * gtsam: bump deps * gtsam: drop deprecated option * gtsam: fix default_options not matching project defaults https://github.com/borglab/gtsam/blob/4.2.0/cmake/HandleGeneralOptions.cmake#L17-L31 * gtsam: require newer CMake standard * gtsam: tidy * gtsam: unvendor Metis * gtsam: add topics * gtsam: with_vendored_metis cannot be disabled on C3I due to non-default option * gtsam: fix v4.1.1 patch * gtsam: fix v4.0.3 patch * gtsam: fix v4.0.3 build * gtsam: fix TBB handling * gtsam: support_nested_dissection is broken on MSVC v4.0.3 * gtsam: with_vendored_metis is not compatible with MSVC * gtsam: always use METIS from Conan * gtsam: bump deps * gtsam: fix CMake error on METIS from Conan add_library cannot create ALIAS target "metis-gtsam-if" because target "metis::metis" is imported but not globally visible.
The default values of many of the options did not match the project defaults at https://github.com/borglab/gtsam/blob/4.2.0/cmake/HandleGeneralOptions.cmake#L17-L31
That's not good, as these can cause unexpected subtle differences in behavior.
I also think the application of CMakeToolchain variables were probably been broken altogether due to CMake version being set to < 3.13 and CMP0077 not being applied.