added cross compile setup#153
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #153 +/- ##
==========================================
+ Coverage 58.44% 59.27% +0.83%
==========================================
Files 4 4
Lines 580 582 +2
Branches 147 148 +1
==========================================
+ Hits 339 345 +6
+ Misses 140 137 -3
+ Partials 101 100 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
get_external_property() has meson >= 0.54.0 as requirement
|
Hello. I find no problem in upgrading meson version ... WDYT @sergio-correia ? |
I think this would be okay, but can you do this just for focal? So that we keep using the meson provided by the distribution for the remaining ones. |
|
@sarroutbi @sergio-correia jfi, I will update the code and push it |
|
@sarroutbi @sergio-correia |
meson.build
Outdated
| message('Compiler version :'+ compiler.version()) | ||
| message('Compiler ID :' + compiler.get_id()) | ||
| message('Library search directory :'+ lib_dir) | ||
| message('Include directiry :' + inc_dir) |
There was a problem hiding this comment.
There is a typo here: Include directiry
Now you need to update meson in focal, right? |
yes - then the automated test should work As a side note:
|
@sarroutbi @sergio-correia |
Did you update meson version in focal? |
@sarroutbi updated workflow build.yaml btw: |
This is normally reported by not using "on" and using it without quotes in here: If you change it (on->"on"), yamllint should not complain |
sarroutbi
left a comment
There was a problem hiding this comment.
You need to install pip3 before calling it
I would probably do these changes in that |
@sarroutbi moved it to the install-dependencies and added
@sarroutbi moved it to install-dependecies shell script |
|
as a side note: Along the way, I have created a markdown document while doing the cross compilation (it covers the whole dependency chain from tangd, aka libjose, luksmeta, device mapper etc ...) |
I think it would be better to add the document to the repo, so that we can update it as required. |
Ok i will do a new branch, rework formatting and then do a new PR. For cross build issues, I am happy to help/support Thanks for the support :-) |
Thanks for this work! |
This setup should enable proper cross compilation