Last active
May 14, 2018 22:32
-
-
Save troykelly/7fb6cb44207f0c9debd505ffb54a7d10 to your computer and use it in GitHub Desktop.
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
diff -ruN ../tensorflow.orig/.bazelrc ./.bazelrc | |
--- ../tensorflow.orig/.bazelrc 1970-01-01 00:00:00.000000000 +0000 | |
+++ ./.bazelrc 2018-05-14 22:31:14.763274885 +0000 | |
@@ -0,0 +1 @@ | |
+import /home/pi/tf/tensorflow/.tf_configure.bazelrc | |
diff -ruN ../tensorflow.orig/tensorflow/workspace.bzl ./tensorflow/workspace.bzl | |
--- ../tensorflow.orig/tensorflow/workspace.bzl 2018-05-14 22:29:04.663567324 +0000 | |
+++ ./tensorflow/workspace.bzl 2018-05-14 22:31:06.903292600 +0000 | |
@@ -104,16 +104,15 @@ | |
build_file = clean_dep("//third_party:com_google_absl.BUILD"), | |
) | |
- tf_http_archive( | |
+ native.new_http_archive( | |
name = "eigen_archive", | |
urls = [ | |
- "https://mirror.bazel.build/bitbucket.org/eigen/eigen/get/6913f0cf7d06.tar.gz", | |
- "https://bitbucket.org/eigen/eigen/get/6913f0cf7d06.tar.gz", | |
+ "http://mirror.bazel.build/bitbucket.org/eigen/eigen/get/d781c1de9834.tar.gz", | |
+ "https://bitbucket.org/eigen/eigen/get/d781c1de9834.tar.gz", | |
], | |
- sha256 = "791b836cacd03e20bae5bdd25f1c4a5505a0a9975ba94a61eb4e2631fbd1d53a", | |
- strip_prefix = "eigen-eigen-6913f0cf7d06", | |
- build_file = clean_dep("//third_party:eigen.BUILD"), | |
- patch_file = clean_dep("//third_party:eigen_fix_cuda_compilation.patch") | |
+ sha256 = "a34b208da6ec18fa8da963369e166e4a368612c14d956dd2f9d7072904675d9b", | |
+ strip_prefix = "eigen-eigen-d781c1de9834", | |
+ build_file = str(Label("//third_party:eigen.BUILD")), | |
) | |
tf_http_archive( | |
diff -ruN ../tensorflow.orig/.tf_configure.bazelrc ./.tf_configure.bazelrc | |
--- ../tensorflow.orig/.tf_configure.bazelrc 1970-01-01 00:00:00.000000000 +0000 | |
+++ ./.tf_configure.bazelrc 2018-05-14 22:31:36.543225768 +0000 | |
@@ -0,0 +1,20 @@ | |
+build --action_env PYTHON_BIN_PATH="/usr/bin/python3" | |
+build --action_env PYTHON_LIB_PATH="/usr/local/lib/python3.5/dist-packages" | |
+build --python_path="/usr/bin/python3" | |
+build --define with_jemalloc=true | |
+build:gcp --define with_gcp_support=true | |
+build:hdfs --define with_hdfs_support=true | |
+build:s3 --define with_s3_support=true | |
+build:kafka --define with_kafka_support=true | |
+build:xla --define with_xla_support=true | |
+build:gdr --define with_gdr_support=true | |
+build:verbs --define with_verbs_support=true | |
+build --action_env TF_NEED_OPENCL_SYCL="0" | |
+build --action_env TF_NEED_CUDA="0" | |
+build --action_env TF_DOWNLOAD_CLANG="0" | |
+build --define grpc_no_ares=true | |
+build:opt --copt=-march=native | |
+build:opt --host_copt=-march=native | |
+build:opt --define with_default_optimizations=true | |
+build --copt=-DGEMMLOWP_ALLOW_SLOW_SCALAR_FALLBACK | |
+build --host_copt=-DGEMMLOWP_ALLOW_SLOW_SCALAR_FALLBACK | |
diff -ruN ../tensorflow.orig/tools/python_bin_path.sh ./tools/python_bin_path.sh | |
--- ../tensorflow.orig/tools/python_bin_path.sh 1970-01-01 00:00:00.000000000 +0000 | |
+++ ./tools/python_bin_path.sh 2018-05-14 22:31:23.293255653 +0000 | |
@@ -0,0 +1 @@ | |
+export PYTHON_BIN_PATH="/usr/bin/python3" | |
\ No newline at end of file |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment