Unverified Commit e396527f authored by James Bartlett's avatar James Bartlett Committed by Copybara
Browse files

Fix gen_compilation_database.py


Summary: Previous diff, didn't change the arg in the `run_bazel_build` branch.

Test Plan: Ran with `--run_bazel_build` and it worked.

Reviewers: vihang, zasgar

Reviewed By: vihang
Signed-off-by: default avatarJames Bartlett <jamesbartlett@pixielabs.ai>

Differential Revision: https://phab.corp.pixielabs.ai/D11710

GitOrigin-RevId: b42234b347f98a03ec8021e802df28d7664434eb
parent 2df268c8
Showing with 1 addition and 1 deletion
+1 -1
......@@ -24,7 +24,7 @@ import subprocess
def generateCompilationDatabase(args):
if args.run_bazel_build:
subprocess.check_call(["bazel", "build"] + args.bazel_targets)
subprocess.check_call(["bazel", "build"] + [args.bazel_target])
gen_compilation_database_sh = os.path.join(
os.path.realpath(os.path.dirname(__file__)), "gen_compilation_database.sh")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment