简体   繁体   中英

Bazel in TensorFlow and C++

I'm trying to build a project with Tensorflow in C++, have installed already TensorFlow from source with Bazel and now I'm following the Tensorflow C++ API. But to run the first mini-program of the documentation (C++ API Guide: https://www.tensorflow.org/api_guides/cc/guide ) takes about an hour. Is that normal?

What platform are you building on? What version of bazel? Sandboxing got much faster recently, but you can try disabling it.

Also note that incremental builds with bazel are faster (and correct :).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM