Skip to content

Commit 2c0dc60

Browse files
authored
WIP adding free_threading option
1 parent 425dfb0 commit 2c0dc60

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

python/private/python_repositories.bzl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -555,6 +555,12 @@ For more information see the official bazel docs
555555
default = "1.5.2",
556556
),
557557
"_rule_name": attr.string(default = "python_repository"),
558+
"free_threading": attr.bool(
559+
default = False,
560+
doc = "Whether python interpreter has enabled free-threading (no GIL) mode.",
561+
mandatory = False,
562+
),
563+
558564
},
559565
environ = [REPO_DEBUG_ENV_VAR],
560566
)

0 commit comments

Comments
 (0)