Repository navigation
Expand file tree
/
Copy pathMODULE.bazel
More file actions
76 lines (70 loc) · 1.93 KB
/
Copy pathMODULE.bazel
File metadata and controls
76 lines (70 loc) · 1.93 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
module(
name = "perplexity_py",
bazel_compatibility = [">=9.2.0"],
)
bazel_dep(name = "bazel_skylib", version = "1.9.2")
bazel_dep(name = "gazelle", version = "0.52.2")
bazel_dep(name = "gazelle_py", version = "0.8.10")
bazel_dep(name = "llvm", version = "0.8.14")
bazel_dep(name = "platforms", version = "1.1.0")
bazel_dep(name = "rules_python", version = "2.2.0")
bazel_dep(name = "rules_rs", version = "0.0.73")
rules_rust = use_extension("@rules_rs//rs:rules_rust.bzl", "rules_rust")
use_repo(rules_rust, "rules_rust")
python = use_extension("@rules_python//python/extensions:python.bzl", "python")
python.toolchain(
is_default = True,
python_version = "3.14",
)
pip = use_extension("@rules_python//python/extensions:pip.bzl", "pip")
pip.parse(
hub_name = "pip",
python_version = "3.14",
requirements_lock = "//:uv.lock",
uv_lock = "//:uv.lock",
)
use_repo(pip, "pip")
uv = use_extension("@rules_python//python/uv:uv.bzl", "uv")
uv.default(
base_url = "https://github.com/astral-sh/uv/releases/download",
manifest_filename = "dist-manifest.json",
version = "0.11.32",
)
uv.default(
compatible_with = [
"@platforms//os:macos",
"@platforms//cpu:aarch64",
],
platform = "aarch64-apple-darwin",
)
uv.default(
compatible_with = [
"@platforms//os:linux",
"@platforms//cpu:aarch64",
],
platform = "aarch64-unknown-linux-gnu",
)
uv.default(
compatible_with = [
"@platforms//os:macos",
"@platforms//cpu:x86_64",
],
platform = "x86_64-apple-darwin",
)
uv.default(
compatible_with = [
"@platforms//os:linux",
"@platforms//cpu:x86_64",
],
platform = "x86_64-unknown-linux-gnu",
)
uv.default(
compatible_with = [
"@platforms//os:windows",
"@platforms//cpu:x86_64",
],
platform = "x86_64-pc-windows-msvc",
)
uv.configure(version = "0.11.32")
use_repo(uv, "uv")
register_toolchains("@uv//:all")