-
Notifications
You must be signed in to change notification settings - Fork 6.1k
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
ignition-msgs5: Add support for cross-compilation #11538
ignition-msgs5: Add support for cross-compilation #11538
Conversation
a48e208
to
c8bf0b0
Compare
I will test the features later. Once finished, I will update the results. |
The feature has passed with the following triplets:
|
@traversaro I just merged a protobuf PR, could you resolve the conflicts? |
4a9d4b3
to
b155d09
Compare
Done. |
That from #11538 (comment) it should be something that instead should be installed in the CI machines. |
@traversaro |
8ecea64
to
3ee8fbc
Compare
Done. |
The
Based on #11538 (comment) , this should be something installed in the CI machines. |
@traversaro
Could you please merge the latest commit on master to this PR? |
3ee8fbc
to
ca2defd
Compare
Done. |
Seems it doesn't work. I noticed that this was the same reason with #11616. Could you look into this again? |
Azure Pipelines successfully started running 1 pipeline(s). |
It seems the command @traversaro |
ab802c9
to
b2c8e94
Compare
I rebased the PR on the top of latest master. |
Sorry @JackBoosY, I had missed you request change. However, I solved the conflicts w.r.t. to the latest master. |
Sorry for late, I lost track with this PR.
|
@traversaro |
Hi @JackBoosY and @NancyLi1013 , I was away from keyboard for a bit, sorry for the lack of feedback. I will update the PR in the coming days, thanks! |
…sscompiling Before this commit, the protobuf portfile when crosscompiling was not defining the protobuf::protoc target in its CMake config files, even if its definition was instead correctly patched in the port to point to the host version of the tool. Furthermore, the protobuf::libprotoc library (that is a library that can also be used in cross-compilation build) was not installed.
Similar to the protobuf case, when cross-compiling it is required that the port is already installed in the host machine triplet, for now just x86-windows as for protobuf.
269e79a
to
6921ebe
Compare
Hi @NancyLi1013 , the conflicts have been solved. @JackBoosY let's see if the uwp failure are still there, probably there is some upstream protobuf regression regarding compilation of the libprotoc library on uwp. |
There are several failures, but they do not seems to be related to this PR. |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
The failures in CI are consistent with a malformed CONTROL file somewhere and they aren't happening outside of this PR. Just in case I pushed a merge with master, we'll see what comes back. |
/azp run |
No pipelines are associated with this pull request. |
…tion-msgs-support-crosscompilation
@BillyONeal Any progress? |
The failure on this are due to a regression in protobuf, that does not support anymore in the latest version compilation in uwp . |
Related PR: #15424 . |
What does your PR fix?
This PR enables compilation of the
ignition-msgs5
port on triplet that require compilation, i.e. among official supported tripletsarm64-windows
andarm-uwp
.Which triplets are supported/not supported? Have you updated the CI baseline?
This PR add support for compiling
ignition-msgs5
forarm64-windows
andarm-uwp
, but I did not updated the CI baseline as the port will fail ifignition-msgs5:x86-windows
is not installed, and I do not know how this is supposed to be handled at the CI baseline level.Does your PR follow the maintainer guide?
Yes.
This PR also required some changes in the
protobuf
( fd8143b ) andignition-modularscripts
(5405eda) ports, feel free to check the commit messages for more details on those changes.