April 11, 2017
On Tuesday, 11 April 2017 at 07:34:58 UTC, Russel Winder wrote:
> On Mon, 2017-04-10 at 12:41 +0000, Matthias Klumpp via Digitalmars-d- announce wrote:
>> 
> […]
>> I am not buying the necessity of not-splitbuilding for optimizations yet. If that would be the case, how do optimizations work with projects using GCC/Clang where splitbuilding is the default and often only option (like Mesa, Linux, lots of scientific stuff).
> […]
>
> It seems that unit-threaded cannot be built module at a time due to various reflection bits, the only solution is all source at once.

That's correct - __traits(getUnitTests) is broken unless compiling all at once which is extremely unfortunate. I've filed a dmd bug already. It's been on my TODO list for a while to fix it myself.

Atila
April 11, 2017
On 04/11/2017 09:44 AM, Atila Neves wrote:
> That's correct - __traits(getUnitTests) is broken unless compiling all at once which is extremely unfortunate. I've filed a dmd bug already. It's been on my TODO list for a while to fix it myself.

[Issue 16995 – __traits(getUnittests) doesn't work with separate
compilation](https://issues.dlang.org/show_bug.cgi?id=16995)

Somewhat similar to

[Issue 14894 – mangling of mixins and lambdas is not unique and depends on compilation flags](https://issues.dlang.org/show_bug.cgi?id=14894)

Backlog Card: https://trello.com/c/YuW4JycJ/36-mangling-of-mixins-and-lambdas-can-change-w-unittest-or-other-versions

May 07, 2017
This looks very nice, but I'm having trouble getting it to work on Windows with DMD.

What static linker are you using? DmdDCompiler is defined to need one,
but the code in detect_static_linker expects the linker to support the "--version" command-line parameter (or "/?" if the linker is named "lib" or "lib.exe").

DMD's "lib.exe" doesn't support "--version" or "/?".
I suspect this is what I should be pointing it to, but the term "static linker" confuses me - maybe I want to be pointing it to "link.exe".
DMD's "link.exe" doesn't support "--version" but does support "/?".

I can hack around this, but I'm wondering why I'm alone in encountering this.
Thanks!
May 08, 2017
Btw, to make Meson and other build systems work really well, we would need this bug fixed in DMDFE: https://issues.dlang.org/show_bug.cgi?id=16746
At the moment, one needs to ninja clean way too often to get a good build.

1 2 3
Next ›   Last »