On Saturday, 24 October 2020 at 15:11:08 UTC, kinke wrote:
Glad to announce LDC 1.24 - some highlights:

- Based on D 2.094.1+.
- Support for LLVM 11. The prebuilt packages use v11.0.0, and the x86 packages newly include the LLVM backend for AMD GPUs. - Experimental support for targeting macOS on 64-bit ARM. The macOS package includes prebuilt druntime/Phobos libraries for cross-compilation via `-mtriple=arm64-apple-macos`.

Full release log and downloads: https://github.com/ldc-developers/ldc/releases/tag/v1.24.0

Thanks to all contributors & sponsors!

Thank you ldc team. I know this is rather late to post the thank you, but wanted to let you know using your experimental support for targeting macOS on arm, I was actually able to build a native ldc for Mac m1. If anyone else wants to do the same here is what I did:

* Installed homebrew for m1 arm
* brew install llvm
* Downloaded your ldc Mac and used it as the bootstrap compiler
* Modified the ldc2.conf to fix the incorrect Xcode sysroot for the arm path (will file you a ticket for this)
* Cmake like in the wiki
* Modified build.ninja to get rid of some weird isysroot generations * ninja build and ninja install and whooohoo I have a native arm compile tool chain for D

Reply via email to