Skip to content

Commit

Permalink
Add a note about the ABI flag as well
Browse files Browse the repository at this point in the history
  • Loading branch information
nealwu committed Apr 20, 2017
1 parent f717f6b commit d6b7842
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions street/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,9 @@ 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
```

(Note: if running on Mac, add `-undefined dynamic_lookup` to the end of your
`g++` command.)
(Note: if running on Mac, add `-undefined dynamic_lookup` to your `g++` command.
If you are running a newer version of gcc, you may also need to add
`-D_GLIBCXX_USE_CXX11_ABI=0`.)

Run the unittests:

Expand Down

0 comments on commit d6b7842

Please sign in to comment.