forked from ERGO-Code/HiGHS
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMODULE.bazel
More file actions
45 lines (37 loc) · 754 Bytes
/
MODULE.bazel
File metadata and controls
45 lines (37 loc) · 754 Bytes
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
"""highs module
"""
module(
name = "highs",
version = "1.13.0",
)
bazel_dep(
name = "bazel_skylib",
version = "1.8.2",
)
bazel_dep(
name = "rules_cc",
version = "0.2.14",
)
bazel_dep(
name = "zlib",
version = "1.3.1.bcr.5",
)
bazel_dep(
name = "rules_cuda",
version = "0.2.5",
)
# Override the module with the latest rules_cuda
git_override(
module_name = "rules_cuda",
remote = "https://github.com/bazel-contrib/rules_cuda.git",
commit = "3692ecb",
)
# Load the extension
cuda = use_extension("@rules_cuda//cuda:extensions.bzl", "toolchain")
cuda.toolkit(
name = "cuda",
)
# Use 'cuda' as the repository name
# use_repo(cuda, "cuda")
# Alias local_cuda
use_repo(cuda, local_cuda = "cuda")