Compilation stops with error httplib.h not found. After emerging dev-cpp/cpp-httplib-0.16.2 AND specifying -lcpp-httplib in section LINK_LIBRARIES for libtorch_cpu.so installation went smoothly. Reproducible: Always
I can confirm this. Thank you for the heads up about LINK_LIBRARIES for libtorch_cpu.so. It's a bother to have to manually change it and then do then ebuild merge manually, but it does work. Here is a (probably) duplicate issue https://bugs.gentoo.org/937788 about this as well.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c347f7335b65811fbf73dad70d68b84b6788b764 commit c347f7335b65811fbf73dad70d68b84b6788b764 Author: Alfredo Tupone <tupone@gentoo.org> AuthorDate: 2024-09-04 04:40:36 +0000 Commit: Alfredo Tupone <tupone@gentoo.org> CommitDate: 2024-09-04 04:58:52 +0000 sci-libs/caffe2: req cpp-httplib Closes: https://bugs.gentoo.org/937635 Closes: https://bugs.gentoo.org/937788 Signed-off-by: Alfredo Tupone <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(-)