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 final.
* Fixed beta1 regression: prebuilt Linux x86_64 package is 
usable with older linkers again (e.g., on Ubuntu 14.04).

* Fixed beta1 regression: dcompute is usable again.
* Prebuilt packages don't depend on libtinfo and libedit 
anymore.


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


Please help test, and thanks to all contributors!


Thanks!

iOS platform arm64 wanted :)


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 in the long run but I wonder if that 
would not be better integrated into your cmake build via an 
option.

Otherwise the packagers out there need to do it for themselves.


Ideally, all packagers would by now have installed a 2-step 
bootstrapping process (ltsmaster -> master/recent version -> 
master) or an incremental process (previous version -> master). 
That also prevents us from having to backport support for newer 
LLVM versions to ltsmaster (e.g., ltsmaster doesn't support new 
LLVM 8). 32-bit ltsmaster isn't able to compile current master, 
and principal compilability of master with the ltsmaster/2.068 
front-end and libs is also only possible due to some slight 
front-end adaptations (DMD requires 2.072 or so), whose number is 
only going to grow until it becomes totally infeasible.
In short, ltsmaster won't be able to bootstrap current LDC master 
forever, and I guess that point is reached pretty soon.


As to integrating the build-with-itself option in CMake, I'm 
definitely against increasing CMake complexity, as invoking CMake 
+ ninja/make twice is trivial and *way* more flexible.


And as to the 3 new dmd-testsuite tests using -lowmem, they are 
specifically there to check that the switch works, so if compiled 
with ltsmaster, they should fail to clearly indicate that the 
compiler isn't fully working due to an inadequate host compiler. 
If anyone doesn't care about that, the 3 files can simply be 
removed before running the tests.


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 final.
* Fixed beta1 regression: prebuilt Linux x86_64 package is 
usable with older linkers again (e.g., on Ubuntu 14.04).

* Fixed beta1 regression: dcompute is usable again.
* Prebuilt packages don't depend on libtinfo and libedit 
anymore.


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


Please help test, and thanks to all contributors!


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 in the long run but I wonder if that would 
not be better integrated into your cmake build via an option.

Otherwise the packagers out there need to do it for themselves.

[1] 
https://github.com/ldc-developers/dmd-testsuite/blob/ldc/runnable/xtest46_gc.d

https://github.com/ldc-developers/dmd-testsuite/blob/ldc/runnable/testptrref_gc.d
https://github.com/ldc-developers/dmd-testsuite/blob/ldc/fail_compilation/mixin_gc.d



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 package is usable 
with older linkers again (e.g., on Ubuntu 14.04).

* Fixed beta1 regression: dcompute is usable again.
* Prebuilt packages don't depend on libtinfo and libedit anymore.

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


Please help test, and thanks to all contributors!