Created
February 25, 2018 09:52
-
-
Save therako/d7316b4ffe3c634696fde6c141727fd7 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#!/bin/bash | |
# configure tensorflow options | |
printf "/usr/bin/python3\n\ny\ny\nn\nn\nn\nn\nn\nn\nn\n" | ./configure | |
# Build tools | |
bazel build -c opt --copt=-mavx --copt=-mavx2 --copt=-mfma --copt=-mfpmath=both --copt=-msse4.2 -k //tensorflow/tools/pip_package:build_pip_package | |
# Generate python whl package | |
bazel-bin/tensorflow/tools/pip_package/build_pip_package /code/tensorflow_pkg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment