-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathWORKSPACE
More file actions
94 lines (84 loc) · 2.75 KB
/
Copy pathWORKSPACE
File metadata and controls
94 lines (84 loc) · 2.75 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
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
"""SmartReply Workspace"""
workspace(name = "org_tensorflow_lite_examples_smartreply")
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
# START: Upstream TensorFlow dependencies
# TensorFlow build depends on these dependencies.
# Needs to be in-sync with TensorFlow sources.
http_archive(
name = "io_bazel_rules_closure",
sha256 = "ddce3b3a3909f99b28b25071c40b7fec7e2e1d1d1a4b2e933f3082aa99517105",
strip_prefix = "rules_closure-316e6133888bfc39fb860a4f1a31cfcbae485aef",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/rules_closure/archive/316e6133888bfc39fb860a4f1a31cfcbae485aef.tar.gz",
"https://github.com/bazelbuild/rules_closure/archive/316e6133888bfc39fb860a4f1a31cfcbae485aef.tar.gz", # 2019-03-21
],
)
http_archive(
name = "bazel_skylib",
sha256 = "2c62d8cd4ab1e65c08647eb4afe38f51591f43f7f0885e7769832fa137633dcb",
strip_prefix = "bazel-skylib-0.7.0",
urls = ["https://github.com/bazelbuild/bazel-skylib/archive/0.7.0.tar.gz"],
)
# END: Upstream TensorFlow dependencies
http_archive(
name = "org_tensorflow",
sha256 = "352819de805d58c859c8889bf279abde508dbd89d91c804c78cd8e700845a2c5",
strip_prefix = "tensorflow-d9b09c432eb6fd176333277a83d9f364b540d529",
urls = [
"https://github.com/tensorflow/tensorflow/archive/d9b09c432eb6fd176333277a83d9f364b540d529.tar.gz", # 2019-09-24
],
)
load("@org_tensorflow//tensorflow:version_check.bzl", "check_bazel_version_at_least")
check_bazel_version_at_least(minimum_bazel_version="0.24.1")
load("@org_tensorflow//tensorflow:workspace.bzl", "tf_repositories")
tf_repositories(path_prefix="", tf_repo_name="org_tensorflow")
# Need to export environment variable ANDROID_HOME.
android_sdk_repository(
name = "androidsdk",
)
# Need to export environment variable ANDROID_NDK_HOME.
android_ndk_repository(
name = "androidndk",
)
new_local_repository(
name = "python3m",
path = "/usr/include/python3.6m",
build_file_content = """
package(
default_visibility = [
"//visibility:public",
],
)
cc_library(
name = "headers",
srcs = glob(["**/*.h"]),
)""",
)
new_local_repository(
name = "python36",
path = "/usr/local/include/python3.6",
build_file_content = """
package(
default_visibility = [
"//visibility:public",
],
)
cc_library(
name = "headers",
srcs = glob(["**/*.h"]),
)""",
)
new_local_repository(
name = "python36m",
path = "/home/narasimha/.local/include/python3.6m",
build_file_content = """
package(
default_visibility = [
"//visibility:public",
],
)
cc_library(
name = "headers",
srcs = glob(["**/*.h"]),
)"""
)