Skip to content
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

Merged
merged 3 commits into from
Mar 7, 2025

Conversation

n80fr1n60
Copy link
Contributor

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

@@ -1,11 +1,13 @@
curl = find_program('curl', required: false)

if curl.found()
if curl.found() or meson.is_cross_build()
Copy link
Contributor Author

@n80fr1n60 n80fr1n60 Mar 3, 2025

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 ?

Copy link
Collaborator

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?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks

@n80fr1n60
Copy link
Contributor Author

n80fr1n60 commented Mar 7, 2025

thanks :-)
was it already merged, bc PR still shows as open on my side

Copy link
Collaborator

@sergio-correia sergio-correia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks.

@sergio-correia sergio-correia merged commit a13c150 into latchset:master Mar 7, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants