"tests/vscode:/vscode.git/clone" did not exist on "8ccb619416a36f5951dac654a92e869d76db4bbc"
Commit f717f6bf authored by Neal Wu's avatar Neal Wu
Browse files

Add a note rather than repeating the full command

parent 60d40dd5
......@@ -48,18 +48,14 @@ sudo pip install numpy
Build the LSTM op:
Linux
```
cd cc
TF_INC=$(python -c 'import tensorflow as tf; print(tf.sysconfig.get_include())')
g++ -std=c++11 -shared rnn_ops.cc -o rnn_ops.so -fPIC -I $TF_INC -O3 -mavx
```
Mac
```
cd cc
TF_INC=$(python -c 'import tensorflow as tf; print(tf.sysconfig.get_include())')
g++ -std=c++11 -shared rnn_ops.cc -o rnn_ops.so -fPIC -I $TF_INC -O3 -mavx -undefined dynamic_lookup
```
(Note: if running on Mac, add `-undefined dynamic_lookup` to the end of your
`g++` command.)
Run the unittests:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment