From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 895A8158066 for ; Wed, 4 Sep 2024 05:02:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E1C2BE29FB; Wed, 4 Sep 2024 05:02:48 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C1D91E29FB for ; Wed, 4 Sep 2024 05:02:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CF02334300A for ; Wed, 4 Sep 2024 05:02:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3DA33BB4 for ; Wed, 4 Sep 2024 05:02:46 +0000 (UTC) From: "Alfredo Tupone" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alfredo Tupone" Message-ID: <1725425932.c347f7335b65811fbf73dad70d68b84b6788b764.tupone@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/caffe2/files/, sci-libs/caffe2/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-libs/caffe2/caffe2-2.4.0-r1.ebuild sci-libs/caffe2/caffe2-2.4.0.ebuild sci-libs/caffe2/files/caffe2-2.4.0-cpp-httplib.patch X-VCS-Directories: sci-libs/caffe2/files/ sci-libs/caffe2/ X-VCS-Committer: tupone X-VCS-Committer-Name: Alfredo Tupone X-VCS-Revision: c347f7335b65811fbf73dad70d68b84b6788b764 X-VCS-Branch: master Date: Wed, 4 Sep 2024 05:02:46 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c2b8e6a6-6e90-452d-a014-ad7a5e494ff6 X-Archives-Hash: 29d6998a51e235e76bdb4fceeba2cd02 commit: c347f7335b65811fbf73dad70d68b84b6788b764 Author: Alfredo Tupone gentoo org> AuthorDate: Wed Sep 4 04:40:36 2024 +0000 Commit: Alfredo Tupone gentoo org> CommitDate: Wed Sep 4 04:58:52 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c347f733 sci-libs/caffe2: req cpp-httplib Closes: https://bugs.gentoo.org/937635 Closes: https://bugs.gentoo.org/937788 Signed-off-by: Alfredo Tupone gentoo.org> .../caffe2/{caffe2-2.4.0.ebuild => caffe2-2.4.0-r1.ebuild} | 6 +++++- sci-libs/caffe2/files/caffe2-2.4.0-cpp-httplib.patch | 13 +++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/sci-libs/caffe2/caffe2-2.4.0.ebuild b/sci-libs/caffe2/caffe2-2.4.0-r1.ebuild similarity index 98% rename from sci-libs/caffe2/caffe2-2.4.0.ebuild rename to sci-libs/caffe2/caffe2-2.4.0-r1.ebuild index 81a8906ea669..d8e42de52185 100644 --- a/sci-libs/caffe2/caffe2-2.4.0.ebuild +++ b/sci-libs/caffe2/caffe2-2.4.0-r1.ebuild @@ -86,7 +86,10 @@ RDEPEND=" amdgpu_targets_gfx941? ( =sci-libs/hipBLASLt-6.1*[amdgpu_targets_gfx941] ) amdgpu_targets_gfx942? ( =sci-libs/hipBLASLt-6.1*[amdgpu_targets_gfx942] ) ) - distributed? ( sci-libs/tensorpipe[cuda?] ) + distributed? ( + sci-libs/tensorpipe[cuda?] + dev-cpp/cpp-httplib + ) xnnpack? ( >=sci-libs/XNNPACK-2024.02.29 ) mkl? ( sci-libs/mkl ) openblas? ( sci-libs/openblas ) @@ -122,6 +125,7 @@ PATCHES=( ../patches/${PN}-2.3.0-fix-rocm-gcc14-clamp.patch ../patches/${PN}-2.3.0-fix-libcpp.patch "${FILESDIR}"/${PN}-2.4.0-libfmt-11.patch + "${FILESDIR}"/${P}-cpp-httplib.patch ) src_prepare() { diff --git a/sci-libs/caffe2/files/caffe2-2.4.0-cpp-httplib.patch b/sci-libs/caffe2/files/caffe2-2.4.0-cpp-httplib.patch new file mode 100644 index 000000000000..5d684a4a4738 --- /dev/null +++ b/sci-libs/caffe2/files/caffe2-2.4.0-cpp-httplib.patch @@ -0,0 +1,13 @@ +--- a/torch/lib/libshm/CMakeLists.txt 2024-09-04 06:09:51.943752841 +0200 ++++ b/torch/lib/libshm/CMakeLists.txt 2024-09-04 06:10:52.243821438 +0200 +@@ -24,6 +24,10 @@ + CXX_STANDARD 17) + target_link_libraries(shm PRIVATE ${TORCH_CPU_LIB}) + ++if (USE_DISTRIBUTED) ++ target_link_libraries(shm PRIVATE cpp-httplib) ++endif() ++ + if(UNIX AND NOT APPLE) + include(CheckLibraryExists) + find_package(Threads REQUIRED)