forked from plaidml/plaidml
-
Notifications
You must be signed in to change notification settings - Fork 0
/
WORKSPACE
49 lines (38 loc) · 956 Bytes
/
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
# Bazel Workspace for PlaidML
workspace(name = "com_intel_plaidml")
load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")
new_local_repository(
name = "llvm_shim",
build_file_content = """
package(default_visibility = ["//visibility:public"])
filegroup(
name = "license",
srcs = ["@llvm//:license"],
)
cc_library(
name = "llvm",
deps = ["@llvm"],
)
""",
path = "vendor/llvm/shim",
workspace_file_content = """
workspace(name = "llvm_shim")
""",
)
git_repository(
name = "toolchain",
commit = "a487bf9f2cc4edc47d376606abaaf29d85fffcd8",
remote = "https://github.com/plaidml/toolchain",
)
load(
"@toolchain//:workspace.bzl",
toolchain_repositories = "repositories",
)
toolchain_repositories()
local_repository(
name = "opengl_repo",
path = "vendor/opengl",
)
load("//bzl:workspace.bzl", "configure_llvm", "plaidml_workspace")
plaidml_workspace()
configure_llvm()