{"action":"created","issue":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/11043","repository_url":"https://api.github.com/repos/tensorflow/tensorflow","labels_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/11043/labels{/name}","comments_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/11043/comments","events_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/11043/events","html_url":"https://github.com/tensorflow/tensorflow/issues/11043","id":238389793,"number":11043,"title":"Error with building clang unknown argument","user":{"login":"4l4l4l","id":6972457,"avatar_url":"https://avatars1.githubusercontent.com/u/6972457?v=3","gravatar_id":"","url":"https://api.github.com/users/4l4l4l","html_url":"https://github.com/4l4l4l","followers_url":"https://api.github.com/users/4l4l4l/followers","following_url":"https://api.github.com/users/4l4l4l/following{/other_user}","gists_url":"https://api.github.com/users/4l4l4l/gists{/gist_id}","starred_url":"https://api.github.com/users/4l4l4l/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/4l4l4l/subscriptions","organizations_url":"https://api.github.com/users/4l4l4l/orgs","repos_url":"https://api.github.com/users/4l4l4l/repos","events_url":"https://api.github.com/users/4l4l4l/events{/privacy}","received_events_url":"https://api.github.com/users/4l4l4l/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-06-25T16:10:49Z","updated_at":"2017-06-27T16:22:56Z","closed_at":"2017-06-27T16:17:43Z","body":"I configured project for building and execute next command in project directory:\r\n\r\n`bazel build -c opt --config=cuda //tensorflow/cc:tutorials_example_trainer\r\n`\r\n\r\nAfter that i get this error:\r\n> ERROR: /home/eugeny/Git/tensorflow/tensorflow/core/kernels/BUILD:3614:1: C++ compilation of rule '//tensorflow/core/kernels:multinomial_op_gpu' failed: clang failed: error executing command /usr/bin/clang -MD -MF bazel-out/local_linux-py3-opt/bin/tensorflow/core/kernels/_objs/multinomial_op_gpu/tensorflow/core/kernels/multinomial_op_gpu.cu.d ... (remaining 142 argument(s) skipped): com.google.devtools.build.lib.shell.BadExitStatusException: Process exited with status 1.\r\n> clang: error: unknown argument: '-nvcc_options=relaxed-constexpr'\r\n> clang: error: unknown argument: '-nvcc_options=ftz=true'\r\n> clang: error: cannot find libdevice for sm_35. Provide path to different CUDA installation via --cuda-path, or pass -nocudalib to build without linking with libdevice.\r\n> clang: error: cannot find CUDA installation.  Provide its path via --cuda-path, or pass -nocudainc to build without CUDA includes.\r\n> clang: error: cannot find libdevice for sm_52. Provide path to different CUDA installation via --cuda-path, or pass -nocudalib to build without linking with libdevice.\r\n> clang: error: cannot find CUDA installation.  Provide its path via --cuda-path, or pass -nocudainc to build without CUDA includes.\r\n> clang: error: cannot find CUDA installation.  Provide its path via --cuda-path, or pass -nocudainc to build without CUDA includes.\r\n> Target //tensorflow/cc:tutorials_example_trainer failed to build\r\n> \r\n\r\nI'm trying to build it with gpu support by using next libs:\r\n\r\n\r\nBazel: 0.5.1\r\ngcc: 7.1.1\r\nCuda: 8 (version of cuda/bin/gcc is 5.4.0)\r\nCUDNN: 6\r\nprotobuf: 3.3.1\r\n\r\nWhat shall i change for normal building?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/comments/311410547","html_url":"https://github.com/tensorflow/tensorflow/issues/11043#issuecomment-311410547","issue_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/11043","id":311410547,"user":{"login":"Randl","id":3028543,"avatar_url":"https://avatars3.githubusercontent.com/u/3028543?v=3","gravatar_id":"","url":"https://api.github.com/users/Randl","html_url":"https://github.com/Randl","followers_url":"https://api.github.com/users/Randl/followers","following_url":"https://api.github.com/users/Randl/following{/other_user}","gists_url":"https://api.github.com/users/Randl/gists{/gist_id}","starred_url":"https://api.github.com/users/Randl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Randl/subscriptions","organizations_url":"https://api.github.com/users/Randl/orgs","repos_url":"https://api.github.com/users/Randl/repos","events_url":"https://api.github.com/users/Randl/events{/privacy}","received_events_url":"https://api.github.com/users/Randl/received_events","type":"User","site_admin":false},"created_at":"2017-06-27T16:22:56Z","updated_at":"2017-06-27T16:22:56Z","body":"@skye Why it's closed? "}}
{"actor":{"display_login":"Randl"}}