Repository navigation
Enable RBE again - #1275
Enable RBE again#1275buchgr wants to merge 1 commit into
Conversation
|
This should allow you to enable RBE until my patch in Bazel is released. I don't have access to your RBE cluster. Can you please test it? |
|
Seeing some errors. I can iterate locally on this if you'd like. Does it need a build file to find the patch? |
yes. good catch! |
Would you mind also nesting the patch under a directory in third_party? I think we don't want files directly there. Alternatively, it could go in build_tools/bazel |
This is a workaround to use rbe_autoconfig with --experimental_repo_remote_exec. It had to be disabled before due to a naming conflict [1]. More information at [2]. [1] iree-org@b5331d2 [2] bazelbuild/bazel#11029
done. that's a better idea. |
|
Well it's successfully loaded the repo rule and is actually building, so looks likely this will pass (I'm able to see streamed logs by rooting around internally). Our caches are probably very cold, so it may take a bit longer than usual, but I think this should do it. Thanks! |
|
Oh just realized that this doesn't actually turn rbe back on in the CI, just activates the config 🤦♂️ Lemme locally test that it fixed RBE, but this should be ok to merge regardless. |
|
I just tried this out locally and am getting errors that it can't find "@rbe_default" This is using the config defined in our bazelrc. Does that need to be updated as well? https://github.com/google/iree/blob/d572ef6dc87c54c43531de52d5c4ebf425ddc178/.bazelrc#L59-L105 |
|
@GMNGeoffrey Strange. What command are you running? Does |
|
I'm running our build with Also, it seems that RBE is using a different set of copts than our normal build because it's hitting errors in glslang and other external deps that I'm not seeing without it. We do want to turn on It might be easier to deal with #236 first, although it would be nice to just get rbe working again... |
|
But anyway I think this fixes the flag conflict problem and makes it possible to build with RBE even if building with RBE now fails :-( I'll go ahead and merge it |
This is a workaround to use rbe_autoconfig with
--experimental_repo_remote_exec. It had to be disabled before due
to a naming conflict [1]. More information at [2].
[1] b5331d2
[2] bazelbuild/bazel#11029