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
Error with building clang unknown argument #11043
Comments
I've got the same error with current version of clang ( |
It looks like clang doesn't support those nvcc flags, at least I haven't found information on it anywhere, including docs |
Yeah, i tried it with |
@skye Why it's closed? |
I just asked for versions of building tools and no answer for it. Pretty sad you cant help me with it, because i have no clue how deal with it. |
Ah sorry, didn't realize you were still asking for help. Can you fill out the new issue template please? In particular what OS are you using? @gunan it looks like clang/gcc versions aren't documented, do you know if/when we expect building with clang to work? |
Are you configuring to use when building for GPU? Also, could you fill in the issue template? |
@gunan I've used Ubuntu 16.04, clang-5.0 (i.e. development branch), and master branch of tensorflow. CUDA 8.0 and cudnn 6. |
@Randl, which version of TensorFlow are you trying to build? |
@ilya-biryukov Could you look into this issue? Maybe we should add a note in the configure script for the minimum required clang version. |
Hello, thank you all for respond. I use |
@gunan is it possible to create docker container for building tensorflow somehow? |
I'm using |
@4l4l4l our default builds use gcc and nvcc to build. clang is still work in progress, so Ill have to wait for a response from @ilya-biryukov to see what the problem you are running into is. |
Please use |
The build currently also fails because of an error in
to:
This should be done after running |
@ilya-biryukov Thanks, with those two fixes I managed to build Tensorflow |
Thanks for the update @Randl! I'm gonna close this, but @4l4l4l please reopen if Ilya's advice doesn't work for you. Thanks. |
@ilya-biryukov my build in progress but i get next error
Where should i insert I found solution. Guys, you should work better with configuration files. I directly install my cuda sources in thank you @ilya-biryukov for help and other guys too, all works well |
Thank you for sharing your solution @4l4l4l! |
@4l4l4l, the configure script is not very good at figuring out cuda install paths other than Anyway, glad you figured it out. |
* cudnn upgrade to 6.0 * syntax error * kernel-devel * minor * cudnn fixes * disable clang - tensorflow/tensorflow#11043 * clang/gcc problems * update building instrs * remove expect configure scripts * enabling sse-4.x for bazel build * enabling sse-4.x for bazel build * clang/gcc problems * break up compile and pip install for gpu * retry bazel build * more python libs * gpu compilation still not fixed * fix default username attr * install cuda for centos with yum * rpm installer fixes * yum fixes for cuda * remove rpms after correct install * only download runfile for cuda for ubuntu * hotfix * cuda rpm * simplify for centos * rename inifinband attr to rdma
I configured project for building and execute next command in project directory:
bazel build -c opt --config=cuda //tensorflow/cc:tutorials_example_trainer
After that i get this error:
I'm trying to build it with gpu support by using next libs:
Bazel: 0.5.1
gcc: 7.1.1
Cuda: 8 (version of cuda/bin/gcc is 5.4.0)
CUDNN: 6
protobuf: 3.3.1
What shall i change for normal building?
The text was updated successfully, but these errors were encountered: