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

Use universal darwin build for previous crystal #266

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

miry
Copy link
Contributor

@miry miry commented Nov 11, 2023

For last few crystal releases there is only crystal-darwin-universal.
It means, there is no need to separate on ARCH in Makefiles or folder names for darwin.

Update darwin/Makefile to use folder name without arch suffix.

Example usage:

make -C darwin CRYSTAL_VERSION=1.10.1 PREVIOUS_CRYSTAL_RELEASE_DARWIN_TARGZ=https://github.com/crystal-lang/crystal/releases/download/1.10.1/crystal-1.10.1-1-darwin-universal.tar.gz

my level of understanding the whole process: noob

@miry miry marked this pull request as ready for review November 11, 2023 21:21
@miry miry mentioned this pull request Nov 12, 2023
8 tasks
@straight-shoota
Copy link
Member

CI workflow run: https://app.circleci.com/pipelines/github/crystal-lang/crystal/13351/workflows/0e70450f-675a-4382-98c1-6ec959e61eea

@miry
Copy link
Contributor Author

miry commented Nov 13, 2023

checking failed test

darwin/Makefile Outdated Show resolved Hide resolved
@miry
Copy link
Contributor Author

miry commented Nov 13, 2023

Updated the code to use crystal-darwin-universal folder name and found a missing spot, where the folder was used.

@straight-shoota
Copy link
Member

New CI run: https://app.circleci.com/pipelines/github/crystal-lang/crystal/13356/workflows/5a0c364e-6f0d-40b5-bd29-6095dfb66302

For last crystal releases there is only crystal-darwin-universal.
It means, there is no need to separate on ARCH.

Update `darwin/Makefile` to use folder name without arch suffix.
miry added a commit to miry/distribution-scripts that referenced this pull request Jan 4, 2024
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.

2 participants