Skip to content

Fix Travis CI to only build x86_64, and fix --with-macarchs flag#1137

Merged
ychin merged 1 commit intomacvim-dev:masterfrom
ychin:fix-travis-ci-x86-only-configure-with-macarchs
Dec 12, 2020
Merged

Fix Travis CI to only build x86_64, and fix --with-macarchs flag#1137
ychin merged 1 commit intomacvim-dev:masterfrom
ychin:fix-travis-ci-x86-only-configure-with-macarchs

Conversation

@ychin
Copy link
Copy Markdown
Member

@ychin ychin commented Dec 12, 2020

Apple Silicon build doesn't work in CI yet, and as such we don't want CI to build it, as accidentaly Apple Silicon builds will mean an Apple Silicon Mac prioritize that over Rosetta build which will crash (since we are only building MacVim as universal, but the raw Vim process is not). Also, add a CI smoketest step to make sure we only build x86_64.

Also, fix up the --with-macarchs flag for configure. For some reason, Apple seems to have broken sed's word boundary parsing, so need to work around it and use a more convoluted regex to do the word splitting.

Apple Silicon build doesn't work in CI yet, and as such we don't want CI
to build it, as accidentaly Apple Silicon builds will mean an Apple
Silicon Mac prioritize that over Rosetta build which will crash (since
we are only building `MacVim` as universal, but the raw `Vim` process is
not). Also, add a CI smoketest step to make sure we only build x86_64.

Also, fix up the `--with-macarchs` flag for `configure`. For some
reason, Apple seems to have broken sed's word boundary parsing, so need
to work around it and use a more convoluted regex to do the word
splitting.
@ychin ychin added the Infrastructure Non-app infrastructure issues, e.g. CI label Dec 12, 2020
@ychin ychin merged commit 1f8d903 into macvim-dev:master Dec 12, 2020
@ychin ychin deleted the fix-travis-ci-x86-only-configure-with-macarchs branch December 12, 2020 05:31
@ychin ychin mentioned this pull request Dec 20, 2020
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Infrastructure Non-app infrastructure issues, e.g. CI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant