diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2024-12-14 22:47:05 +0100 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2024-12-14 22:53:03 +0100 |
commit | f39688b685db9bff2eb391c9bcaa9f964cf6c022 (patch) | |
tree | f2d258f4e87afb08ad91bb47dfd19df223111067 /sci-libs | |
parent | app-emulation/cloud-init: add 24.4 (diff) | |
download | gentoo-f39688b685db9bff2eb391c9bcaa9f964cf6c022.tar.gz gentoo-f39688b685db9bff2eb391c9bcaa9f964cf6c022.tar.bz2 gentoo-f39688b685db9bff2eb391c9bcaa9f964cf6c022.zip |
sci-libs/caffe2: fix installed cmake files
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/caffe2/caffe2-2.5.1-r7.ebuild (renamed from sci-libs/caffe2/caffe2-2.5.1-r6.ebuild) | 9 |
1 files changed, 6 insertions, 3 deletions
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 } |