Skip to content

Instantly share code, notes, and snippets.

@prise6
Created August 30, 2017 00:56
Show Gist options
  • Save prise6/ec0ee626367b3dde2eeddf8b29ead976 to your computer and use it in GitHub Desktop.
Save prise6/ec0ee626367b3dde2eeddf8b29ead976 to your computer and use it in GitHub Desktop.
Building TensorFlow
bazel build -c opt --copt=-mavx --copt=-mavx2 --copt=-mfma --copt=-mfpmath=both --copt=-msse4.2 //tensorflow/tools/pip_package:build_pip_package
[...]
At global scope:
cc1plus: warning: unrecognized command line option "-Wno-self-assign"
Target //tensorflow/tools/pip_package:build_pip_package up-to-date:
bazel-bin/tensorflow/tools/pip_package/build_pip_package
INFO: Elapsed time: 3013.569s, Critical Path: 95.19s
INFO: Build completed successfully, 3409 total actions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment