forked from sail-sg/jax_xc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
WORKSPACE
54 lines (43 loc) · 1.51 KB
/
WORKSPACE
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
workspace(name = "jax_xc")
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_python",
sha256 = "8c8fe44ef0a9afc256d1e75ad5f448bb59b81aba149b8958f02f7b3a98f5d9b4",
strip_prefix = "rules_python-0.13.0",
url = "https://github.com/bazelbuild/rules_python/archive/refs/tags/0.13.0.tar.gz",
)
http_archive(
name = "visit_struct",
build_file = "//third_party/visit_struct:visit_struct.BUILD",
strip_prefix = "visit_struct-1.0",
urls = [
"https://github.com/garbageslam/visit_struct/archive/refs/tags/v1.0.tar.gz",
],
)
http_archive(
name = "pybind11_bazel",
sha256 = "a185aa68c93b9f62c80fcb3aadc3c83c763854750dc3f38be1dadcb7be223837",
strip_prefix = "pybind11_bazel-faf56fb3df11287f26dbc66fdedf60a2fc2c6631",
urls = [
"https://github.com/pybind/pybind11_bazel/archive/faf56fb3df11287f26dbc66fdedf60a2fc2c6631.zip",
],
)
# We still require the pybind library.
http_archive(
name = "pybind11",
build_file = "@pybind11_bazel//:pybind11.BUILD",
strip_prefix = "pybind11-2.10.1",
urls = ["https://github.com/pybind/pybind11/archive/v2.10.1.tar.gz"],
)
load("@pybind11_bazel//:python_configure.bzl", "python_configure")
python_configure(
name = "local_config_python",
python_version = "3",
)
load("//maple2jax:python.bzl", "declare_python_abi")
declare_python_abi(
name = "python_abi",
python_version = "3",
)
load("//maple2jax:maple2jax.bzl", "maple2jax_repo")
maple2jax_repo(name = "maple2jax")