Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
docker-centos7-tensorflow
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Tru HUYNH
docker-centos7-tensorflow
Commits
d9238da9
Commit
d9238da9
authored
Mar 22, 2017
by
Tru HUYNH
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
move the generated wheel file into a permanet place
parent
e082282e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
runme.sh
runme.sh
+3
-3
No files found.
runme.sh
View file @
d9238da9
#!/bin/sh
mkdir
-p
/
tmp
/tensorflow_pkg 2>> /dev/null
mkdir
-p
/
build
/tensorflow_pkg 2>> /dev/null
cd
/build/tensorflow-1.0.1
&&
\
./configure < /tmp/tf-c7.ans
&&
\
bazel build
--config
=
opt //tensorflow/tools/pip_package:build_pip_package
&&
\
bazel-bin/tensorflow/tools/pip_package/build_pip_package /
tmp
/tensorflow_pkg
bazel-bin/tensorflow/tools/pip_package/build_pip_package /
build
/tensorflow_pkg
# test tf (installation via pip will upgrade CentOS provided numpy,python-setuptools and EPEL python-wheel)
#
# Dependencies Resolved
...
...
@@ -24,7 +24,7 @@ bazel-bin/tensorflow/tools/pip_package/build_pip_package /tmp/tensorflow_pkg
yum
-y
remove numpy
pip
install
numpy
cd
/
&&
pip
install
--user
/
tmp
/tensorflow_pkg/tensorflow-1.0.1-cp27-none-linux_x86_64.whl
cd
/
&&
pip
install
--user
/
build
/tensorflow_pkg/tensorflow-1.0.1-cp27-none-linux_x86_64.whl
python
<<
EOF
# Creates a graph.
import tensorflow as tf
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment