From: "Andrew Ammerlaan" <andrewammerlaan@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/pytorch/
Date: Fri, 14 Jan 2022 15:21:50 +0000 (UTC) [thread overview]
Message-ID: <1642173592.17596353d6219013a251b16c096aae3f42c90ac0.andrewammerlaan@gentoo> (raw)
commit: 17596353d6219013a251b16c096aae3f42c90ac0
Author: Antonin Riha <antonin.riha <AT> bluedynamic <DOT> cz>
AuthorDate: Fri Jan 14 14:52:19 2022 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Fri Jan 14 15:19:52 2022 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=17596353
Fixed thrust include path for rocm platform
Signed-off-by: Antonín Říha <riha.antonin <AT> outlook.com>
Closes: https://github.com/gentoo/sci/pull/1133
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
sci-libs/pytorch/pytorch-1.10.1.ebuild | 1 +
1 file changed, 1 insertion(+)
diff --git a/sci-libs/pytorch/pytorch-1.10.1.ebuild b/sci-libs/pytorch/pytorch-1.10.1.ebuild
index 948d595a7..59947e530 100644
--- a/sci-libs/pytorch/pytorch-1.10.1.ebuild
+++ b/sci-libs/pytorch/pytorch-1.10.1.ebuild
@@ -230,6 +230,7 @@ src_prepare() {
export PYTORCH_ROCM_ARCH="${AMDGPU_TARGETS}"
sed -e "/set(roctracer_INCLUDE_DIRS/s,\${ROCTRACER_PATH}/include,${EPREFIX}/usr/include/roctracer," \
-e "/PYTORCH_HIP_HCC_LIBRARIES/s,\${HIP_PATH}/lib,${EPREFIX}/usr/lib/hip/lib," \
+ -e "/set(roctracer_INCLUDE_DIRS/a\ set(thrust_INCLUDE_DIRS ${EPREFIX}/usr/include/rocthrust)" \
-e "s,\${ROCTRACER_PATH}/lib,${EPREFIX}/usr/lib64/roctracer," \
-e "/READ.*\.info\/version-dev/c\ set(ROCM_VERSION_DEV_RAW ${ROCM_VERSION})" \
-i cmake/public/LoadHIP.cmake || die
next reply other threads:[~2022-01-14 15:21 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-14 15:21 Andrew Ammerlaan [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-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-12-20 13:02 Benda XU
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=1642173592.17596353d6219013a251b16c096aae3f42c90ac0.andrewammerlaan@gentoo \
--to=andrewammerlaan@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