Skip to content

Commit

Permalink
Disable a number of TF features in build.py that we don't use and don…
Browse files Browse the repository at this point in the history
…'t need to build.
  • Loading branch information
hawkinsp committed Jan 7, 2019
1 parent 02c1e77 commit 5031016
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions build/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,13 @@ def check_bazel_version(bazel_path, min_version):
build:opt --copt=-march=native
build:opt --host_copt=-march=native
build:mkl_open_source_only --define=tensorflow_mkldnn_contraction_kernel=1
# Disable enabled-by-default TensorFlow features that we don't care about.
build --define=no_aws_support=true
build --define=no_gcp_support=true
build --define=no_hdfs_support=true
build --define=no_kafka_support=true
build --define=no_ignite_support=true
"""


Expand Down

0 comments on commit 5031016

Please sign in to comment.