Thread overview
LDC 1.24.0
Oct 24, 2020
kinke
Oct 24, 2020
Andre Pany
Oct 24, 2020
Johan Engelen
Oct 27, 2020
Mathias LANG
Oct 31, 2020
Imperatorn
Nov 07, 2020
Anonymouse
Nov 07, 2020
Dan Printzell
Nov 12, 2020
Anonymouse
Dec 13, 2020
Jarrett Tierney
Dec 13, 2020
kinke
October 24, 2020
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!
October 24, 2020
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 for another great release.

Kind regards
Andre
October 24, 2020
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!

Thanks Martin!

FYI: this is the first release that includes a working ThreadSanitizer. Curious to hear people's experiences with it.
Cmdline flag:  -fsanitize=thread
https://github.com/google/sanitizers/wiki/ThreadSanitizerCppManual

Examples:
https://github.com/ldc-developers/ldc/blob/master/tests/sanitizers/tsan_tiny_race.d
https://github.com/ldc-developers/ldc/blob/master/tests/sanitizers/tsan_tiny_race_TLS.d

cheers,
  Johan

October 27, 2020
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!

Thanks for all your work on this and the great releases!
October 31, 2020
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!

Splendid!
November 07, 2020
On Saturday, 24 October 2020 at 15:11:08 UTC, kinke wrote:
> [...]

Arch Linux packages are still at 1.23[1]. They were flagged as outdated on Oct 25th.

Does anyone know the package maintainers? Is there something blocking an update?


[1]: https://www.archlinux.org/packages/community/x86_64/ldc/
November 07, 2020
On Saturday, 7 November 2020 at 15:02:42 UTC, Anonymouse wrote:
> On Saturday, 24 October 2020 at 15:11:08 UTC, kinke wrote:
>> [...]
>
> Arch Linux packages are still at 1.23[1]. They were flagged as outdated on Oct 25th.
>
> Does anyone know the package maintainers? Is there something blocking an update?
>
>
> [1]: https://www.archlinux.org/packages/community/x86_64/ldc/

Sorry, I've been waiting for the LLVM 11 package rebuild[1] to finish
to make the packaging easier. But as so much time have passed I should
probably just do it anyway.

[1] https://www.archlinux.org/todo/llvm-11/
November 12, 2020
On Saturday, 7 November 2020 at 23:54:51 UTC, Dan Printzell wrote:
> Sorry, I've been waiting for the LLVM 11 package rebuild[1] to finish
> to make the packaging easier. But as so much time have passed I should
> probably just do it anyway.
>
> [1] https://www.archlinux.org/todo/llvm-11/

I see they hit the repositories yesterday. Thanks!
December 13, 2020
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
December 13, 2020
On Sunday, 13 December 2020 at 08:12:37 UTC, Jarrett Tierney wrote:
> 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.

Much appreciated, thanks for letting us know.