Skip to content

Update CMakeLists#6477

Merged
DennisOSRM merged 3 commits intomasterfrom
update_cmakelists
Dec 11, 2022
Merged

Update CMakeLists#6477
DennisOSRM merged 3 commits intomasterfrom
update_cmakelists

Conversation

@DennisOSRM
Copy link
Copy Markdown
Collaborator

@DennisOSRM DennisOSRM commented Dec 10, 2022

This patch improves the following things:

  • remove GOLD linker special case handling
  • bump minimum cmake version to 3.20 3.18
  • simplify LTO detection
  • remove outdated way to check for compiler flags
  • remove outdated compiler version gates (rely on CXX version)
  • remove outdated Apple platform handling
  • disable compiler-specific CXX extensions
  • require boost 1.70 in all builds
  • remove unused variable

This change should allow us to enable LTO by default with the option to disable it.

- remove GOLD linker special case handling
- bump minimum cmake version to 3.20
- simplify LTO detection
- remove outdated way to check for compiler flags
- remove outdated compiler version gates (rely on CXX version)
- remove outdated Apple platform handling
- disable compiler-specific CXX extensions
- require boost 1.70 in all builds
- remove unused variable
@DennisOSRM DennisOSRM merged commit 1204b74 into master Dec 11, 2022
@DennisOSRM DennisOSRM deleted the update_cmakelists branch December 11, 2022 09:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants