diff --git a/build.bzl b/build.bzl index b7fcbdb81f2942..a19fe044a56b3f 100644 --- a/build.bzl +++ b/build.bzl @@ -99,7 +99,7 @@ def define_targets(rules): ], tools = ["//tools/setup_helpers:generate_code"], outs = GENERATED_AUTOGRAD_CPP + GENERATED_AUTOGRAD_PYTHON + GENERATED_TESTING_PY, - cmd = "$(location //tools/setup_helpers:generate_code) " + + cmd = "$(execpath //tools/setup_helpers:generate_code) " + "--gen-dir=$(RULEDIR) " + "--native-functions-path $(location :native_functions.yaml) " + "--tags-path=$(location :tags.yaml) " +