forked from tensorflow/tensorflow
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update tensorflow+deps to remove -pthread from wasm
- Loading branch information
Showing
12 changed files
with
1,221 additions
and
821 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
--- ./absl/BUILD.bazel 2020-07-12 14:21:35.000000000 -0700 | ||
+++ ./absl/BUILD.bazel 2020-10-20 12:17:37.000000000 -0700 | ||
@@ -61,5 +61,5 @@ | ||
|
||
config_setting( | ||
name = "wasm", | ||
- values = {"cpu": "wasm32"}, | ||
+ values = {"cpu": "js"}, | ||
) | ||
--- ./absl/time/internal/cctz/BUILD.bazel 2019-09-23 13:20:52.000000000 -0700 | ||
+++ ./absl/time/internal/cctz/BUILD.bazel.fixed 2019-09-23 13:20:48.000000000 -0700 | ||
@@ -76,15 +76,6 @@ | ||
"include/cctz/time_zone.h", | ||
"include/cctz/zone_info_source.h", | ||
], | ||
- linkopts = select({ | ||
- ":osx": [ | ||
- "-framework Foundation", | ||
- ], | ||
- ":ios": [ | ||
- "-framework Foundation", | ||
- ], | ||
- "//conditions:default": [], | ||
- }), | ||
visibility = ["//visibility:public"], | ||
deps = [":civil_time"], | ||
) | ||
--- ./absl/strings/string_view.h 2019-09-23 13:20:52.000000000 -0700 | ||
+++ ./absl/strings/string_view.h.fixed 2019-09-23 13:20:48.000000000 -0700 | ||
@@ -520,7 +520,14 @@ | ||
(std::numeric_limits<difference_type>::max)(); | ||
|
||
static constexpr size_type CheckLengthInternal(size_type len) { | ||
+#if defined(__NVCC__) && (__CUDACC_VER_MAJOR__<10 || (__CUDACC_VER_MAJOR__==10 && __CUDACC_VER_MINOR__<2)) && !defined(NDEBUG) | ||
+ // An nvcc bug treats the original return expression as a non-constant, | ||
+ // which is not allowed in a constexpr function. This only happens when | ||
+ // NDEBUG is not defined. This will be fixed in the CUDA 10.2 release. | ||
+ return len; | ||
+#else | ||
return ABSL_HARDENING_ASSERT(len <= kMaxSize), len; | ||
+#endif | ||
} | ||
|
||
const char* ptr_; |
Oops, something went wrong.