Re: LDC 1.15.0

2019-04-12 Thread Thomas Mader via Digitalmars-d-announce
.dylib [2]. The druntime test didn't have this problem and the problem was also not always reproducible I believe. For me it's not a problem anymore but maybe it's a pointer to something problematic. [2] otool -L /private/var/folders/wq/m1dnr42s42n5msqk2v8l0lfcgn/T/nix-build-ldc-1.15.0.drv-4/ldc

Re: LDC 1.15.0

2019-04-12 Thread jmh530 via Digitalmars-d-announce
On Friday, 12 April 2019 at 13:54:05 UTC, kinke wrote: [snip] I'd use something like version (LDC) import ldc.attributes : restrict; else enum restrict = null; Excellent. Thanks.

Re: LDC 1.15.0

2019-04-12 Thread jmh530 via Digitalmars-d-announce
On Friday, 12 April 2019 at 13:54:05 UTC, kinke wrote: [snip] I'd use something like version (LDC) import ldc.attributes : restrict; else enum restrict = null; Much better, thanks.

Re: LDC 1.15.0

2019-04-12 Thread kinke via Digitalmars-d-announce
On Friday, 12 April 2019 at 13:26:14 UTC, jmh530 wrote: The @llvmAttr("noalias") compiled on run.dlang.org, but I couldn't get the @restrict to work. I assume that uses the most recent version of LDC, but I don't really know. --version as cmdline switch tells you the run.dlang.io version is

Re: LDC 1.15.0

2019-04-12 Thread jmh530 via Digitalmars-d-announce
On Saturday, 6 April 2019 at 17:40:39 UTC, kinke wrote: * New generic @llvmAttr("name") parameter UDAs, incl. @restrict with C-like semantics. [snip] I think I had passed over this when I first read the announcement. The @llvmAttr("noalias") compiled on run.dlang.org, but I couldn't get

Re: LDC 1.15.0

2019-04-12 Thread Radu via Digitalmars-d-announce
On Saturday, 6 April 2019 at 17:40:39 UTC, kinke wrote: Glad to announce LDC 1.15: * Based on D 2.085.1. * Support for LLVM 8.0. The prebuilt packages ship with LLVM 8.0.0 and include the Khronos SPIRV-LLVM-Translator, so that dcompute can now emit OpenCL too. * New -lowmem switch to enable

Re: LDC 1.15.0

2019-04-10 Thread Vijay Nayar via Digitalmars-d-announce
On Saturday, 6 April 2019 at 17:40:39 UTC, kinke wrote: Glad to announce LDC 1.15: * Based on D 2.085.1. * Support for LLVM 8.0. The prebuilt packages ship with LLVM 8.0.0 and include the Khronos SPIRV-LLVM-Translator, so that dcompute can now emit OpenCL too. * New -lowmem switch to enable

Re: LDC 1.15.0

2019-04-07 Thread kinke via Digitalmars-d-announce
On Sunday, 7 April 2019 at 14:26:16 UTC, Thomas Mader wrote: Were there some changes to the shared phobos unittest runners between beta2 and the final release? I ask because I have the problem on macOS with the final release that libphobos2-ldc-unittest-shared.85.dylib is not fixed by my

Re: LDC 1.15.0

2019-04-07 Thread Thomas Mader via Digitalmars-d-announce
On Saturday, 6 April 2019 at 17:40:39 UTC, kinke wrote: Glad to announce LDC 1.15: * Based on D 2.085.1. * Support for LLVM 8.0. The prebuilt packages ship with LLVM 8.0.0 and include the Khronos SPIRV-LLVM-Translator, so that dcompute can now emit OpenCL too. * New -lowmem switch to enable

LDC 1.15.0

2019-04-06 Thread kinke via Digitalmars-d-announce
Glad to announce LDC 1.15: * Based on D 2.085.1. * Support for LLVM 8.0. The prebuilt packages ship with LLVM 8.0.0 and include the Khronos SPIRV-LLVM-Translator, so that dcompute can now emit OpenCL too. * New -lowmem switch to enable the GC for the front-end, trading compile times for less

Re: LDC 1.15.0-beta2

2019-04-03 Thread zoujiaqing via Digitalmars-d-announce
On Sunday, 24 March 2019 at 02:15:38 UTC, kinke wrote: Glad to announce the second beta for LDC 1.15, with these changes compared to beta1 (https://forum.dlang.org/thread/wavjrnwlxkkpzkqjv...@forum.dlang.org): * Based on current DMD stable. * LLVM for prebuilt packages upgraded to v8.0.0

Re: LDC 1.15.0-beta2

2019-03-30 Thread kinke via Digitalmars-d-announce
On Saturday, 30 March 2019 at 15:30:16 UTC, Thomas Mader wrote: The lowmem switch tests [1] fail for me because I use ltsmaster as the bootstrap compiler. 1) I think those tests should not run in this szenario. 2) I know that I need to rebuild ldc with itself to get the lowmem switch support

Re: LDC 1.15.0-beta2

