summaryrefslogtreecommitdiff
path: root/sci-libs/caffe2
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-12-10 02:01:16 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-12-10 02:01:16 +0000
commit59437d191de3ff33f9bfa37f8656d849184fcaf0 (patch)
tree7d5e645c0aac6d8b71229a0e53d7a93136f83781 /sci-libs/caffe2
parent1a95f960273f276a4fdefb824336b073d83bcb5e (diff)
gentoo auto-resync : 10:12:2024 - 02:01:16
Diffstat (limited to 'sci-libs/caffe2')
-rw-r--r--sci-libs/caffe2/Manifest2
-rw-r--r--sci-libs/caffe2/caffe2-2.5.1-r5.ebuild (renamed from sci-libs/caffe2/caffe2-2.5.1-r4.ebuild)6
2 files changed, 6 insertions, 2 deletions
diff --git a/sci-libs/caffe2/Manifest b/sci-libs/caffe2/Manifest
index 3bb14d24c3f3..efd3fad16b5e 100644
--- a/sci-libs/caffe2/Manifest
+++ b/sci-libs/caffe2/Manifest
@@ -15,5 +15,5 @@ DIST pytorch-2.4.1.tar.gz 115029469 BLAKE2B c2909ff27d527bc57cba56b780d3b8cd07a0
DIST pytorch-2.5.1.tar.gz 116091366 BLAKE2B 7838b17562b94ffc7d798031348689db607dd5eae2a3c35be365972e2b52a2c1b12067068d5aca5ab00cf0977d9c2c3c9ae5337d69534c864c732e6256cbeef6 SHA512 a913a466324a65fa3d79c5e9ad4d605fc7976f0134fda2f81aaa3cea29d56926604999b8a238759646d211e63b47bbb446cdffa86ca8defd8159f11e30301289
EBUILD caffe2-2.4.0-r1.ebuild 8334 BLAKE2B d867632884fad33fb7c19344574ce30e70651474650b2f5a6e79576a7338e501989bc4628c1a04f2b2ebf3a611226df68892abdabf856ab74e67df85db74a9f0 SHA512 52e8c0e3535a1a8b90cce9143f4ff8da398de9119d2f23ffeeb0a419dadc29dae68f5e993b1a854066f63ed4809a41a98f098447e318252ff316e70fc6498b32
EBUILD caffe2-2.4.1-r4.ebuild 8557 BLAKE2B 2cefd7d0c818fb431b3eb6bc2be0a1b225790271b1108169256f8dccac99707fac3d36dc98b7e19a688c66053627d0a222d67e7f65eb6a600ed251677df5490a SHA512 ded17bc1e912f4691bfeee75c66676d331d03c21fe9c9c7416c874ef435e624bdc6109c128f0b5dbe9a5a5be81e648767c6020cd570b94e74f47061e5839f9b3
-EBUILD caffe2-2.5.1-r4.ebuild 8491 BLAKE2B 341529948a2f320d05a1125022849c6b2c39f5863ff9f34ac7321d9c2dffd160d4f5aa04ea2896c98760d8f6979d54613c43b7e3c031d07036e6423ee3c54b0a SHA512 7d486008b1288c0a24193eb02fe5e673e05be333832248cb2d3a2e0eb6c39c02ec6c80e3721a988e50bbe53fde8d4aee163b8219574571784a8f88dd153751be
+EBUILD caffe2-2.5.1-r5.ebuild 8621 BLAKE2B cfb136392f069316ae4f020360022f7560a12d9965efcd0ccae86aaab2e72cc33af60b1a5faf14550e41adc77b0a840e761563c23adeea6bbc1ce8e95af7ea9f SHA512 c1cff4b536f2de013c727d02c1795dc4825b8deac6e847ea70973da63cf9a9913459935c1e65186ccc702f455f7a266574ab8bed2d8e86ae4ed933895cfa8c0b
MISC metadata.xml 1081 BLAKE2B 57800165612fd555263cab4cf0bb0521acd7d41f0023da501a50ccc5a479d25ad7087661a6eec500333c3cf9cc3a85d7be8e9385869c14d92f351d8d9df68556 SHA512 71cc785a5b1688b6a0ac971d31d5fa85bef86966aa80009c34e97caa385c81a7c2fb64ae34d0a39c21548d8238efd008da24bd838a47886bfa3f0d952246b76e
diff --git a/sci-libs/caffe2/caffe2-2.5.1-r4.ebuild b/sci-libs/caffe2/caffe2-2.5.1-r5.ebuild
index c7ce5a4971d9..a6ed84f182da 100644
--- a/sci-libs/caffe2/caffe2-2.5.1-r4.ebuild
+++ b/sci-libs/caffe2/caffe2-2.5.1-r5.ebuild
@@ -115,7 +115,6 @@ DEPEND="
PATCHES=(
"${FILESDIR}"/${P}-unbundle_fmt.patch
"${FILESDIR}"/${P}-unbundle_kineto.patch
- "${FILESDIR}"/${P}-fix-functorch-install.patch
"${FILESDIR}"/${P}-cudnn_include_fix.patch
"${FILESDIR}"/${P}-gentoo.patch
"${FILESDIR}"/${PN}-2.4.0-cpp-httplib.patch
@@ -293,8 +292,13 @@ src_compile() {
src_install() {
cmake_src_install
+ # Used by pytorch ebuild
insinto "/var/lib/${PN}"
doins "${BUILD_DIR}"/CMakeCache.txt
+ mv "${D}${S}"/functorch/functorch.so \
+ "${D}"/var/lib/${PN}/functorch.so || die
+ rm -r "${D}"/var/tmp || die
+ dostrip -x /var/lib/${PN}/functorch.so
rm -rf python
mkdir -p python/torch || die