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 8672A1382C5 for ; Sun, 20 Dec 2020 13:02:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B27C2E086C; Sun, 20 Dec 2020 13:02:47 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 9DCE7E086C for ; Sun, 20 Dec 2020 13:02:47 +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 6F92A341080 for ; Sun, 20 Dec 2020 13:02:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D4EB3CA for ; Sun, 20 Dec 2020 13:02:44 +0000 (UTC) From: "Benda XU" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Benda XU" Message-ID: <1608469295.f66ac0c6904b9f69ec44eb9b368c9e754b1b26e1.heroxbd@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/pytorch/ X-VCS-Repository: proj/sci X-VCS-Files: sci-libs/pytorch/pytorch-1.6.0-r1.ebuild X-VCS-Directories: sci-libs/pytorch/ X-VCS-Committer: heroxbd X-VCS-Committer-Name: Benda XU X-VCS-Revision: f66ac0c6904b9f69ec44eb9b368c9e754b1b26e1 X-VCS-Branch: master Date: Sun, 20 Dec 2020 13:02:44 +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: 495dd2db-f670-4b18-b5c6-6b3a94ffbe6c X-Archives-Hash: cae0e8b842d236a344bfecab48f132d0 commit: f66ac0c6904b9f69ec44eb9b368c9e754b1b26e1 Author: Benda Xu gentoo org> AuthorDate: Sun Dec 20 13:01:27 2020 +0000 Commit: Benda XU gentoo org> CommitDate: Sun Dec 20 13:01:35 2020 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=f66ac0c6 sci-libs/pytorch: migrate from cmake-utils to cmake. Suggested-by: kenshin33, Hendrik Klug gmail.com> Closes: https://github.com/gentoo/sci/issues/992 Closes: https://bugs.gentoo.org/755101 Closes: https://bugs.gentoo.org/754342 Package-Manager: Portage-3.0.12, Repoman-3.0.1 Signed-off-by: Benda Xu gentoo.org> sci-libs/pytorch/pytorch-1.6.0-r1.ebuild | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/sci-libs/pytorch/pytorch-1.6.0-r1.ebuild b/sci-libs/pytorch/pytorch-1.6.0-r1.ebuild index 0708ef6d3..807308c4e 100644 --- a/sci-libs/pytorch/pytorch-1.6.0-r1.ebuild +++ b/sci-libs/pytorch/pytorch-1.6.0-r1.ebuild @@ -125,7 +125,8 @@ src_unpack() { } src_prepare() { - cmake-utils_src_prepare + cmake_src_prepare + eapply_user mv -v third_party/miniz-* ../ || die rm -r third_party || die @@ -216,7 +217,7 @@ src_configure() { -DBLAS=${blas} ) - cmake-utils_src_configure + cmake_src_configure if use python; then CMAKE_BUILD_DIR="${BUILD_DIR}" distutils-r1_src_configure @@ -227,7 +228,7 @@ src_configure() { } src_compile() { - cmake-utils_src_compile + cmake_src_compile if use python; then CMAKE_BUILD_DIR=${BUILD_DIR} distutils-r1_src_compile @@ -235,7 +236,7 @@ src_compile() { } src_install() { - cmake-utils_src_install + cmake_src_install local LIB=$(get_libdir) if [[ ${LIB} != lib ]]; then