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
