Skip to content

Commit 0fe0552

Browse files
Update compile_tensorflow_cpp.md
1 parent 678133c commit 0fe0552

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

compile_tensorflow_cpp.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,14 @@ chmod +x bazel-3.7.2-installer-linux-x86_64.sh
8888

8989
### 1. Compile TensorFlow C++ shared library (with optimization)
9090

91-
Download or clone github repo to your system:
91+
Download a tarball of TensorFlow (I strongly prefer v.2.7 to other versions),
92+
e.g., from https://github.com/tensorflow/tensorflow/releases/tag/v2.7.4
93+
```bash
94+
wget https://github.com/tensorflow/tensorflow/archive/refs/tags/v2.7.4.tar.gz
95+
tar -xzvf v2.7.4.tar.gz
96+
cd tensorflow-2.7.4
97+
```
98+
or clone github repo to your system:
9299
```bash
93100
git clone https://github.com/tensorflow/tensorflow
94101
cd tensorflow

0 commit comments

Comments
 (0)