Commit d6b78425 authored by Neal Wu's avatar Neal Wu
Browse files

Add a note about the ABI flag as well

parent f717f6bf
...@@ -54,8 +54,9 @@ TF_INC=$(python -c 'import tensorflow as tf; print(tf.sysconfig.get_include())') ...@@ -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 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 (Note: if running on Mac, add `-undefined dynamic_lookup` to your `g++` command.
`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: 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