Created
June 14, 2016 01:59
-
-
Save yaroslavvb/856aae221ae2792da9cbe25836ab235a to your computer and use it in GitHub Desktop.
reproducing bazel failure with Python3
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
cd /Users/yaroslavvb/tfimmediate_hood.cpu_three | |
git clone https://github.com/yaroslavvb/tensorflow.git | |
export clonedir=/Users/yaroslavvb/tfimmediate_hood.cpu_three/tensorflow | |
export dev_branch=hood-devel | |
export pr_branch=hood | |
git fetch --all | |
git checkout $dev_branch | |
git pull | |
# install python3 deps | |
brew install python3 | |
brew install homebrew/python/numpy --with-python3 | |
brew link --overwrite numpy | |
# run configure, No on everything | |
./configure | |
bazel build -c opt tensorflow/contrib/immediate/... | |
bazel build -c opt --verbose_failures tensorflow/contrib/immediate:image_ops_test | |
bazel-out/host/bin/external/bazel_tools/tools/python/2to3 --no-diffs --nobackups --write --output-dir bazel-out/local-py3-opt/genfiles/python3/tensorflow/contrib/immediate/python/immediate/extra_tests --write-unchanged-files tensorflow/contrib/immediate/python/immediate/extra_tests/image_ops_test.py | |
echo $? | |
# prints 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment