Skip to content
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_minimum_required to 2.8.12 #2399

Merged
merged 1 commit into from
Nov 30, 2020

Conversation

brawner
Copy link
Contributor

@brawner brawner commented Nov 24, 2020

This has to do with a deprecated policy with the recent release of cmake 3.19.1. A policy about INTERFACE_LINK_LIBRARIES has been deprecated for versions < 2.8.12. The deprecation will produce warnings if an older version is used, or the policy is set to OLD.

More info about the deprecated policy:
https://cmake.org/cmake/help/latest/policy/CMP0022.html

Signed-off-by: Stephen Brawner [email protected]

@facebook-github-bot
Copy link

Hi @brawner!

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file.

In order for us to review and merge your code, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA.

If you have received this in error or have any questions, please contact us at [email protected]. Thanks!

@facebook-github-bot
Copy link

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!

@brawner
Copy link
Contributor Author

brawner commented Nov 24, 2020

It doesn't look like the test failure is related. Importantly the cmake job succeeded.

Test failure output

Seed = 6964

     1/     1    
    26          
    30          
    38          
    46          
    63          
    69          
    78          
    83          
    88          
   100          
   101          Error => Compression is not deterministic! (seed 6964, test nb 117, line 2329) 
make[1]: *** [test-zstream] Error 1

@Cyan4973
Copy link
Contributor

The test error is unrelated

Copy link
Contributor

@Cyan4973 Cyan4973 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm fine with the suggested change.
The main requirement for 2.8.9 compatibility was to remain compatible with base version of cmake in Ubuntu Precise, which is no longer maintained.

We can now move up to 2.8.12 which corresponds to the base version in Ubuntu Trusty, still in extended support mode.

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.

3 participants