-
Notifications
You must be signed in to change notification settings - Fork 819
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
Changed cmake required version to 3.5 to work on more machines #903
Conversation
Build Failed 😱 Build Id: 90c740ae-97a1-48e1-ba60-82eb2297456b To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
I don't think that cmake version should be downgraded. It is very easy to upgrade it. And SDK supports docker build, so it doesn't matter for a machine what version to have. Don't forget to patch 'cpp/cmake/clang-verify.in' file and Dockerfile that are responsible for SDK builds (installation of CMake). |
My distro is using a debian mirror that's slightly behind, and the newest cmake I can get is 3.12.1. So my only choice is to either: (A) download cmake from kitware.com (yuck), or (B) edit the "cmake_minimum_required" version to something slightly lower, which works fine. FTR, we choose to require cmake 3.5 for https://github.com/googleapis/google-cloud-cpp because it's easily available on a large variety of important Linux distros, and it actually has most of the major modern features that people want/need with cmake.
Are there instructions for that? Because running
I'm sorry, but I don't see any mention of |
Now I agree about downgrading cmake version.
You may look here. Or here. But I usually build everything locally, without docker.
I noticed that you created your PR before #855 was merged. Please, update from master and fix cmake version in clang-verify too. |
f67bd70
to
c801d68
Compare
Updated. Requiring 3.5 but using 3.14 in Docker sounds like a good idea to me. |
Build Succeeded 👏 Build Id: 8f53308f-26f6-44db-b9f3-3438b9cdc88d The following development artifacts have been built, and will exist for the next 30 days:
A preview of the website (the last 30 builds are retained): To install this version:
|
c801d68
to
1389a24
Compare
Build Succeeded 👏 Build Id: 23d34505-5c56-4eae-ba65-8fe1feaf5775 The following development artifacts have been built, and will exist for the next 30 days:
A preview of the website (the last 30 builds are retained): To install this version:
|
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.
❇️
Build Succeeded 👏 Build Id: df813d7e-2fd3-4d2b-9e03-082346157802 The following development artifacts have been built, and will exist for the next 30 days:
A preview of the website (the last 30 builds are retained): To install this version:
|
@devjgm - should we also update https://github.com/googleforgames/agones/blob/master/examples/cpp-simple/CMakeLists.txt to specify cmake 3.5? |
I think so, yes. I didn't know "examples/cpp-simple" existed, otherwise I'd have updated it. But I see no reason for it to be different. Thanks for pointing this out. |
The current cmake files don't actually require 3.13, so lowering the version they claim to require will allow the cmake files to work on more machines. Related to #718