Skip to content

Commit 40cc027

Browse files
authored
[main] Add support to build openXLA extension with multiple python versions (#436)
1 parent 319364c commit 40cc027

File tree

2 files changed

+379
-0
lines changed

2 files changed

+379
-0
lines changed

WORKSPACE

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,12 @@ python_init_rules()
4141
load("@xla//third_party/py:python_init_repositories.bzl", "python_init_repositories")
4242

4343
python_init_repositories(
44+
default_python_version = "system",
4445
requirements = {
46+
"3.9": "@xla//:requirements_lock_3_9.txt",
47+
"3.10": "@xla//:requirements_lock_3_10.txt",
4548
"3.11": "@xla//:requirements_lock_3_11.txt",
49+
"3.12": "@xla//:requirements_lock_3_12.txt",
4650
},
4751
)
4852

0 commit comments

Comments
 (0)