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

- [waf] skip test for cross-building (m1) #6122

Merged
merged 2 commits into from
Jul 5, 2021

Conversation

SSE4
Copy link
Contributor

@SSE4 SSE4 commented Jul 1, 2021

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!


  • I've read the guidelines for contributing.
  • I've followed the PEP8 style guides for Python code in the recipes.
  • I've used the latest Conan client version.
  • I've tried at least one configuration locally with the
    conan-center hook activated.

Signed-off-by: SSE4 <tomskside@gmail.com>
@SSE4 SSE4 requested a review from uilianries July 1, 2021 13:58
@conan-center-bot

This comment has been minimized.

@@ -9,11 +9,16 @@ class TestPackageConan(ConanFile):
exports_sources = "a.cpp", "b.cpp", "main.c", "main.cpp", "wscript"

Copy link
Contributor

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

Copy link
Contributor Author

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?

Copy link
Contributor

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?

Copy link
Contributor Author

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

Copy link
Contributor

@jgsogo jgsogo left a 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"

@conan-center-bot
Copy link
Collaborator

All green in build 2 (dcac5511b57260b48f10438219a622cd43577b84):

  • waf/2.0.19@:
    All packages built successfully! (All logs)

@conan-center-bot conan-center-bot merged commit 17afd6a into conan-io:master Jul 5, 2021
AndreyMlashkin pushed a commit to AndreyMlashkin/conan-center-index that referenced this pull request Jul 19, 2021
* - [waf] skip test for cross-building (m1)

Signed-off-by: SSE4 <tomskside@gmail.com>

* Update conanfile.py
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.

5 participants