From commits-return-6928-archive-asf-public=cust-asf.ponee.io@kudu.apache.org Mon Feb 4 18:17:59 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id C3729180651 for ; Mon, 4 Feb 2019 19:17:58 +0100 (CET) Received: (qmail 64509 invoked by uid 500); 4 Feb 2019 18:17:57 -0000 Mailing-List: contact commits-help@kudu.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@kudu.apache.org Delivered-To: mailing list commits@kudu.apache.org Received: (qmail 64500 invoked by uid 99); 4 Feb 2019 18:17:57 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Feb 2019 18:17:57 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id 50CA386274; Mon, 4 Feb 2019 18:17:57 +0000 (UTC) Date: Mon, 04 Feb 2019 18:17:57 +0000 To: "commits@kudu.apache.org" Subject: [kudu] branch master updated: KUDU-2411: macOS: Ship fewer deps with binary artifact MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-ID: <154930427728.1887.7696833481780924309@gitbox.apache.org> From: mpercy@apache.org X-Git-Host: gitbox.apache.org X-Git-Repo: kudu X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: ce653d465bc0f89a212de25280788d420d20f79d X-Git-Newrev: 47a96ae53f4aa712c6a79c04a54a442aeedc8d4d X-Git-Rev: 47a96ae53f4aa712c6a79c04a54a442aeedc8d4d X-Git-NotificationType: ref_changed_plus_diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated This is an automated email from the ASF dual-hosted git repository. mpercy pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/kudu.git The following commit(s) were added to refs/heads/master by this push: new 47a96ae KUDU-2411: macOS: Ship fewer deps with binary artifact 47a96ae is described below commit 47a96ae53f4aa712c6a79c04a54a442aeedc8d4d Author: Mike Percy AuthorDate: Sun Feb 3 13:42:54 2019 -0800 KUDU-2411: macOS: Ship fewer deps with binary artifact This patch removes some dependencies from the shipped binary artifact to address some ABI compatibility problems observed during testing. Change-Id: If7e7f8dac1e50a6300077296cea7928a1386e283 Reviewed-on: http://gerrit.cloudera.org:8080/12349 Tested-by: Kudu Jenkins Reviewed-by: Grant Henke Tested-by: Grant Henke --- .../relocate_binaries_for_mini_cluster.py | 29 ++++++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) diff --git a/build-support/mini-cluster/relocate_binaries_for_mini_cluster.py b/build-support/mini-cluster/relocate_binaries_for_mini_cluster.py index e5bb31e..736a419 100755 --- a/build-support/mini-cluster/relocate_binaries_for_mini_cluster.py +++ b/build-support/mini-cluster/relocate_binaries_for_mini_cluster.py @@ -61,8 +61,33 @@ PAT_LINUX_LIB_EXCLUDE = re.compile(r"""(libpthread| # We don't want to ship libSystem because it includes kernel and thread # routines that we assume may not be portable between macOS versions. -# TODO(mpercy): consider excluding libc++ as well. -PAT_MACOS_LIB_EXCLUDE = re.compile(r"libSystem") +# Also do not ship core libraries that come with the default macOS install +# unless we know that we need to for ABI reasons. +PAT_MACOS_LIB_EXCLUDE = re.compile(r"""(AppleFSCompression$| + CFNetwork$| + CoreFoundation$| + CoreServices$| + DiskArbitration$| + IOKit$| + Foundation$| + Security$| + SystemConfiguration$| + libCRFSuite| + libDiagnosticMessagesClient| + libSystem| + libapple_nghttp2| + libarchive| + libc\+\+| + libenergytrace| + libicucore| + libncurses| + libnetwork| + libobjc| + libresolv| + libsasl2| + libxar + )""", + re.VERBOSE) # Config keys. BUILD_ROOT = 'build_root'