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

Feature: support M1 Catalyst #8818

Merged
merged 1 commit into from May 10, 2021
Merged

Feature: support M1 Catalyst #8818

merged 1 commit into from May 10, 2021

Conversation

SSE4
Copy link
Contributor

@SSE4 SSE4 commented Apr 16, 2021

closes: #8803

Changelog: Feature: support M1 Catalyst.
Docs: omit

  • Refer to the issue that supports this Pull Request.
  • If the issue has missing info, explain the purpose/use case/pain/need that covers this Pull Request.
  • I've read the Contributing guide.
  • I've followed the PEP8 style guides for Python code.
  • I've opened another PR in the Conan docs repo to the develop branch, documenting this one.

Note: By default this PR will skip the slower tests and will use a limited set of python versions. Check here how to increase the testing level by writing some tags in the current PR body text.

Signed-off-by: SSE4 <tomskside@gmail.com>
@SSE4
Copy link
Contributor Author

SSE4 commented Apr 16, 2021

seems like Xcode or OSX SDK is too old:

E           c++ -O3 -fPIC -mmacosx-version-min=10.14 -isysroot /Applications/Xcode_12.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -arch arm64 -stdlib=libc++ -DNDEBUG  -c -o app.o app.cpp
E           In file included from app.cpp:4:
E           In file included from /Applications/Xcode_12.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iostream:37:
E           In file included from /Applications/Xcode_12.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/ios:214:
E           In file included from /Applications/Xcode_12.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iosfwd:95:
E           In file included from /Applications/Xcode_12.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/wchar.h:118:
E           In file included from /Applications/Xcode_12.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/wchar.h:70:
E           In file included from /Applications/Xcode_12.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/_types.h:27:
E           In file included from /Applications/Xcode_12.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:32:
E           /Applications/Xcode_12.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/sys/cdefs.h:807:2: error: Unsupported architecture
E           #error Unsupported architecture
E            ^

@dmn-star
Copy link

Have you tried it locally on your Mac or on CCI?

@SSE4
Copy link
Contributor Author

SSE4 commented Apr 19, 2021

@dmn-star yes, locally worked for me

@dmn-star
Copy link

Can the feature already be included in the next release?

@SSE4
Copy link
Contributor Author

SSE4 commented Apr 22, 2021

Can the feature already be included in the next release?

we're looking into updating Xcode on our CI to be able to run M1 tests to be absolutely confident it won't break.

@SSE4
Copy link
Contributor Author

SSE4 commented Apr 27, 2021

now works on CI

@dmn-star
Copy link

Please release as soon as possible. :-)

@SSE4
Copy link
Contributor Author

SSE4 commented Apr 27, 2021

friendly ping @memsharded if it could be included into the one of the next releases

@memsharded memsharded added this to the 1.37 milestone Apr 27, 2021
@memsharded memsharded merged commit ee107d5 into conan-io:develop May 10, 2021
@memsharded
Copy link
Member

Thanks @SSE4! Merged, it will be in next 1.37 release.

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.

[question] How to build for arm64 catalyst (Apple M1)?
3 participants