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

Default to only modern architectures #448

Merged
merged 1 commit into from
Sep 6, 2015

Conversation

advayDev1
Copy link
Contributor

Better fix for #443 (compare vs. #444).

I think this is much simpler, makes regular users faster, and does not take away power users' ability to use all architectures.

cc: @confile

* Adding an unrecognized new architecture here will fail.
* By default, only common modern iOS architectures will be built:
* ios_arm64, ios_armv7, ios_x86_64. You may choose to add any of the remaining
* entries from NativeCompilation.ALL_SUPPORTED_ARCHS to support all possible
Copy link
Contributor

Choose a reason for hiding this comment

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

It would be better to enumerate the other alternatives as well:

...
entries from NativeCompilation.ALL_SUPPORTED_ARCHS (ios_i386 and ios_armv7s)
to support all possible iOS architectures. Listing any new architectures outside of
ALL_SUPPORTED_ARCHS will fail the build.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@brunobowden
Copy link
Contributor

@advayDev1 - I agree this is much better. Thanks for the suggestion.

@brunobowden
Copy link
Contributor

LGTM

@brunobowden
Copy link
Contributor

You'll just need to fix up the unit tests... you can copy some of the changes from my PR.

@confile
Copy link
Contributor

confile commented Sep 5, 2015

LGTM

@confile
Copy link
Contributor

confile commented Sep 5, 2015

@advayDev1 You should add the overview comment that @brunobowden had in his request. It shows which phone type has which architecture.

@advayDev1
Copy link
Contributor Author

@confile - done

advayDev1 added a commit that referenced this pull request Sep 6, 2015
Default to only modern architectures
@advayDev1 advayDev1 merged commit c73d846 into j2objc-contrib:master Sep 6, 2015
@advayDev1 advayDev1 deleted the modern branch September 6, 2015 03:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants