Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix running under nightly: copy prebuilt libtensorflow.so to OUT_DIR #72

Merged

Commits on Mar 17, 2017

  1. Fix running under nightly: copy prebuilt libtensorflow.so to OUT_DIR

    A change in cargo nightly (merged on February 7th 2017) changed how
    dynamic libraries are loaded. This prevented the `tensorflow-sys` crate's
    tests to run.
    
    To fix, simply copy the `libtensorflow.so` pre-built library to `OUT_DIR`
    and change `cargo:rustc-link-search=` path so cargo can find it when
    running the tests.
    
    See:
    * issue: tensorflow#71
    * cargo's pull request: rust-lang/cargo#3651
    nbigaouette-eai committed Mar 17, 2017
    Configuration menu
    Copy the full SHA
    b6bf663 View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2017

  1. Configuration menu
    Copy the full SHA
    05d4d2b View commit details
    Browse the repository at this point in the history