You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 20, 2025. It is now read-only.
From the main project directory, I ran ./gradlew clean tensorflowCompile to build the so and jar TensorFlow files.
But gcc reported the errors below and stopped:
gcc: error: unrecognized command line option '-Wthread-safety'
gcc: error: unrecognized command line option '-Wself-assign'
Problem was fixed after I changed the bazel version to 0.5.4
So I supposed that, the Prerequisites of Tensorflow Bindings should be changed from
"Install Bazel 0.4.5 or later" to "Install Bazel 0.5.*"
PS:
Extra errors will be raised after I changed the bazel version to 0.6.0 and later, because set() was deprecated in 0.6.0 and later version