Skip to content

Instantly share code, notes, and snippets.

@itsbalamurali
Created December 15, 2018 20:48
Show Gist options
  • Save itsbalamurali/6ab3860435b440d17cdc2fad8dc158cf to your computer and use it in GitHub Desktop.
Save itsbalamurali/6ab3860435b440d17cdc2fad8dc158cf to your computer and use it in GitHub Desktop.
build --action_env PYTHON_BIN_PATH="/usr/local/opt/python@2/bin/python2.7"
# build --action_env PYTHON_LIB_PATH="/usr/local/Cellar/python/3.7.1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages"
build --python_path="/usr/local/opt/python@2/bin/python2.7"
build:xla --define with_xla_support=true
build --action_env TF_NEED_OPENCL_SYCL="0"
build --action_env TF_NEED_ROCM="0"
build --action_env TF_NEED_CUDA="0"
build --action_env TF_DOWNLOAD_CLANG="0"
build:opt --copt=-march=native
build:opt --copt=-Wno-sign-compare
build:opt --host_copt=-march=native
build:opt --define with_default_optimizations=true
build:v2 --define=tf_api_version=2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment