From patchwork Thu Sep 6 11:15:19 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 146077 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp372241ljw; Thu, 6 Sep 2018 04:15:46 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbHmvAJfo2lq/dNrOVWwjnj7Uvqdccqo9z+epqrqpNr+97HArdePw8/QDLoVh7XzyHLBHF7 X-Received: by 2002:a17:902:4a:: with SMTP id 68-v6mr2087519pla.276.1536232546770; Thu, 06 Sep 2018 04:15:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536232546; cv=none; d=google.com; s=arc-20160816; b=y34m4JHRjOT9YUbAKuVlxl7UAqalUoR+XEtmxiPI3m66e9HopsWhgxBsfT2clP//tR Sj1/w73SoR0POCuK/+dODBxX/XfoTKMikoHsNOZMhCkA31ESYP/++I6AY/XFrdfk0iy0 cBU2ful9VFCr8jsO5Spg3bKMa7rPXNTt58GtGn2gNqbl+I74NDfl9G+YoYStVhLyn4jx 2lF1iTf+uHZ3H4MczWdjgNIse8MWmpRra9XD0U3qctCm8ujhgsQ1aqCz+z6B45gmR6Lk D0bNGbWCK/RnVcCkdTKJUofGWBIA1wLUjPGD1mLgtaF+7ISe0/8OiXgTaIVzOSnPHdax T4rQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to; bh=iLeWRutRyKV+CfhBRGzf9pJJ7S9pBV+Js3WlrKjl1os=; b=MNUYNykDSLpBEX/FcbAcOWxEqxwuoJj3kDc5JOiPiGGSbCOXaO033Onbzl6nrx+Ldn RLWrOllL3mWd2BNwc3kdtkkQYGv/PunxA3aunEo0kIuHq+wi573FJj+DJxvWAPQHxzfK OV69un52MfnTLiRI6GU1cFoBru4R8w2QANt5yOJm8c+59oJSQ9F8TF/QpF/ZHdD3Tmyg 5Hh8OaFiZKZ7oi1lUFlnEpJTihnD1jYFYV0jx82ks96Y2E6G4cPmTtsbnHkONRnVZJAP 4m2bOsrjeBNvNxrSk5PwvchsppvhYyLrENs/aStW9AojIQzra6eWFLJ9DC4TuAW4esV0 DrWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=OIIfEDjW; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id w16-v6si5059853pgj.61.2018.09.06.04.15.46; Thu, 06 Sep 2018 04:15:46 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=OIIfEDjW; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 380127966A; Thu, 6 Sep 2018 11:15:39 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-wr1-f65.google.com (mail-wr1-f65.google.com [209.85.221.65]) by mail.openembedded.org (Postfix) with ESMTP id E0C95795CF for ; Thu, 6 Sep 2018 11:15:27 +0000 (UTC) Received: by mail-wr1-f65.google.com with SMTP id j26-v6so10979179wre.2 for ; Thu, 06 Sep 2018 04:15:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:in-reply-to:references; bh=zmCy05G6bh9EjY4CzZGNN8rwPN/nTN+kZ5rmBpaiJoM=; b=OIIfEDjWZyar+sOACsadX34HOtq0Dxx4UxG3bUte265/UekwfhW6K5qrqoe4yGhqer ii0ulvDXAHbrNGElp9oAVM42redt0e9wJIwkacq0T7qsbiF6JAHqBAdB2I8wJOGkKN19 96+g4FmQgzbNmBRqm9lXyFdD6+6QlOvIRXLc5XLlMG8D9QfTz6ZScP/DkaQhH0gaVBzx PaxVRQsU+sOAuJISe+LXtJ9RJcgVn2IQcMvJQ2n0tfy4Ea4h68lIYWDDeXYv9myP4b+8 NlAquCrUhWHRETHt/iFWKLhx4fJ7MxjmbtA55Y9jFGPCYPQiEXA9LBn+3Q4Jy8kmzXyA RViw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=zmCy05G6bh9EjY4CzZGNN8rwPN/nTN+kZ5rmBpaiJoM=; b=A3zdcMzM044Jfxu9zJMjLvclVHdZ20q/m9uTTPdurR4aSQyXoKEDF8wH0QMoK6IEiC YejThGx1O5F9cqh/svZTURAUkPZKE7JfUeHRUIaHbvID0jODTVbo9q2Zj3BHHj90vkJo J9UCbqeaFxGNbQGHms0ifToOfnXcfhjWAolRsXf5cImIjBIXLv0HImk5IjJCHyf7A89Y EQmaiHbCOjbYYrEeLTHtEvX3HucYbVTgh+YpLjehJ77vaQmlEsPEMyLc4UVV7UTz1ik/ j/EatVbkQbE0RJA0it2fjDELzZkO9RcE90OVxBTcTbpNNh/BvGneNxULRRPyUDozlK7L E/Tw== X-Gm-Message-State: APzg51CpVnFSE1Q8c8Xo1E4wpA0tkNY6r3QBN+TpCmHBOG/pnVIEAlPD z/IBjrtrBx4XNKmN4WmhIw4JA8yuVP8= X-Received: by 2002:adf:9051:: with SMTP id h75-v6mr2067206wrh.65.1536232528156; Thu, 06 Sep 2018 04:15:28 -0700 (PDT) Received: from flashheart.burtonini.com (35.106.2.81.in-addr.arpa. [81.2.106.35]) by smtp.gmail.com with ESMTPSA id f6-v6sm5519173wrr.68.2018.09.06.04.15.26 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 06 Sep 2018 04:15:27 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Date: Thu, 6 Sep 2018 12:15:19 +0100 Message-Id: <20180906111521.20997-3-ross.burton@intel.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180906111521.20997-1-ross.burton@intel.com> References: <20180906111521.20997-1-ross.burton@intel.com> Subject: [OE-core] [PATCH 3/5] python3: trim PGO patch X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org There's no need to delete the line that removes the profile data, as we're not using it after the build. This reduces the size of the patch, making it easier to maintain. Signed-off-by: Ross Burton --- .../0002-Makefile-add-target-to-split-profile-generation.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.11.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-devtools/python/python3/0002-Makefile-add-target-to-split-profile-generation.patch b/meta/recipes-devtools/python/python3/0002-Makefile-add-target-to-split-profile-generation.patch index bb01c5bcb46..2b4ba316e45 100644 --- a/meta/recipes-devtools/python/python3/0002-Makefile-add-target-to-split-profile-generation.patch +++ b/meta/recipes-devtools/python/python3/0002-Makefile-add-target-to-split-profile-generation.patch @@ -19,7 +19,7 @@ diff --git a/Makefile.pre.in b/Makefile.pre.in index 84bc3ff..017a2c4 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in -@@ -469,13 +469,11 @@ profile-opt: +@@ -469,13 +469,12 @@ profile-opt: $(MAKE) profile-removal $(MAKE) build_all_generate_profile $(MAKE) profile-removal @@ -31,7 +31,7 @@ index 84bc3ff..017a2c4 100644 @echo "Rebuilding with profile guided optimizations:" $(MAKE) clean $(MAKE) build_all_use_profile -- $(MAKE) profile-removal + $(MAKE) profile-removal build_all_generate_profile: $(MAKE) @DEF_MAKE_RULE@ CFLAGS_NODIST="$(CFLAGS) $(EXTRA_CFLAGS) $(PGO_PROF_GEN_FLAG) @LTOFLAGS@" LDFLAGS="$(LDFLAGS) $(PGO_PROF_GEN_FLAG) @LTOFLAGS@" LIBS="$(LIBS)"