3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/compilers/llvm/3.9
Jörg Thalheim b6bacc4bb2 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
2017-06-20 10:22:06 +01:00
..
clang LLVM-3.9: Use nativeBuildInputs instead of buildPackages 2017-04-25 22:31:31 +00:00
libc++ LLVM: Fix licensing metadata, closes #22679. (#22681) 2017-02-11 23:13:29 +01:00
default.nix llvm: 3.9.0 -> 3.9.1 2016-12-28 12:56:55 -06:00
libc++abi.nix LLVM: Fix licensing metadata, closes #22679. (#22681) 2017-02-11 23:13:29 +01:00
lldb.nix LLVM: Fix licensing metadata, closes #22679. (#22681) 2017-02-11 23:13:29 +01:00
llvm-outputs.patch llvm-3.9: move shared libLLVM to a separate output 2016-09-24 18:32:45 +02:00
llvm.nix llvmPackage_{3.4,3.5,3.7,3.8,3.9}: fix output of llvm-config 2017-06-20 10:22:06 +01:00