Skip to content

Commit fce2de9

Browse files
committed
python3-pytorch: Build with vendored gloo
With -DUSE_SYSTEM_GLOO=ON, the system-provided gloo dependency is used but then PyTorch complains about a missing function or class method. Use the git submodule inside PyTorch to fix it. Signed-off-by: Zoltán Böszörményi <[email protected]>
1 parent 1991719 commit fce2de9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

recipes-python/pytorch/python3-pytorch_2.4.1.bb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ DEPENDS = " \
1414
"
1515

1616
DEPENDS:append:class-target = " \
17-
zstd-native glog gloo numactl opencv \
17+
zstd-native glog numactl opencv \
1818
opencl-headers virtual/opencl-icd \
1919
shaderc spirv-tools mesa \
2020
${@bb.utils.contains('DISTRO_FEATURES', 'vulkan', 'vulkan-headers vulkan-loader', '', d)} \
@@ -214,7 +214,6 @@ ${EXTRA_OECMAKE_ARCH_FLAGS} \
214214
-DBUILD_CAFFE2=ON \
215215
-DBUILD_CAFFE2_OPS=ON \
216216
-DCAFFE2_CUSTOM_PROTOC_EXECUTABLE=${STAGING_DIR_NATIVE}${PYTHON_SITEPACKAGES_DIR}/torch/bin/protoc \
217-
-DUSE_SYSTEM_GLOO=ON \
218217
-DUSE_SYSTEM_SLEEF=ON \
219218
-DUSE_GOLD_LINKER=ON \
220219
-DUSE_GFLAGS=ON \

0 commit comments

Comments
 (0)