mirror of
https://github.com/tensorflow/haskell.git
synced 2024-11-26 21:09:44 +01:00
I'm not sure why, but in some cases it seems linking only works if *both* the .so and the .dylib are present in /usr/local/lib. This may be due to a quirk of how Bazel builds the library, and/or how ghc/stack load the library.
This commit is contained in:
parent
5b4017e31b
commit
eb7e78d60d
1 changed files with 1 additions and 0 deletions
|
@ -40,6 +40,7 @@ The following instructions were verified with Mac OS X El Capitan.
|
|||
./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}
|
||||
cd ../..
|
||||
|
||||
- Run stack:
|
||||
|
|
Loading…
Reference in a new issue