-
Notifications
You must be signed in to change notification settings - Fork 274
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added patch for fix building libpng without neon.
- Loading branch information
Showing
8 changed files
with
38 additions
and
14 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 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 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
24 changes: 24 additions & 0 deletions
24
build_tensorflow/patch/tensorflow/v1.8.0/0001-fix-png-neon.patch
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,24 @@ | ||
From cb8f9ba2742db33b65f4dce1df865048bbbd0f30 Mon Sep 17 00:00:00 2001 | ||
From: temp <[email protected]> | ||
Date: Mon, 30 Apr 2018 21:34:06 +0000 | ||
Subject: [PATCH] fix png neon | ||
|
||
--- | ||
third_party/png.BUILD | 1 + | ||
1 file changed, 1 insertion(+) | ||
|
||
diff --git a/third_party/png.BUILD b/third_party/png.BUILD | ||
index 76ab32d69c..bc4551a509 100644 | ||
--- a/third_party/png.BUILD | ||
+++ b/third_party/png.BUILD | ||
@@ -35,6 +35,7 @@ cc_library( | ||
], | ||
includes = ["."], | ||
linkopts = ["-lm"], | ||
+ copts = ["-DPNG_ARM_NEON_OPT=0"], | ||
visibility = ["//visibility:public"], | ||
deps = ["@zlib_archive//:zlib"], | ||
) | ||
-- | ||
2.11.0 | ||
|