From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DFE4D138350 for ; Sun, 1 Mar 2020 13:59:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D4660E0A6F; Sun, 1 Mar 2020 13:59:55 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B5C5AE0A6F for ; Sun, 1 Mar 2020 13:59:55 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BB47B34F149 for ; Sun, 1 Mar 2020 13:59:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6F7FC157 for ; Sun, 1 Mar 2020 13:59:52 +0000 (UTC) From: "Michael Orlitzky" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Orlitzky" Message-ID: <1583071114.01fa816214124421eb411b4fe0136af92cdc314a.mjo@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/gmp-ecm/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-mathematics/gmp-ecm/gmp-ecm-7.0.4-r2.ebuild X-VCS-Directories: sci-mathematics/gmp-ecm/ X-VCS-Committer: mjo X-VCS-Committer-Name: Michael Orlitzky X-VCS-Revision: 01fa816214124421eb411b4fe0136af92cdc314a X-VCS-Branch: master Date: Sun, 1 Mar 2020 13:59:52 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 9258aaf1-c708-4d88-bec3-44441b504e40 X-Archives-Hash: e809f59ef4d77f9263b36e2e71bf99bb commit: 01fa816214124421eb411b4fe0136af92cdc314a Author: Michael Orlitzky gentoo org> AuthorDate: Sun Mar 1 13:28:15 2020 +0000 Commit: Michael Orlitzky gentoo org> CommitDate: Sun Mar 1 13:58:34 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01fa8162 sci-mathematics/gmp-ecm: fix USE=custom-tune. I overzealously removed the series of steps needed to build gmp-ecm with custom parameters in the -r2. We need to build, find the custom parameters, and then build again to reap the benefits. I left a comment in the ebuild to explain that to other, future mes. Bug: https://bugs.gentoo.org/711078 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Michael Orlitzky gentoo.org> sci-mathematics/gmp-ecm/gmp-ecm-7.0.4-r2.ebuild | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/sci-mathematics/gmp-ecm/gmp-ecm-7.0.4-r2.ebuild b/sci-mathematics/gmp-ecm/gmp-ecm-7.0.4-r2.ebuild index 62d2aabe95e..fa9bae77856 100644 --- a/sci-mathematics/gmp-ecm/gmp-ecm-7.0.4-r2.ebuild +++ b/sci-mathematics/gmp-ecm/gmp-ecm-7.0.4-r2.ebuild @@ -26,6 +26,16 @@ pkg_pretend() { use openmp && tc-check-openmp } +src_compile() { + default + if use custom-tune; then + # One "emake" was needed to build the library. Now we can find + # the best set of parameters, and then run "emake" one more time + # to rebuild the library with the custom parameters. See the + # project's README or INSTALL-ecm + emake ecm-params && emake + fi +} src_configure() { econf \ --enable-shared \