Merge pull request #107262 from midchildan/update/libtapi

libtapi: 1000.10.8 -> 1100.0.11
This commit is contained in:
Matthew Bauer 2020-12-30 14:37:10 -06:00 committed by GitHub
commit 90a8f69fac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "libtapi";
version = "1000.10.8"; # determined by looking at VERSION.txt
version = "1100.0.11"; # determined by looking at VERSION.txt
src = fetchFromGitHub {
owner = "tpoechtrager";
repo = "apple-libtapi";
rev = "3cb307764cc5f1856c8a23bbdf3eb49dfc6bea48";
sha256 = "1zb10p6xkls8x7wsdwgy9c0v16z97rfkgidii9ffq5rfczgvrhjh";
rev = "664b8414f89612f2dfd35a9b679c345aa5389026";
sha256 = "1y1yl46msabfy14z0rln333a06087bk14f5h7q1cdawn8nmvbdbr";
};
sourceRoot = "source/src/llvm";
@ -31,9 +31,9 @@ stdenv.mkDerivation rec {
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 ''
install_name_tool -id $out/lib/libtapi.dylib $out/lib/libtapi.dylib