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

Skip when no arch is present #9045

Merged
merged 9 commits into from Jun 2, 2021

Conversation

lasote
Copy link
Contributor

@lasote lasote commented Jun 2, 2021

Changelog: Bugfix: The CMakeToolchain generator now manages correctly a recipe without arch declared in an Apple system.
Docs: omit

czoido and others added 4 commits May 31, 2021 08:52
* Improved test to fail if no target is generated for the build context and activating the build context explicitly

* Clean msg
@lasote lasote requested review from czoido and memsharded June 2, 2021 12:32
@lasote lasote added this to the 1.37.1 milestone Jun 2, 2021
@@ -344,6 +344,8 @@ def _apple_sdk_name(self):
def context(self):
os_ = self._conanfile.settings.get_safe("os")
host_architecture = self._get_architecture()
if host_architecture is None:
Copy link
Member

Choose a reason for hiding this comment

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

Shouldn't at least the CMAKE_SYSTEM_NAME, CMAKE_SYSTEM_VERSION for iOS, tvOS, watchOS be defined? Is it possible to have those target systems without arch?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

we can try...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, it is possible. It allowed to simplify the code, please check again.

@lasote lasote changed the base branch from develop to release/1.37 June 2, 2021 14:03
Co-authored-by: Carlos Zoido <mrgalleta@gmail.com>
@lasote lasote merged commit f25ff3c into conan-io:release/1.37 Jun 2, 2021
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.

None yet

3 participants