Skip to content

Conversation

@jfirebaugh
Copy link
Contributor

Instead of building for osx-10.10, osx-10.11, etc., build a single osx-all version. Continue to use -mmacosx-version-min=10.8.

Fixes #118

Before testing this, I'll need to copy existing osx-10.10 / osx-10.11 packages to osx-all on S3. @springmeyer @kkaefer, should I copy one or the other, or both? And if both, should the osx-10.10 or osx-10.11 package get priority when they both exist?

@jfirebaugh
Copy link
Contributor Author

Seems like copying just osx-10.11 is probably the way to go. Proposed command line:

aws s3 cp --recursive --acl public-read s3://mason-binaries/osx-10.11 s3://mason-binaries/osx-all

@springmeyer
Copy link
Contributor

One followup we'll want after this becomes standard is to remove the multiple matrix entries for all travis packages building for both 10.10 and 10.11 (to avoid them clobbering each other on upload).

jfirebaugh added a commit to mapbox/mapbox-gl-native that referenced this pull request Mar 11, 2016
@jfirebaugh jfirebaugh mentioned this pull request Mar 11, 2016
springmeyer pushed a commit to mapbox/mapnik-vector-tile that referenced this pull request Mar 11, 2016
@jfirebaugh
Copy link
Contributor Author

Test build of mapbox-gl-native passed on all platforms:

mason.sh Outdated
if [ ${MASON_PLATFORM} = 'osx' ]; then
export MASON_HOST_ARG="--host=x86_64-apple-darwin"
export MASON_PLATFORM_VERSION=`xcrun --sdk macosx --show-sdk-version`
export MASON_PLATFORM_VERSION="all"
Copy link
Member

Choose a reason for hiding this comment

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

Can we use x86_64 instead? We're only using all on iOS because we're producing fat binaries for that platform; all other platforms use arch-specific platform versions.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

👍, I'll switch to x86_64.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Using x86_64 causes a failure in one of the tests. I'll need someone to help me figure out why https://travis-ci.org/mapbox/mason/jobs/115412535.

@jfirebaugh jfirebaugh force-pushed the 118-no-osx-subversioning branch 4 times, most recently from a26357f to 569f353 Compare March 14, 2016 17:02
Instead of building for osx-10.10, osx-10.11, etc., build osx-x86_64. Continue to use -mmacosx-version-min=10.8.
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.

3 participants