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
Getting "missing dependency declarations" with bazel 0.3.0 #3431
Comments
Work-around from #1157 seems to work add |
Good to know it can be made to work, @yaroslavvb thanks for persisting the workaround. |
Weird that you guys aren't hitting this issue on the nightly wheels, unless the nightlies are done with newer Bazel than 0.3.0 |
Same "missing dependency declarations" problem still exists in head version, thanks @yaroslavvb for the workaround. |
Just updated to current version cc3153a (v0.10.0rc0-785-gcc3153a) and got the usual missing dependency error. HOWEVER, the new build doesn't create a CROSSTOOL file - so the usual fix doesn't work... I tried copying in the CROSSTOOL from an older revision (with the cxx_builtin_include_directory: "/usr/local/cuda-8.0/include" change) - but I'm still getting the missing dependency error. Installed version of CUDA and cuDNN: 8.0.26 and v5 UPDATE: |
guys i am trying to add but i get the following, where in the CROSSTOOL should i copy paste that line ? ERROR: java.io.IOException: Could not read the crosstool configuration file 'CROSSTOOL file /home/---/Downloads/tensorflow/third_party/gpus/crosstool/CROSSTOOL', because of a parser error (1:1: Input contains unknown fields and/or extensions: |
@Sadrpour Exactly the same error here ... I'm testing on the most current bazel-git, namely, bazel 0.3.2 The error message is:
cheers |
@Sadrpour @jiapei100 I guess the parsing error was caused because you put the line in a wrong location. putting it like the below will cause an parsing error. putting it inside toolchain namespace like: caused no problem, but still it is causing missing dependency problem. |
@dzhyeon Which file and which line should this line Cheers |
Getting following error after updating bazel test -c opt --config=cuda --define using_cuda_nvcc=true --define using_gcudacc=true syntaxnet/... util/utf8/...
................
WARNING: /home/irfan/.cache/bazel/_bazel_irfan/a05fc8a5ac651b688321e83d1f272360/external/org_tensorflow/tensorflow/workspace.bzl:72:5: tf_repo_name was specified to tf_workspace but is no longer used and will be removed in the future.
ERROR: java.io.IOException: Could not read the crosstool configuration file 'CROSSTOOL file /home/irfan/.cache/bazel/_bazel_irfan/a05fc8a5ac651b688321e83d1f272360/external/local_config_cuda/crosstool/CROSSTOOL', because of a parser error (259:1: Input contains unknown fields and/or extensions:
259:1: com.google.devtools.build.lib.view.config.crosstool.CrosstoolRelease.cxx_builtin_include_directory).
INFO: Elapsed time: 6.346s
ERROR: Couldn't start the build. Unable to run tests. |
How to set CUDA version explicitly? |
I just upgraded Bazel/synced and now I'm getting same errors as in #1157
The text was updated successfully, but these errors were encountered: