Last active
January 18, 2019 20:58
-
-
Save izmailoff/b802cf36172690e48268465350c5237e to your computer and use it in GitHub Desktop.
install tensorflow on Fedora
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
# install protobuf | |
sudo dnf install protobuf* | |
# install bazel | |
# https://docs.bazel.build/versions/master/install-redhat.html | |
sudo dnf copr enable vbatts/bazel | |
sudo dnf install bazel | |
# get TF src | |
git clone https://github.com/tensorflow/tensorflow.git | |
cd tensorflow | |
# build TF | |
./configure | |
bazel build --config=opt //tensorflow:libtensorflow.so | |
# Build script will output something like this | |
#Target //tensorflow:libtensorflow.so up-to-date: | |
# bazel-bin/tensorflow/libtensorflow.so | |
#INFO: Elapsed time: 1252.913s, Critical Path: 55.38s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
instructions on this page work:
https://gist.github.com/rjleaf/77947dee87466c8a0b4d0b55c53c6107