1
0
Fork 0
mirror of https://github.com/tensorflow/haskell.git synced 2024-11-23 03:19:44 +01:00

Update OS X instructions (#42) to not require a separate ".so" file. (#44)

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:
Judah Jacobson 2016-11-22 16:15:34 -08:00 committed by Greg Steuck
parent eb7e78d60d
commit 5fa1d2ba8f

View file

@ -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: