Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
docker-centos6-tensorflow
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Quang tru HUYNH
docker-centos6-tensorflow
Commits
5a1d5bb2
Commit
5a1d5bb2
authored
8 years ago
by
Quang tru HUYNH
Browse files
Options
Downloads
Patches
Plain Diff
move the generated wheel file into a non volatile space
parent
bd131640
No related branches found
Branches containing commit
Tags
v2.0
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
runme.sh
+3
-3
3 additions, 3 deletions
runme.sh
with
3 additions
and
3 deletions
runme.sh
+
3
−
3
View file @
5a1d5bb2
#!/bin/sh
#!/bin/sh
mkdir
-p
/
tmp
/tensorflow_pkg 2>> /dev/null
mkdir
-p
/
build
/tensorflow_pkg 2>> /dev/null
cd
/build/tensorflow-1.0.1
&&
\
cd
/build/tensorflow-1.0.1
&&
\
./configure < /tmp/tf-c6.ans
&&
\
./configure < /tmp/tf-c6.ans
&&
\
bazel build
--linkopt
=
'-lrt'
--config
=
opt //tensorflow/tools/pip_package:build_pip_package
&&
\
bazel build
--linkopt
=
'-lrt'
--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
cd
/
&&
\
cd
/
&&
\
pip
install
--user
/
tmp
/tensorflow_pkg/tensorflow-1.0.1-cp27-none-linux_x86_64.whl
pip
install
--user
/
build
/tensorflow_pkg/tensorflow-1.0.1-cp27-none-linux_x86_64.whl
python
<<
EOF
python
<<
EOF
# Creates a graph.
# Creates a graph.
import tensorflow as tf
import tensorflow as tf
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment