forked from google/deepvariant
-
Notifications
You must be signed in to change notification settings - Fork 0
/
WORKSPACE
73 lines (64 loc) · 2.43 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
workspace(name = "genomics")
# Abseil libraries
git_repository(
name = "com_google_absl_py",
# redacted
commit = "e7e488817ecce91d290d7fcce997b8dda1c6ee77",
remote = "https://github.com/abseil/abseil-py.git",
)
# Note: com_google_absl (the C++ abseil library) is provided by TensorFlow.
# Note: we are using a post-1.6 build release that fixes a double-free.
new_http_archive(
name = "htslib",
build_file = "third_party/htslib.BUILD",
sha256 = "7743e379fa27fdbaa81d4efc97adc5e0b2c5ade3cd09a93e311ea0c6b3a4ddf6",
strip_prefix = "htslib-57fa9be5255475b2cf9331db32848590a8ea8eb9",
urls = [
"https://github.com/samtools/htslib/archive/57fa9be5255475b2cf9331db32848590a8ea8eb9.zip"
],
)
new_http_archive(
name = "libssw",
build_file = "third_party/libssw.BUILD",
sha256 = "10b9305e5a580ee5319f736d3581916f6c873ef4475bd0c0e564c2934334732c",
strip_prefix = "Complete-Striped-Smith-Waterman-Library-1.0",
urls = [
"https://github.com/mengyao/Complete-Striped-Smith-Waterman-Library/archive/v1.0.tar.gz",
],
)
# Import tensorflow. Note path.
local_repository(
name = "org_tensorflow",
path = "../tensorflow",
)
# Required boilerplate for tf_workspace(), apparently.
http_archive(
name = "io_bazel_rules_closure",
sha256 = "25f5399f18d8bf9ce435f85c6bbf671ec4820bc4396b3022cc5dc4bc66303609",
strip_prefix = "rules_closure-0.4.2",
urls = [
"http://mirror.bazel.build/github.com/bazelbuild/rules_closure/archive/0.4.2.tar.gz", # 2017-08-29
"https://github.com/bazelbuild/rules_closure/archive/0.4.2.tar.gz",
],
)
# Import all of the tensorflow dependencies.
load("@org_tensorflow//tensorflow:workspace.bzl", "tf_workspace")
tf_workspace(tf_repo_name = "org_tensorflow")
# Pull in slim.
# slim is located inside the tensorflow/models repository.
# The slim subdirectory in the tensorflow/models repository has its own
# WORKSPACE file so we need to strip a prefix to make it the root of the
# repository.
# The prefix is "models-<commit>/slim"
# where commit is the full commit.
# Pin to the lastest version that builds for now. See b/68431494#comment4.
http_archive(
name = "org_tensorflow_slim",
strip_prefix = "models-6d140f139cf02ceb87afa76024c4b502a556a3e5/slim",
urls = ["https://github.com/tensorflow/models/archive/6d140f1.tar.gz"],
)
new_local_repository(
name = "clif",
build_file = "third_party/clif.BUILD",
path = "/usr/local",
)