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

Mac Arm M1 Binaries #22

Open
aminya opened this issue Dec 29, 2021 · 1 comment
Open

Mac Arm M1 Binaries #22

aminya opened this issue Dec 29, 2021 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@aminya
Copy link
Owner

aminya commented Dec 29, 2021

We need someone with M1 to build binaries.

Contributing guidelines include the instructions for building:
https://github.com/aminya/minijson#contributing

@aminya aminya added the help wanted Extra attention is needed label Dec 29, 2021
@aminya
Copy link
Owner Author

aminya commented Dec 30, 2021

Automatic installation might not support Arm64 for Mac yet. Here is the manual install script:

export ARCH=arm64
# Manually install ldc 
# Due to https://github.com/dlang-community/setup-dlang/issues/51
curl -LJO https://github.com/ldc-developers/ldc/releases/download/v1.28.0/ldc2-1.28.0-osx-$ARCH.tar.xz
tar -xf ldc2-1.28.0-osx-$ARCH.tar.xz
rm ldc2-1.28.0-osx-$ARCH.tar.xz
LDC_PATH="~/ldc"
mkdir -p $LDC_PATH
mv ldc2-1.28.0-osx-$ARCH $LDC_PATH
# Activate ldc
export LIBRARY_PATH="$LDC_PATH/lib${LIBRARY_PATH:+:}${LIBRARY_PATH:-}"
export LD_LIBRARY_PATH="$LDC_PATH/lib${LD_LIBRARY_PATH:+:}${LD_LIBRARY_PATH:-}"
export PATH="$LDC_PATH/bin${PATH:+:}${PATH:-}"
export DMD="ldmd2"
export DC=ldc2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant