Get libnetwork to build on Solaris#1110
Conversation
|
@amitkris Can you please include solaris target into the cross platform targets here https://github.com/docker/libnetwork/blob/master/Makefile#L9 so that circle ci catches it in solaris build breakages in future PRs |
|
@mrjana : We don't have CI set up for Solaris yet. For now, while we get the CI story sorted we are getting build clean PR's in for the Docker Engine and its dependencies. We have been working with the core team at Docker to get all of our work upstream. CI is a part of that. As soon as it is set up I would be happy to add it wherever we can. |
|
@aboch : just trying to clarify something here. If I make the change suggested (i.e. add Solaris as a cross platform dependency) will CircleCI be able to recover from a failure wherein it is unable to find a Solaris endpoint to test on? Because as I said above we don't yet have CI set up... |
|
@amitkris |
|
@amitkris we don't need a Solaris endpoint to check the build. Go can cross compile to any target from linux circleci instance. All we want to make sure is that the code compiles for solaris target. Is that possible? |
Signed-off-by: Amit Krishnan <krish.amit@gmail.com>
|
I pushed the changes to test the CI. I forgot to sign one of them. If it works I'll sign the commits and push again |
|
LGTM, please do sign one of the commits and then we are good for merge. |
|
Thank you @amitkris for taking care of the comments. This ensures we will not merge new changes which could break the solaris build. LGTM |
|
@amitkris Your changes in Makefile are already in a separate commit pls sign that too. 2 separate commits in this PR. And they both are related to solaris build. |
Signed-off-by: Amit Krishnan <krish.amit@gmail.com>
|
@aboch: ok. Both are signed now. |
|
@aboch : I'm looking to file a build clean PR for the Docker Engine for Solaris soon. As libnetwork is a dependency it would have to be uprev'd first. What would be the best recourse for me to uprev the version of libnetwork in Docker such that Docker has these changes? |
|
We will vendor the libnetwork code in docker soon, we are waiting for another bug fix. |
|
ok thanks! |
This is a build clean PR for libnetwork on Solaris.
This is a part of a larger effort for a native port of Docker on Solaris.
Signed-off-by: Amit Krishnan krish.amit@gmail.com