2019-03-30 Thread Thomas Mader via Digitalmars-d-announce
On Sunday, 24 March 2019 at 02:15:38 UTC, kinke wrote: Glad to announce the second beta for LDC 1.15, with these changes compared to beta1 (https://forum.dlang.org/thread/wavjrnwlxkkpzkqjv...@forum.dlang.org): * Based on current DMD stable. * LLVM for prebuilt packages upgraded to v8.0.0

LDC 1.15.0-beta2

2019-03-23 Thread kinke via Digitalmars-d-announce
Glad to announce the second beta for LDC 1.15, with these changes compared to beta1 (https://forum.dlang.org/thread/wavjrnwlxkkpzkqjv...@forum.dlang.org): * Based on current DMD stable. * LLVM for prebuilt packages upgraded to v8.0.0 final. * Fixed beta1 regression: prebuilt Linux x86_64

Re: LDC 1.15.0-beta1

2019-03-13 Thread Per Nordlöw via Digitalmars-d-announce
On Tuesday, 12 March 2019 at 20:15:30 UTC, kinke wrote: As usual, v1.15.0 final will be based on the first DMD point release (2.085.1), so just make sure your fixes end up in DMD's stable branches before the tag, as done in this case. Wonderful!

Re: LDC 1.15.0-beta1

2019-03-12 Thread kinke via Digitalmars-d-announce
On Tuesday, 12 March 2019 at 12:09:11 UTC, Per Nordlöw wrote: https://github.com/dlang/druntime/pull/2479 was just merged! Can we please merge this into LDC 1.15?! As usual, v1.15.0 final will be based on the first DMD point release (2.085.1), so just make sure your fixes end up in DMD's

Re: LDC 1.15.0-beta1

2019-03-12 Thread Per Nordlöw via Digitalmars-d-announce
On Saturday, 9 March 2019 at 22:08:27 UTC, Dennis wrote: Yes, gimme those assertion failure messages! I hope the fix for using it with attributes (https://github.com/dlang/druntime/pull/2479) gets merged in time for the stable release of LDC 1.15. https://github.com/dlang/druntime/pull/2479

Re: LDC 1.15.0-beta1

2019-03-12 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Saturday, 9 March 2019 at 19:57:36 UTC, kinke wrote: Please help test, and thanks to all contributors! Thank you very much guys! I opened an issue https://github.com/ldc-developers/ldc/issues/3023 about exports in WebAssembly. ldc 1.14's default is to export pretty much everything, and

Re: LDC 1.15.0-beta1

2019-03-11 Thread Guillaume Piolat via Digitalmars-d-announce
On Sunday, 10 March 2019 at 11:41:36 UTC, kinke wrote: On Sunday, 10 March 2019 at 02:05:37 UTC, Manu wrote: Can you explain what this means: * Fix: functions annotated with `pragma(inline, true)` are implicitly cross-module-inlined again. `pragma(inline, true)` functions have only been

Re: LDC 1.15.0-beta1

2019-03-10 Thread James Blachly via Digitalmars-d-announce
On 3/10/19 7:41 AM, kinke wrote: On Sunday, 10 March 2019 at 02:05:37 UTC, Manu wrote: Can you explain what this means: * Fix: functions annotated with `pragma(inline, true)` are implicitly cross-module-inlined again. `pragma(inline, true)` functions have only been inlined in the same

Re: LDC 1.15.0-beta1

2019-03-10 Thread kinke via Digitalmars-d-announce
On Sunday, 10 March 2019 at 02:05:37 UTC, Manu wrote: Can you explain what this means: * Fix: functions annotated with `pragma(inline, true)` are implicitly cross-module-inlined again. `pragma(inline, true)` functions have only been inlined in the same compilation unit since LDC v1.1

Re: LDC 1.15.0-beta1

2019-03-09 Thread Manu via Digitalmars-d-announce
On Sat, Mar 9, 2019 at 12:00 PM kinke via Digitalmars-d-announce wrote: > > Glad to announce the first beta for LDC 1.15: > > * Based on D 2.085.0. > * Support for LLVM 8.0. The prebuilt packages ship with LLVM > 8.0.0-rc4 and include the Khronos SPIRV-LLVM-Translator, so that > dcompute can now

Re: LDC 1.15.0-beta1

2019-03-09 Thread Dennis via Digitalmars-d-announce
Thanks! On Saturday, 9 March 2019 at 19:57:36 UTC, kinke wrote: * Based on D 2.085.0. Yes, gimme those assertion failure messages! I hope the fix for using it with attributes (https://github.com/dlang/druntime/pull/2479) gets merged in time for the stable release of LDC 1.15. * New

LDC 1.15.0-beta1

2019-03-09 Thread kinke via Digitalmars-d-announce
Glad to announce the first beta for LDC 1.15: * Based on D 2.085.0. * Support for LLVM 8.0. The prebuilt packages ship with LLVM 8.0.0-rc4 and include the Khronos SPIRV-LLVM-Translator, so that dcompute can now emit OpenCL too. * New -lowmem switch to enable the GC for the front-end, trading