-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
- [waf] skip test for cross-building (m1) #6122
Conversation
Signed-off-by: SSE4 <tomskside@gmail.com>
This comment has been minimized.
This comment has been minimized.
@@ -9,11 +9,16 @@ class TestPackageConan(ConanFile): | |||
exports_sources = "a.cpp", "b.cpp", "main.c", "main.cpp", "wscript" | |||
|
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.
Perhaps this should contain test_type = "build_requires"
+ required_conan_version = ">=1.36.0"
?
https://docs.conan.io/en/latest/devtools/build_requires.html#testing-build-requires
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.
it may contain that, still, waf.exe
will be ARMv8 and it will fail?
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.
waf
is python-only. There is no binary that I'm aware of.
This recipe still uses os_build
and arch_build
.
Perhaps switching to os
/arch
will improve cross builds?
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.
it should, I am not a fan of os_build
/arch_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.
M1 profiles doesn't provide os/arch_build
, so we really need to remove them from settings
settings = "os_build", "arch_build" |
All green in build 2 (
|
* - [waf] skip test for cross-building (m1) Signed-off-by: SSE4 <tomskside@gmail.com> * Update conanfile.py
Specify library name and version: waf/all
This is also a good place to share with all of us why you are submitting this PR (specially if it is a new addition to ConanCenter): is it a dependency of other libraries you want to package? Are you the author of the library? Thanks!
conan-center hook activated.