summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2024-04-04 18:27:46 +0200
committerAlfredo Tupone <tupone@gentoo.org>2024-04-04 18:27:59 +0200
commit0396599c81e3c642c58fdfee91772c126d9f7060 (patch)
tree3fb4cbc226e1b160c6a35e1fd432477ad3c76af5 /sci-libs
parentapp-admin/syslog-ng: Stabilize 4.6.0 hppa, #924000 (diff)
downloadgentoo-0396599c81e3c642c58fdfee91772c126d9f7060.tar.gz
gentoo-0396599c81e3c642c58fdfee91772c126d9f7060.tar.bz2
gentoo-0396599c81e3c642c58fdfee91772c126d9f7060.zip
sci-libs/caffe2: disable py3.9
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/caffe2/caffe2-2.1.2-r7.ebuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/sci-libs/caffe2/caffe2-2.1.2-r7.ebuild b/sci-libs/caffe2/caffe2-2.1.2-r7.ebuild
index f57406145c6a..9fa0ecb0aa74 100644
--- a/sci-libs/caffe2/caffe2-2.1.2-r7.ebuild
+++ b/sci-libs/caffe2/caffe2-2.1.2-r7.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-PYTHON_COMPAT=( python3_{9..12} )
+PYTHON_COMPAT=( python3_{10..12} )
ROCM_VERSION=5.7
inherit python-single-r1 cmake cuda flag-o-matic prefix rocm
@@ -48,7 +48,7 @@ RDEPEND="
cuda? (
=dev-libs/cudnn-8*
>=dev-libs/cudnn-frontend-0.9.2:0/8
- dev-util/nvidia-cuda-toolkit:=[profiler]
+ <dev-util/nvidia-cuda-toolkit-12.4.0:=[profiler]
)
fbgemm? ( >=dev-libs/FBGEMM-2023.11.02 )
ffmpeg? ( media-video/ffmpeg:= )
@@ -97,8 +97,6 @@ DEPEND="
')
"
-S="${WORKDIR}"/${MYP}
-
PATCHES=(
"${FILESDIR}"/${PN}-2.1.1-gentoo.patch
"${FILESDIR}"/${PN}-1.13.0-install-dirs.patch
@@ -112,6 +110,8 @@ PATCHES=(
"${FILESDIR}"/${PN}-2.1.2-rocm-fix-std-cpp17.patch
)
+S="${WORKDIR}"/${MYP}
+
src_prepare() {
filter-lto #bug 862672
sed -i \