-
Notifications
You must be signed in to change notification settings - Fork 107
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
conditionally remove tests from cross build #511
Conversation
@@ -1,11 +1,13 @@ | |||
curl = find_program('curl', required: false) | |||
|
|||
if curl.found() | |||
if curl.found() or meson.is_cross_build() |
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.
locally the cross build sysroot fs does not have "curl" command but embedded device has curl
-> any recommendation for a cleaner solution ?
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.
I think this looks okay. Not great, but not too bad either. @sarroutbi: any opinions here?
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.
LGTM. Thanks
thanks :-) |
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.
Thanks.
in a cross build, test cannot be run, as target and host is different,
so we remove it if we are doing a cross build
-> this is RFC - if it can be resolved another way, let me know