-
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
Cpp prerequisities cmake #803
Cpp prerequisities cmake #803
Conversation
Build Succeeded 👏 Build Id: 3a67c033-d5d7-4f24-a893-055204d24e8a 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:
|
Build Failed 😱 Build Id: 4002ea2a-cd28-467e-9190-a925d1b864d1 To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
Build Succeeded 👏 Build Id: 2453347c-1751-488f-bc2d-67d6782830e2 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:
|
Build Failed 😱 Build Id: 0c92e084-9bd0-4f78-afc6-74fa9731570f To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
Build Succeeded 👏 Build Id: 53680f0b-491e-46b9-bce5-d4339636d531 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:
|
Main change of this PR: there is a prerequisities.cmake script that simplify a build process for different cmake-based third-parties in a cross-platform way. Previous solution, where gRPC+protobuf has only partial build and manual installation is removed (discussion was in #464). |
Build Succeeded 👏 Build Id: e256a4ae-cf94-47eb-ae22-7fa0605ad1f6 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:
|
Gentle bump to @sylvainduchesne - can you review please. I've no idea what any of this does 😄 |
I didn't get a chance to try it, but nothing jumps out as being a problem in this PR |
Build Succeeded 👏 Build Id: e1b929a3-aae2-4adc-97e3-3614534a3506 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:
|
Build Succeeded 👏 Build Id: 8611204b-fe39-4c32-9155-d9bb068aa6b8 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:
|
Build Succeeded 👏 Build Id: d23ab077-6670-461f-a1fe-2f525c31ffb3 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:
|
I tried the branch and it works, although, wow it takes about 30 minutes to build (well on Windows anyways). One thing I did note however, the install target seems to only install agones and not any of the dependencies we built. Since we will need these to build and link, it would probably be helpful to call install on all targets. |
I'm not sure, should we install whole gRPC or not? There are no options for partial installation of gRPC.
Could you give me a hint how to do it with CMake? Another question. Do you have any experience with package managers like chocolatey, conan, vspkg? What do you think about using them instead of hand-made installation? |
@dsazonoff can you explain what this PR does for those of us who aren't familiar with CMake + C++? |
Agones cpp sdk depends on protobuf and gRPC (with it's own dependencies). How it was done before: building of grpc, protobuf, zlib, cares, etc. were included directly in Agones CMakeLists.txt file. And installation of this libraries were done by custom cmake steps. How it is done in this PR: grpc and it's dependencies are built according to cmake guidelines as pre-build step. Goals of this PR:
CMake use |
Thanks! That was super clear. Is this ready for review/approval? |
@markmandel yes, it is. I just squashed commits, so there are no new changes. And here is #853, that require this PR to be merged first. |
Build Succeeded 👏 Build Id: d8cccd58-57f3-40d2-9827-ac16bf34e886 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:
|
I just tried this with the cpp-example, and it failed :( https://gist.github.com/markmandel/a0f0bb703a2b1e1b33dba7721de1b7e3 Did I do something wrong? |
Cleared some of the caching, and ran it again: Still failed. |
Checking it... |
Build Succeeded 👏 Build Id: dfdfc206-539f-4095-9121-54b944d1e2fd 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:
|
Build Succeeded 👏 Build Id: c4f68ae2-c117-45ee-8de2-3f9db067a392 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:
|
Build Succeeded 👏 Build Id: 1b2628eb-7515-4da5-8cb9-68950e334d81 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:
|
Seems that it's fixed |
So looks like it builds, but it does not run 😞 :
(Can we please also push the version number of the example to 0.6 - since this is a new SDK build?) |
Build Failed 😱 Build Id: 79df98c1-211f-4b3b-bce7-3b0f5eb4cfdf To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
Build Failed 😱 Build Id: de2fffdd-3850-4c57-ac41-39942546e495 To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
Build Failed 😱 Build Id: 8e6a2b24-cc5d-43c3-af46-0c7033eb20ce To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
Build Failed 😱 Build Id: ea7a7399-d9ef-4230-9a65-63474d1e4227 To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
Build Failed 😱 Build Id: 6e8d6f43-feda-4458-861b-364718c702c7 To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
Build Failed 😱 Build Id: 597280ed-4d88-4979-95b0-83067865986c To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
Build Failed 😱 Build Id: b1cb8c72-7501-4590-be7a-31572433a4cc To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
Build Failed 😱 Build Id: 076cd801-1cfb-4a6e-bc91-43c96be30d31 To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
Build Succeeded 👏 Build Id: 95e61b1e-3ece-4932-b72c-45a9cb14483a 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:
|
Build Succeeded 👏 Build Id: 6bcdce9a-ed8c-4dbd-a4d4-e7a0e353e82d 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:
|
Build Succeeded 👏 Build Id: 34fe8818-f7b7-4330-ab10-5bf338df79d9 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:
|
List of fixes:
New since last review:
Problems that was fixed since last review (cpp-simple was not working):
@markmandel I tested cpp-simple build&run on win/mac/linux. |
Build Succeeded 👏 Build Id: b7fd6aa1-8201-491e-a1da-0843d24a4936 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:
|
Running a quick test now locally, and assuming that passes - I'll give this the approve! 👍 |
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.
⚡ IT"S ALIVE ⚡
No description provided.