Skip to content

Commit

Permalink
fix: expand_if_available -> expand_if_true
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudhan committed Jan 28, 2025
1 parent 28f6ffc commit 473ccd2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cuda/private/toolchain_configs/clang.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ def _impl(ctx):
flag_groups = [
flag_group(
flags = ["--sysroot=%{sysroot}"],
expand_if_available = "sysroot",
expand_if_true = "sysroot",
),
],
),
Expand Down
2 changes: 1 addition & 1 deletion cuda/private/toolchain_configs/nvcc.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ def _impl(ctx):
flag_groups = [
flag_group(
flags = ["-Xcompiler", "--sysroot=%{sysroot}"],
expand_if_available = "sysroot",
expand_if_true = "sysroot",
),
],
),
Expand Down

0 comments on commit 473ccd2

Please sign in to comment.