-
Notifications
You must be signed in to change notification settings - Fork 160
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
Update CMake to 3.9 #1159
Update CMake to 3.9 #1159
Conversation
…at backtraces show more function names
I don't have time right now to investigate the impact of this change
Use latest versions of proof tools
Co-authored-by: Michael Graeb <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1159 +/- ##
==========================================
- Coverage 83.84% 83.62% -0.23%
==========================================
Files 57 57
Lines 5992 5947 -45
==========================================
- Hits 5024 4973 -51
- Misses 968 974 +6 ☔ View full report in Codecov by Sentry. |
cmake/AwsCFlags.cmake
Outdated
@@ -231,7 +231,6 @@ function(aws_set_common_properties target) | |||
|
|||
# try to check whether compiler supports LTO/IPO | |||
if (POLICY CMP0069) |
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.
I know we're not trying to rewrite the world, but since this touches a POLICY ... we can replace this if (POLICY CMP0069) block with simpler code
# check whether compiler supports LTO/IPO
include(CheckIPOSupported)
check_ipo_supported(RESULT ipo_supported)
if (ipo_supported)
message(STATUS "Enabling IPO/LTO for Release builds")
else()
message(STATUS "AWS_ENABLE_LTO is enabled, but cmake/compiler does not support it, disabling")
set(_ENABLE_LTO_EXPR OFF)
endif()
@@ -1,17 +1,13 @@ | |||
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | |||
# SPDX-License-Identifier: Apache-2.0. | |||
|
|||
cmake_minimum_required(VERSION 3.0) | |||
cmake_minimum_required(VERSION 3.9) |
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.
Add comment about WHY we're picking CMake 3.9. Because it's the latest supported version in ... RHEL5? Amazon Linux 1?
Issue #, if available:
-fvisibility=hidden
when building a static library. #1142Description of changes:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.