commit:     8421c4fe18a390589e1e2fb9bc51c556054826b4
Author:     Paul Zander <negril.nx+gentoo <AT> gmail <DOT> com>
AuthorDate: Wed Jan 28 15:10:46 2026 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Wed Jan 28 17:39:42 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8421c4fe

sci-ml/caffe2: 2.10.0 avoid operation on bundled fbgemm

`third_party/fbgemm` is empty. Passing `FBCODE_BUILD_TOOL="buck"` avoids
appending the non-existant files to the hipify call.

Closes: https://bugs.gentoo.org/969312
Signed-off-by: Paul Zander <negril.nx+gentoo <AT> gmail.com>
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 sci-ml/caffe2/caffe2-2.10.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-ml/caffe2/caffe2-2.10.0.ebuild 
b/sci-ml/caffe2/caffe2-2.10.0.ebuild
index c95b5716ae7f..60f215ab2c7a 100644
--- a/sci-ml/caffe2/caffe2-2.10.0.ebuild
+++ b/sci-ml/caffe2/caffe2-2.10.0.ebuild
@@ -255,7 +255,7 @@ src_prepare() {
                sed -e 's/gloo_hiop/gloo_hip/' -i cmake/Modules/FindGloo.cmake 
|| die
 
                ebegin "HIPifying cuda sources"
-               ${EPYTHON} tools/amd_build/build_amd.py || die
+               FBCODE_BUILD_TOOL="buck" ${EPYTHON} 
tools/amd_build/build_amd.py || die
                eend $?
        fi
 }

Reply via email to