-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMODULE.bazel
More file actions
48 lines (41 loc) · 1.63 KB
/
MODULE.bazel
File metadata and controls
48 lines (41 loc) · 1.63 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
module(name = "sip_python", version = "0.0.3")
# SIP
# https://github.com/joaospinto/sip
bazel_dep(name = "sip")
git_override(
module_name = "sip",
remote = "https://github.com/joaospinto/sip.git",
commit = "82fb789abac1b8060e5e6818394b38807d4f6adc",
)
# SIP_QDLDL
# https://github.com/joaospinto/sip_qdldl
bazel_dep(name = "sip_qdldl")
git_override(
module_name = "sip_qdldl",
remote = "https://github.com/joaospinto/sip_qdldl.git",
commit = "ff8886d8dfbfc734c783f6144c793cf8f4035224",
)
# A sparse quasi-definite linear system solver (via L D L^T).
# https://github.com/osqp/qdldl
bazel_dep(name = "qdldl", version = "0.1.7")
# Hedron's Compile Commands Extractor for Bazel
# https://github.com/hedronvision/bazel-compile-commands-extractor
bazel_dep(name = "hedron_compile_commands", dev_dependency = True)
git_override(
module_name = "hedron_compile_commands",
remote = "https://github.com/hedronvision/bazel-compile-commands-extractor.git",
commit = "4f28899228fb3ad0126897876f147ca15026151e",
)
# nanobind and its dependencies.
bazel_dep(name = "robin-map", version = "1.3.0")
bazel_dep(name = "nanobind_bazel", version = "2.6.1")
# eigen (for nanobind's native sparse matrix support)
bazel_dep(name = "eigen", version = "3.4.0.bcr.3")
# Set up Python and pip.
bazel_dep(name = "rules_python", version = "1.3.0")
python = use_extension("@rules_python//python/extensions:python.bzl", "python")
python.toolchain(python_version = "3.10")
python.toolchain(python_version = "3.11")
python.toolchain(python_version = "3.12")
python.toolchain(python_version = "3.13", is_default = True)
use_repo(python, python = "python_versions")