22
22
"def_file_filter_configure" ,
23
23
)
24
24
load ("//third_party/FP16:workspace.bzl" , FP16 = "repo" )
25
- load ("//third_party/FXdiv:workspace.bzl" , FXdiv = "repo" )
26
25
load ("//third_party/aws:workspace.bzl" , aws = "repo" )
27
26
load ("//third_party/clog:workspace.bzl" , clog = "repo" )
28
27
load ("//third_party/cpuinfo:workspace.bzl" , cpuinfo = "repo" )
@@ -38,14 +37,12 @@ load("//third_party/opencl_headers:workspace.bzl", opencl_headers = "repo")
38
37
load ("//third_party/kissfft:workspace.bzl" , kissfft = "repo" )
39
38
load ("//third_party/pasta:workspace.bzl" , pasta = "repo" )
40
39
load ("//third_party/psimd:workspace.bzl" , psimd = "repo" )
41
- load ("//third_party/pthreadpool:workspace.bzl" , pthreadpool = "repo" )
42
40
load ("//third_party/sobol_data:workspace.bzl" , sobol_data = "repo" )
43
41
load ("//third_party/vulkan_headers:workspace.bzl" , vulkan_headers = "repo" )
44
42
45
43
def initialize_third_party ():
46
44
""" Load third party repositories. See above load() statements. """
47
45
FP16 ()
48
- FXdiv ()
49
46
aws ()
50
47
clog ()
51
48
cpuinfo ()
@@ -61,7 +58,6 @@ def initialize_third_party():
61
58
opencl_headers ()
62
59
pasta ()
63
60
psimd ()
64
- pthreadpool ()
65
61
sobol_data ()
66
62
vulkan_headers ()
67
63
@@ -145,11 +141,32 @@ def tf_repositories(path_prefix = "", tf_repo_name = ""):
145
141
tf_http_archive (
146
142
name = "XNNPACK" ,
147
143
build_file = clean_dep ("//third_party:xnnpack.BUILD" ),
148
- sha256 = "190e61e50af3497bb46b8d936bd2d2d551a9aeedb02ff66388918408a54e216a " ,
149
- strip_prefix = "XNNPACK-b18783570f0643560be641b193367d3906955141 " ,
144
+ sha256 = "246aa56afc5263f1d41fc4a3437ecd51b56f78e16421818961cf79e39431c1df " ,
145
+ strip_prefix = "XNNPACK-b9d07cfa38af15c2abf564c980e00c965857ba21 " ,
150
146
urls = [
151
- "https://storage.googleapis.com/mirror.tensorflow.org/github.com/google/XNNPACK/archive/b18783570f0643560be641b193367d3906955141.zip" ,
152
- "https://github.com/google/XNNPACK/archive/b18783570f0643560be641b193367d3906955141.zip" ,
147
+ "https://storage.googleapis.com/mirror.tensorflow.org/github.com/google/XNNPACK/archive/b9d07cfa38af15c2abf564c980e00c965857ba21.zip" ,
148
+ "https://github.com/google/XNNPACK/archive/b9d07cfa38af15c2abf564c980e00c965857ba21.zip" ,
149
+ ],
150
+ )
151
+
152
+ tf_http_archive (
153
+ name = "FXdiv" ,
154
+ sha256 = "8224ff187cdfa178b8c54d36eea70520391781eda16d13a418ab5ae53289e1ab" ,
155
+ strip_prefix = "FXdiv-561254d968e5679460e6a0a743206410284d9f46" ,
156
+ urls = [
157
+ "https://storage.googleapis.com/mirror.tensorflow.org/github.com/Maratyszcza/FXdiv/archive/561254d968e5679460e6a0a743206410284d9f46.zip" ,
158
+ "https://github.com/Maratyszcza/FXdiv/archive/561254d968e5679460e6a0a743206410284d9f46.zip" ,
159
+ ],
160
+ )
161
+
162
+ tf_http_archive (
163
+ name = "pthreadpool" ,
164
+ build_file = clean_dep ("//third_party:pthreadpool.BUILD" ),
165
+ sha256 = "f894d845cefc091291329712deec85ce7020546f6eaff200b690ae04b6094535" ,
166
+ strip_prefix = "pthreadpool-bfa3b9ce6cb71dc8b792e39d24717320a4f92572" ,
167
+ urls = [
168
+ "https://storage.googleapis.com/mirror.tensorflow.org/github.com/Maratyszcza/pthreadpool/archive/bfa3b9ce6cb71dc8b792e39d24717320a4f92572.zip" ,
169
+ "https://github.com/Maratyszcza/pthreadpool/archive/bfa3b9ce6cb71dc8b792e39d24717320a4f92572.zip" ,
153
170
],
154
171
)
155
172
@@ -185,12 +202,13 @@ def tf_repositories(path_prefix = "", tf_repo_name = ""):
185
202
build_file = clean_dep ("//third_party:com_google_absl.BUILD" ),
186
203
# TODO: Remove the patch when https://github.com/abseil/abseil-cpp/issues/326 is resolved
187
204
# and when TensorFlow is build against CUDA 10.2
188
- patch_file = clean_dep ("//third_party:com_google_absl_fix_mac_and_nvcc_build.patch" ),
189
- sha256 = "acd93f6baaedc4414ebd08b33bebca7c7a46888916101d8c0b8083573526d070" , # SHARED_ABSL_SHA
190
- strip_prefix = "abseil-cpp-43ef2148c0936ebf7cb4be6b19927a9d9d145b8f" ,
205
+ # Added wasm config patch for code8
206
+ patch_file = clean_dep ("//third_party:com_google_absl_fix_wasm_config_setting.patch" ),
207
+ sha256 = "ec8ef47335310cc3382bdc0d0cc1097a001e67dc83fcba807845aa5696e7e1e4" , # SHARED_ABSL_SHA
208
+ strip_prefix = "abseil-cpp-302b250e1d917ede77b5ff00a6fd9f28430f1563" ,
191
209
urls = [
192
- "https://storage.googleapis.com/mirror.tensorflow.org/github.com/abseil/abseil-cpp/archive/43ef2148c0936ebf7cb4be6b19927a9d9d145b8f .tar.gz" ,
193
- "https://github.com/abseil/abseil-cpp/archive/43ef2148c0936ebf7cb4be6b19927a9d9d145b8f .tar.gz" ,
210
+ "https://storage.googleapis.com/mirror.tensorflow.org/github.com/abseil/abseil-cpp/archive/302b250e1d917ede77b5ff00a6fd9f28430f1563 .tar.gz" ,
211
+ "https://github.com/abseil/abseil-cpp/archive/302b250e1d917ede77b5ff00a6fd9f28430f1563 .tar.gz" ,
194
212
],
195
213
)
196
214
0 commit comments