File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -6,9 +6,7 @@ sed -i 's#<torch_xla/csrc/tensor.h>#"torch_xla/csrc/tensor.h"#' $@
66# remove the runfiles-prefix used in codegen for pytorch
77# `torchgen` generates relative includes path and does not support customizing the root,
88# so we have to fix them up.
9- sed -i ' s#bazel-out/k8-opt/bin/codegen/lazy_tensor_generator.runfiles/torch/##' $@
10- sed -i ' s#bazel-out/k8-dbg/bin/codegen/lazy_tensor_generator.runfiles/torch/##' $@
11- sed -i ' s#bazel-out/k8-fastbuild/bin/codegen/lazy_tensor_generator.runfiles/torch/##' $@
9+ sed -i ' s#bazel-out/k8-[^/]*/bin/codegen/lazy_tensor_generator.runfiles/torch/##' $@
1210
1311# use the generated files that are in the compilation unit
1412sed -i ' s#<bazel-out/\(.*\)>#"bazel-out/\1"#' $@
You can’t perform that action at this time.
0 commit comments