mirror of
https://github.com/tensorflow/haskell.git
synced 2024-11-23 03:19:44 +01:00
The right approach is to run `install_name_tool` on the library after renaming its extension from ".so" to ".dylib".
This commit is contained in:
parent
eb7e78d60d
commit
5fa1d2ba8f
1 changed files with 2 additions and 2 deletions
|
@ -39,8 +39,8 @@ The following instructions were verified with Mac OS X El Capitan.
|
|||
cd third_party/tensorflow
|
||||
./configure # Choose the defaults when prompted
|
||||
bazel build -c opt tensorflow:libtensorflow_c.so
|
||||
install bazel-bin/tensorflow/libtensorflow_c.so /usr/local/lib
|
||||
ln -s /usr/local/lib/libtensorflow_c.{so,dylib}
|
||||
install bazel-bin/tensorflow/libtensorflow_c.so /usr/local/lib/libtensorflow_c.dylib
|
||||
install_name_tool -id libtensorflow_c.dylib /usr/local/lib/libtensorflow_c.dylib
|
||||
cd ../..
|
||||
|
||||
- Run stack:
|
||||
|
|
Loading…
Reference in a new issue