Simplest way to just run std.socket unittest?
Thomas Mader
thomas.mader at gmail.com
Fri Dec 1 05:58:01 UTC 2017
On Thursday, 30 November 2017 at 08:19:56 UTC, Thomas Mader wrote:
> On Wednesday, 29 November 2017 at 22:25:24 UTC, kinke wrote:
>> On Wednesday, 29 November 2017 at 21:21:44 UTC, Thomas Mader
>> wrote:
>>> Maybe the llvm packages in Nixos have this file missing but
>>> since I don't know anything about llvm internals I can't tell.
>>> It seems strange though because I think a missing file should
>>> have been detected by other packages depending on LLVM.
>>> The build derivation for llvm 5 can be found under
>>> https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/compilers/llvm/5/llvm.nix though. Maybe there are some missing flags or something?
>>
>> Looks like it's missing but should be there. My manual LLVM
>> 5.0.0 build (no special flags) installs 26 files into
>> lib/cmake/llvm, incl. `LLVMConfig.cmake`. The nix script you
>> linked to touches at least one file in that directory:
>> https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/compilers/llvm/5/llvm.nix#L136
>
> It is in another directory. I might look into the llvm package
> to fix it but it's possible that it is intended this way.
> Fact is that there is a lib and a normal root dir for llvm.
> ldc finds the lib root dir but should find the normal one.
> It's normal for nix splitting stuff up that way but two lib
> dirs seem strange though.
llvm-config returns the wrong path with llvm-config --libdir on
NixOS/Nix.
I was able to fix/workaround it for now by disabling the setting
of the LLVM_LIBRARY_DIRS var in the cmake config and setting it
manually via cmake flag -DLLVM_LIBRARY_DIRS=<correct path to llvm
lib dir>
More information about the digitalmars-d-ldc
mailing list