libtapi: 1000.10.8 -> 1100.0.11

closes #106348
This commit is contained in:
midchildan 2020-12-08 21:06:51 +09:00
parent bb2a7b9439
commit 10e8c6d323
No known key found for this signature in database
GPG key ID: D9A5748BACC6E3C2

View file

@ -2,13 +2,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "libtapi"; pname = "libtapi";
version = "1000.10.8"; # determined by looking at VERSION.txt version = "1100.0.11"; # determined by looking at VERSION.txt
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "tpoechtrager"; owner = "tpoechtrager";
repo = "apple-libtapi"; repo = "apple-libtapi";
rev = "3cb307764cc5f1856c8a23bbdf3eb49dfc6bea48"; rev = "664b8414f89612f2dfd35a9b679c345aa5389026";
sha256 = "1zb10p6xkls8x7wsdwgy9c0v16z97rfkgidii9ffq5rfczgvrhjh"; sha256 = "1y1yl46msabfy14z0rln333a06087bk14f5h7q1cdawn8nmvbdbr";
}; };
sourceRoot = "source/src/llvm"; sourceRoot = "source/src/llvm";
@ -31,9 +31,9 @@ stdenv.mkDerivation rec {
cmakeFlagsArray+=(-DCMAKE_CXX_FLAGS="$INCLUDE_FIX") cmakeFlagsArray+=(-DCMAKE_CXX_FLAGS="$INCLUDE_FIX")
''; '';
buildFlags = [ "clangBasic" "libtapi" ]; buildFlags = [ "clangBasic" "libtapi" "tapi" ];
installTargets = [ "install-libtapi" "install-tapi-headers" ]; installTargets = [ "install-libtapi" "install-tapi-headers" "install-tapi" ];
postInstall = lib.optionalString stdenv.isDarwin '' postInstall = lib.optionalString stdenv.isDarwin ''
install_name_tool -id $out/lib/libtapi.dylib $out/lib/libtapi.dylib install_name_tool -id $out/lib/libtapi.dylib $out/lib/libtapi.dylib