summaryrefslogtreecommitdiff
path: root/sci-libs/caffe2
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-12-15 02:02:03 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-12-15 02:02:03 +0000
commit16a4365c3b854e62b50726456ddb29bb78fd5038 (patch)
tree6de11adc70daeb6424485bb16be162d2cb277018 /sci-libs/caffe2
parent59d772d9463f8cf6a145a677bedbf377a0625aff (diff)
gentoo auto-resync : 15:12:2024 - 02:02:03
Diffstat (limited to 'sci-libs/caffe2')
-rw-r--r--sci-libs/caffe2/Manifest2
-rw-r--r--sci-libs/caffe2/caffe2-2.5.1-r7.ebuild (renamed from sci-libs/caffe2/caffe2-2.5.1-r6.ebuild)9
2 files changed, 7 insertions, 4 deletions
diff --git a/sci-libs/caffe2/Manifest b/sci-libs/caffe2/Manifest
index 011d2d908e4c..2d84fa7d26aa 100644
--- a/sci-libs/caffe2/Manifest
+++ b/sci-libs/caffe2/Manifest
@@ -16,5 +16,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-r6.ebuild 8566 BLAKE2B d3e7f873f62875fb999fc2474e8af71ffd7a86d7d89ab61849403f34c3cfda0e1485ed6129aedfb2a750c63a5d33c5b06c159918061ff3abae19f27d16ce55f1 SHA512 f3fc9d397a13cb75966cd5d57e9028463c98c1d1b5be4c3cf56bfa8c6aa5265d87cc1c3cf756e8d3c4cd9faf5d0409c68b4773316950dc906c5e7de38f038cbf
+EBUILD caffe2-2.5.1-r7.ebuild 8655 BLAKE2B d6ff077b69ba62b5e5c5d2c2b72c18f8125ba4f21d79fec139c0bedbdaf323adb8e3b1a904570fe30f73aa9e568ac3f368ac9f3855540d803e0e10b29ff58a61 SHA512 b78f8bf92a57a1dcb96cc4c07e79bc783e3d8afbeb2340ce8512aa7b9602361026257a82980baec8152d0f5e893f2b9cacd0384fcde44e88177099e9239d378f
MISC metadata.xml 1081 BLAKE2B 57800165612fd555263cab4cf0bb0521acd7d41f0023da501a50ccc5a479d25ad7087661a6eec500333c3cf9cc3a85d7be8e9385869c14d92f351d8d9df68556 SHA512 71cc785a5b1688b6a0ac971d31d5fa85bef86966aa80009c34e97caa385c81a7c2fb64ae34d0a39c21548d8238efd008da24bd838a47886bfa3f0d952246b76e
diff --git a/sci-libs/caffe2/caffe2-2.5.1-r6.ebuild b/sci-libs/caffe2/caffe2-2.5.1-r7.ebuild
index 42f843a02f98..8cb8a0b152fa 100644
--- a/sci-libs/caffe2/caffe2-2.5.1-r6.ebuild
+++ b/sci-libs/caffe2/caffe2-2.5.1-r7.ebuild
@@ -141,6 +141,12 @@ src_prepare() {
cmake/ProtoBuf.cmake \
aten/src/ATen/CMakeLists.txt \
|| die
+ # Change libc10* path
+ sed -i \
+ -e "/EXPORT/s|DESTINATION lib)|DESTINATION $(get_libdir))|" \
+ c10/cuda/CMakeLists.txt \
+ c10/CMakeLists.txt \
+ || die
cmake_src_prepare
pushd torch/csrc/jit/serialization || die
@@ -315,7 +321,4 @@ src_install() {
mv "${D}"/usr/$(get_libdir)/libtorch_global_deps.so \
"${D}"/$(python_get_sitedir)/torch/lib/ || die
-
- mv "${D}"/usr/lib/libc10*.so \
- "${D}"/usr/$(get_libdir)/ || die
}