public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Benda XU" <heroxbd@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/pytorch/
Date: Sun, 20 Dec 2020 13:02:44 +0000 (UTC)	[thread overview]
Message-ID: <1608469295.f66ac0c6904b9f69ec44eb9b368c9e754b1b26e1.heroxbd@gentoo> (raw)

commit:     f66ac0c6904b9f69ec44eb9b368c9e754b1b26e1
Author:     Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 20 13:01:27 2020 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> 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 <hendrik.klug <AT> 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 <heroxbd <AT> 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


             reply	other threads:[~2020-12-20 13:02 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-20 13:02 Benda XU [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-02-24 21:18 [gentoo-commits] proj/sci:master commit in: sci-libs/pytorch/ Andrew Ammerlaan
2022-01-18 19:50 Horea Christian
2022-01-18 18:58 Horea Christian
2022-01-14 15:21 Andrew Ammerlaan
2022-01-12 11:51 Andrew Ammerlaan
2021-12-26 14:43 Andrew Ammerlaan
2021-12-22 14:33 Andrew Ammerlaan
2021-12-22 14:33 Andrew Ammerlaan
2021-12-22 14:33 Andrew Ammerlaan
2021-12-22 14:33 Andrew Ammerlaan
2021-12-22 14:33 Andrew Ammerlaan
2021-12-22 14:33 Andrew Ammerlaan
2021-12-22 14:33 Andrew Ammerlaan
2021-07-20  9:54 Andrew Ammerlaan
2021-04-20 15:41 Aisha Tammy
2021-01-24 13:56 Andrew Ammerlaan
2021-01-15 20:09 Andrew Ammerlaan
2021-01-12 10:13 Andrew Ammerlaan
2021-01-12 10:07 Andrew Ammerlaan
2020-11-08 15:25 Benda XU
2020-10-26  0:36 Aisha Tammy
2020-09-14  9:12 Benda XU
2020-08-11 13:44 Benda XU
2020-06-14  2:02 Benda XU

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1608469295.f66ac0c6904b9f69ec44eb9b368c9e754b1b26e1.heroxbd@gentoo \
    --to=heroxbd@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox