Enable Travis CI test for pip installation on OSX #784
Labels
help wanted
moderate bug
Issues that should be fixed but only affect less common environments or functionality
#596 enabled Travis CI test for pip installation on Linux, but on OSX it doesn't work because
libdynet.dylib
is not found. This can be resolved by adding its location toDYLD_LIBRARY_PATH
. It's not$TRAVIS_BUILD_DIR/build/dynet
because the pip installation creates a build directory insidebuild
called something likepy3.4-64bit
, but instead of trying to figure that out, it should be possible to use the virtualenv, something like$(dirname $(which python))/../lib
because it installs it into that location.I've been trying forever to make the Python bindings work on OSX without requiring
DYLD_LIBRARY_PATH
, but I can't figure out how to add the lib properly toRUNTIME_LIBRARY_DIRS
. Perhaps someone with more Mac experience can help.The text was updated successfully, but these errors were encountered: