mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
[bazel] Fix gloo.BUILD (#92858)
After the recent gloo submodule bump, bazel build that uses gloo needs a slight update. Tested that now I was able to build :torch with gloo (on our internal build) Pull Request resolved: https://github.com/pytorch/pytorch/pull/92858 Approved by: https://github.com/dagitses, https://github.com/malfet
This commit is contained in:
committed by
PyTorch MergeBot
parent
5f1ac188f8
commit
aeac7f4203
3
third_party/gloo.BUILD
vendored
3
third_party/gloo.BUILD
vendored
@ -20,6 +20,8 @@ template_rule(
|
||||
"cmakedefine01 GLOO_USE_MPI": "define GLOO_USE_MPI 0",
|
||||
"cmakedefine01 GLOO_USE_AVX": "define GLOO_USE_AVX 0",
|
||||
"cmakedefine01 GLOO_USE_LIBUV": "define GLOO_USE_LIBUV 0",
|
||||
# The `GLOO_HAVE_TRANSPORT_TCP_TLS` line should go above the `GLOO_HAVE_TRANSPORT_TCP` in order to properly substitute the template.
|
||||
"cmakedefine01 GLOO_HAVE_TRANSPORT_TCP_TLS": "define GLOO_HAVE_TRANSPORT_TCP_TLS 1",
|
||||
"cmakedefine01 GLOO_HAVE_TRANSPORT_TCP": "define GLOO_HAVE_TRANSPORT_TCP 1",
|
||||
"cmakedefine01 GLOO_HAVE_TRANSPORT_IBVERBS": "define GLOO_HAVE_TRANSPORT_IBVERBS 0",
|
||||
"cmakedefine01 GLOO_HAVE_TRANSPORT_UV": "define GLOO_HAVE_TRANSPORT_UV 0",
|
||||
@ -35,6 +37,7 @@ cc_library(
|
||||
"gloo/rendezvous/*.h",
|
||||
"gloo/transport/*.h",
|
||||
"gloo/transport/tcp/*.h",
|
||||
"gloo/transport/tcp/tls/*.h",
|
||||
],
|
||||
exclude = [
|
||||
"gloo/rendezvous/redis_store.h",
|
||||
|
Reference in New Issue
Block a user