Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: b6bacc4bb2e9cc1e8ee7c810e697e93439b83529
      
https://github.com/NixOS/nixpkgs/commit/b6bacc4bb2e9cc1e8ee7c810e697e93439b83529
  Author: Jörg Thalheim <jo...@thalheim.io>
  Date:   2017-06-20 (Tue, 20 Jun 2017)

  Changed paths:
    R pkgs/development/compilers/llvm/3.4/fix-llvm-config.patch
    M pkgs/development/compilers/llvm/3.4/llvm.nix
    M pkgs/development/compilers/llvm/3.5/llvm.nix
    R pkgs/development/compilers/llvm/3.7/fix-llvm-config.patch
    M pkgs/development/compilers/llvm/3.7/llvm.nix
    A pkgs/development/compilers/llvm/3.8/fix-llvm-config.patch
    M pkgs/development/compilers/llvm/3.8/llvm.nix
    M pkgs/development/compilers/llvm/3.9/llvm.nix
    A pkgs/development/compilers/llvm/fix-llvm-config.patch

  Log Message:
  -----------
  llvmPackage_{3.4,3.5,3.7,3.8,3.9}: fix output of llvm-config

llvm-config is a tool to output compile and linker flags, when compiling 
against llvm.

The tool however outputs static library names despite libllvm is build
as shared library on nixos. This was fixed for llvm 3.4, 3.5 and 3.7.

For llvm 3.8 and 3.9 it printed the library extension twice (.so.so).
This was fixed in 4.0 and the patch is backported to 3.8 and 3.9 in
this pull request.

```
$ for i in 34 35 37 38 39; do echo "\nllvm-$i"; nix-shell -p 
llvmPackages_$i.llvm --run 'llvm-config --libnames'; done

llvm-34
libLLVMInstrumentation.so libLLVMIRReader.so libLLVMAsmParser.so
...

llvm-35
libLLVMLTO.so libLLVMObjCARCOpts.so libLLVMLinker.so libLLVMipo.so
...

llvm-37
libLLVMLTO.so libLLVMObjCARCOpts.so libLLVMLinker.so libLLVMBitWriter.so
...

llvm-38
libLLVM-3.8.1.so

llvm-39
libLLVM-3.9.so
```

fixes #26713


_______________________________________________
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits

Reply via email to