diff options
author | Robin Gloster <mail@glob.in> | 2017-01-27 20:12:54 +0100 |
---|---|---|
committer | Robin Gloster <mail@glob.in> | 2017-01-27 20:12:54 +0100 |
commit | c67805ff17d4cedaa5fe9b159fd32a01bc81d5bc (patch) | |
tree | 33d537418c6a473a2936114ad9b723b45f75e9ac /pkgs/development/compilers/llvm/3.6/libc++abi.nix | |
parent | edef570ad722c5626536ce5d70be645186f78ba0 (diff) | |
download | nixlib-c67805ff17d4cedaa5fe9b159fd32a01bc81d5bc.tar nixlib-c67805ff17d4cedaa5fe9b159fd32a01bc81d5bc.tar.gz nixlib-c67805ff17d4cedaa5fe9b159fd32a01bc81d5bc.tar.bz2 nixlib-c67805ff17d4cedaa5fe9b159fd32a01bc81d5bc.tar.lz nixlib-c67805ff17d4cedaa5fe9b159fd32a01bc81d5bc.tar.xz nixlib-c67805ff17d4cedaa5fe9b159fd32a01bc81d5bc.tar.zst nixlib-c67805ff17d4cedaa5fe9b159fd32a01bc81d5bc.zip |
llvmPackages_36: remove
Diffstat (limited to 'pkgs/development/compilers/llvm/3.6/libc++abi.nix')
-rw-r--r-- | pkgs/development/compilers/llvm/3.6/libc++abi.nix | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/pkgs/development/compilers/llvm/3.6/libc++abi.nix b/pkgs/development/compilers/llvm/3.6/libc++abi.nix deleted file mode 100644 index 8979ce314c89..000000000000 --- a/pkgs/development/compilers/llvm/3.6/libc++abi.nix +++ /dev/null @@ -1,47 +0,0 @@ -{ stdenv, cmake, fetch, libcxx, libunwind, llvm, version }: - -stdenv.mkDerivation { - name = "libc++abi-${version}"; - - src = fetch "libcxxabi" "16xh54rlnbip4f2bwwbdm1sd6bkqky35jgp7fndnns0llpjqrd3g"; - - buildInputs = [ cmake ] ++ stdenv.lib.optional (!stdenv.isDarwin) libunwind; - - postUnpack = '' - unpackFile ${libcxx.src} - unpackFile ${llvm.src} - export NIX_CFLAGS_COMPILE+=" -I$PWD/include" - export cmakeFlags="-DLLVM_PATH=$PWD/$(ls -d llvm-*) -DLIBCXXABI_LIBCXX_INCLUDES=$PWD/$(ls -d libcxx-*)/include" - '' + stdenv.lib.optionalString stdenv.isDarwin '' - export TRIPLE=x86_64-apple-darwin - ''; - - installPhase = if stdenv.isDarwin - then '' - for file in lib/*; do - # this should be done in CMake, but having trouble figuring out - # the magic combination of necessary CMake variables - # if you fancy a try, take a look at - # http://www.cmake.org/Wiki/CMake_RPATH_handling - install_name_tool -id $out/$file $file - done - make install - install -d 755 $out/include - install -m 644 ../include/cxxabi.h $out/include - '' - else '' - install -d -m 755 $out/include $out/lib - install -m 644 lib/libc++abi.so.1.0 $out/lib - install -m 644 ../include/cxxabi.h $out/include - ln -s libc++abi.so.1.0 $out/lib/libc++abi.so - ln -s libc++abi.so.1.0 $out/lib/libc++abi.so.1 - ''; - - meta = { - homepage = http://libcxxabi.llvm.org/; - description = "A new implementation of low level support for a standard C++ library"; - license = "BSD"; - maintainers = with stdenv.lib.maintainers; [ vlstill ]; - platforms = stdenv.lib.platforms.unix; - }; -} |