diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-02-28 22:05:06 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-02-28 22:05:06 +0000 |
commit | 5df0c8ba4bb09f65c6cfb7d67dead00d6b2a1bf9 (patch) | |
tree | ad139c5164214ddcb3471af11b3bbba70e031e24 /sci-libs | |
parent | 158e7d0067767d034ef3a86a07afbf5bb9bf579f (diff) |
gentoo auto-resync : 28:02:2023 - 22:05:06
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/Manifest.gz | bin | 43599 -> 43599 bytes | |||
-rw-r--r-- | sci-libs/caffe2/Manifest | 5 | ||||
-rw-r--r-- | sci-libs/caffe2/caffe2-1.13.1-r4.ebuild (renamed from sci-libs/caffe2/caffe2-1.13.1-r3.ebuild) | 7 | ||||
-rw-r--r-- | sci-libs/caffe2/files/caffe2-1.13.1-tensorpipe.patch | 10 | ||||
-rw-r--r-- | sci-libs/caffe2/metadata.xml | 1 |
5 files changed, 19 insertions, 4 deletions
diff --git a/sci-libs/Manifest.gz b/sci-libs/Manifest.gz Binary files differindex 9c401804e590..e2ccfcdb254a 100644 --- a/sci-libs/Manifest.gz +++ b/sci-libs/Manifest.gz diff --git a/sci-libs/caffe2/Manifest b/sci-libs/caffe2/Manifest index 72f0871a8d75..7794d3667c05 100644 --- a/sci-libs/caffe2/Manifest +++ b/sci-libs/caffe2/Manifest @@ -2,6 +2,7 @@ AUX caffe2-1.12.0-clang.patch 1727 BLAKE2B 04f3b63dde1da4670e762fb5c9127edd88c0b AUX caffe2-1.12.0-glog-0.6.0.patch 959 BLAKE2B eb0c18a34a2c5a1b68a420b9001eac5c8ff65ef9ca9ea1e5ad93ecef3cbaa595808105bbf6c8d3dcb9047559d23bc0398cda5922fb41e29a7588644c90c90fd8 SHA512 5873f11930ae5947c7dfbb19d0377d5535e395fcc1ab213e3c65c77b2e3bd911efc11cde2ca3e7134e9e7798ca7a483910113f331c0a23b73a5546aaaded40c5 AUX caffe2-1.13.0-gentoo.patch 8000 BLAKE2B a11a6bccac970ce8658041db20f90814183a8eef45571565512bafa9f172348f08ccdb67f5e543c8f9e236a6283f2d50a608cfc671e18886319a82dc84cd95e5 SHA512 20a43490cb80174fc688f7a773ac332362a5a013885a7cfdfdfe89996bc3e2483ad4b29149d71730213174d27d8534707813e825bdf4ea3e3bc7b664bad39953 AUX caffe2-1.13.0-install-dirs.patch 5737 BLAKE2B 10b10e3a29976344c7596e1c4e7a604856c66d91cb7518308422f7ffac82ffe183dc81becab27866814c06e321e97458ab6a6908aa01379299c7fdf8fdccf153 SHA512 1e2e4f646cec24b5373872865522a909d1c154623e232c06e3da361e4d29b8d7520c446f53fbf42aab5f00bab05d1f278ce9425e506a9a5ac73cbb10570bd325 +AUX caffe2-1.13.1-tensorpipe.patch 374 BLAKE2B 46d45aae88f99c213f0da039bad5aa0c470a6c505ed1d28088ecb8dd445547e52a6d2c087c52c15b20da31808cd9213c1e672880e9bf4afe9c487358b4d4cd9d SHA512 d7315408b3ad4630715c18fff853b07e589ae78f5fcc8eef7f8791202fca459a3b23481856a50a5d432aec26482eb33adf37ba0a37d45f719ceb29081449345d DIST pytorch-1.13.1.tar.gz 108279745 BLAKE2B 75de03b74dfdaf8d8fb5ea743fcc0c1b0e408a714ad4160c487921220a7b1755e5fa6e587e6bbc8c9f34dd75e096d2e6dd69c80d24821835fff6c833314434d3 SHA512 f16f89d027efade11d057245cad5b69a390e88b458398310ae30de2dbff7c8fd7f1165be7b8da7ea989c81ac3f5a66c5cb9050610e441a97c83fb8aa28c0bd62 -EBUILD caffe2-1.13.1-r3.ebuild 4817 BLAKE2B 55554f64cd8a95fb67a36524dba2c9f3ef31f0cfc20108b76ce9012a15f1046c99a4af78236339bbe2f6348886073c29301072c8f5e5242bc5763e74ff56155d SHA512 0873a899c7b4832997acd294e3a46a78007eaeb43c53f6679804ffc201489f0a37db65b626bc2dd2564ef0b4924672770cc860d8455cf2110d98a0f82bfcff8f -MISC metadata.xml 1028 BLAKE2B 7b98f48c3ae2e16411d70a9b23aeddd6d06972332429fea861790aef53549b53fcff06ab504cacfccc5760abe42ca1ebf4f6fa5639077fb5efbfbd21d02f0660 SHA512 49a1b692b75b5f3c98d8b952a51a366ca2e2ead61cfa9cb9383cd5273c516daead1d0ccf4719443e082d1526573aa7d0667f4e4043db00a0d76c0feb20071014 +EBUILD caffe2-1.13.1-r4.ebuild 4946 BLAKE2B e93912050e6c48b728e20d2bc6a156f1973ecaad76f60faf8a0da9405c8886146d1bf9658713dece1b267331f9aec79fd02472a7b6e4423c3bb780e9d2ac9589 SHA512 32d692501a6102807821cc30f34f3aaf793364e8065a31e345b2a740a8b5cd35ce5e457bd96bd41162e731c0004c12123068bd2357be051a0c59bfd88b8aa4e0 +MISC metadata.xml 1076 BLAKE2B e1128f64fe04ef1af67219ffa450f52dadf3e4062b0e9e958c41555acc390966945c431b589181101d3366f9d474605ea48f8b332a2f6ff49a9eb1a9a79a1a37 SHA512 3fc9df5640bd5239cf3e738ca248d6de4be84fac667b1a33484dd572377c02debac29aea369c048cb5bd907209071339e1ff0d2d1d1bb94c12b97a481f8b257d diff --git a/sci-libs/caffe2/caffe2-1.13.1-r3.ebuild b/sci-libs/caffe2/caffe2-1.13.1-r4.ebuild index 04521a5c26ef..9411531dd1ec 100644 --- a/sci-libs/caffe2/caffe2-1.13.1-r3.ebuild +++ b/sci-libs/caffe2/caffe2-1.13.1-r4.ebuild @@ -17,12 +17,13 @@ SRC_URI="https://github.com/pytorch/${MYPN}/archive/refs/tags/v${PV}.tar.gz LICENSE="BSD" SLOT="0" KEYWORDS="~amd64" -IUSE="cuda distributed ffmpeg mpi nnpack +numpy opencl opencv openmp qnnpack xnnpack" +IUSE="cuda distributed ffmpeg mpi nnpack +numpy opencl opencv openmp qnnpack tensorpipe xnnpack" RESTRICT="test" REQUIRED_USE=" ${PYTHON_REQUIRED_USE} ffmpeg? ( opencv ) mpi? ( distributed ) + tensorpipe? ( distributed ) " # ?? ( cuda rocm ) # CUDA 12 not supported yet: https://github.com/pytorch/pytorch/issues/91122 @@ -52,6 +53,7 @@ RDEPEND=" opencl? ( virtual/opencl ) opencv? ( media-libs/opencv:= ) qnnpack? ( sci-libs/QNNPACK ) + tensorpipe? ( sci-libs/tensorpipe ) xnnpack? ( sci-libs/XNNPACK ) " DEPEND=" @@ -77,6 +79,7 @@ PATCHES=( "${FILESDIR}"/${PN}-1.13.0-install-dirs.patch "${FILESDIR}"/${PN}-1.12.0-glog-0.6.0.patch "${FILESDIR}"/${PN}-1.12.0-clang.patch + "${FILESDIR}"/${P}-tensorpipe.patch ) src_prepare() { @@ -127,6 +130,7 @@ src_configure() { -DUSE_QNNPACK=$(usex qnnpack) -DUSE_XNNPACK=$(usex xnnpack) -DUSE_SYSTEM_XNNPACK=$(usex xnnpack) + -DUSE_TENSORPIPE=$(usex tensorpipe) -DUSE_PYTORCH_QNNPACK=OFF -DUSE_NUMPY=$(usex numpy) -DUSE_OPENCL=$(usex opencl) @@ -147,7 +151,6 @@ src_configure() { -DUSE_SYSTEM_GLOO=ON -DUSE_SYSTEM_ONNX=ON -DUSE_SYSTEM_SLEEF=ON - -DUSE_TENSORPIPE=OFF -Wno-dev -DTORCH_INSTALL_LIB_DIR="${EPREFIX}"/usr/$(get_libdir) diff --git a/sci-libs/caffe2/files/caffe2-1.13.1-tensorpipe.patch b/sci-libs/caffe2/files/caffe2-1.13.1-tensorpipe.patch new file mode 100644 index 000000000000..ae0cac9fb947 --- /dev/null +++ b/sci-libs/caffe2/files/caffe2-1.13.1-tensorpipe.patch @@ -0,0 +1,10 @@ +--- a/cmake/Dependencies.cmake 2023-02-28 14:14:49.099057348 +0100 ++++ b/cmake/Dependencies.cmake 2023-02-28 14:15:05.326790806 +0100 +@@ -1404,7 +1404,6 @@ + + # Tensorpipe uses cuda_add_library + torch_update_find_cuda_flags() +- add_subdirectory(${PROJECT_SOURCE_DIR}/third_party/tensorpipe) + + list(APPEND Caffe2_DEPENDENCY_LIBS tensorpipe) + if(USE_CUDA) diff --git a/sci-libs/caffe2/metadata.xml b/sci-libs/caffe2/metadata.xml index f009baee81bb..531b9cbf5879 100644 --- a/sci-libs/caffe2/metadata.xml +++ b/sci-libs/caffe2/metadata.xml @@ -19,6 +19,7 @@ <flag name="opencv">Add support for image processing operators</flag> <flag name="openmp">Use OpenMP for parallel code</flag> <flag name="qnnpack">Use QNNPACK</flag> + <flag name="tensorpipe">Use tensorpipe</flag> <flag name="xnnpack">Use XNNPACK</flag> </use> <upstream> |